Skip to main content

rars

A Rust implementation of RAR.

rars is free software for compression, decompression and recovery of RAR archives. It supports all the archive types I could find - from the early RE~^ ones from the DOS days all the way through to RAR 7. It comes with a Rust library, a CLI, Python and TypeScript bindings.

It started as an agentic development experiment, and has since matured as it gained some users. It's still a bit slower than WinRAR, uses more memory and has slightly worse compression. It could use more testing at volume, too. Other than that it's in pretty good shape.

Install

cargo install rars-cli       # the CLI
cargo add rars               # the Rust library
pip install rars             # Python
npm install @bitplane/rars   # JavaScript, as WebAssembly for Node or the browser

Then rars --help. For example:

rars x archive.rar out/
rars a --format rar29 --solid archive.rar files...
rars a --format rar70 --volume-size 10m archive.part1.rar files...

For programs that run the unrar command, rars-cli also installs unrars, which takes unrar's commands, switches and exit codes. For programs that link against libunrar, bgermann's unrars crate wraps rars in the same C ABI.

Licensed under the Apache License, Version 2.0.

Metadata

Release files for rars 0.13.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rars 0.13.0
File Size Uploaded Provenance Actions
rars-0.13.0.tar.gz 4.7 MB With provenance Details for rars-0.13.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for rars 0.13.0
File Actions
rars-0.13.0-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details for rars-0.13.0-cp310-abi3-win_amd64.whl
rars-0.13.0-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl CPython 3.10 abi3 Linux glibc 2.17+ x86-64 Details for rars-0.13.0-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
rars-0.13.0-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl CPython 3.10 abi3 Linux glibc 2.17+ ARM64 Details for rars-0.13.0-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
rars-0.13.0-cp310-abi3-macosx_10_12_universal2.macosx_10_12_x86_64.macosx_11_0_arm64.whl CPython 3.10 abi3 macOS 11.0+ ARM64, macOS 10.12+ universal2 (ARM64, x86-64), macOS 10.12+ x86-64 Details for rars-0.13.0-cp310-abi3-macosx_10_12_universal2.macosx_10_12_x86_64.macosx_11_0_arm64.whl

Total release size: 35.9 MB

Release files / rars-0.13.0.tar.gz

Download URL rars-0.13.0.tar.gz
Size 4.7 MB
Tags Source
SHA-256 checksum
How to use checksums
8c78ae5e977190f7f54dda21bac35d9ad66d41ef03b04815e0df90a78883fcf0
BLAKE2b-256 checksum
How to use checksums
5b790d3f23a58de70d7ab2c84ad4608188dc8f9466c0176b5777b93eb78a1d0f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

Release files / rars-0.13.0-cp310-abi3-win_amd64.whl

Download URL rars-0.13.0-cp310-abi3-win_amd64.whl
Size 3.0 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
410d849038d385cbff5110713a60164df01138fa0ecb4c72d222eb00fb4037bc
BLAKE2b-256 checksum
How to use checksums
63d771b39617e6775fb36d655d1cc273222ff746a427a684e9ad970c0f8a0440
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

Release files / rars-0.13.0-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL rars-0.13.0-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 11.2 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
6a7c3ceaf222e060d947c760c426b00afa4cdd98594f833a2ad58b817326cf8f
BLAKE2b-256 checksum
How to use checksums
d71db70c597af4e20f49e63f581ab3be3bfb62f27a9ba1385bd151dc6e4d7db2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

Release files / rars-0.13.0-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL rars-0.13.0-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 10.3 MB
Tags CPython 3.10 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
8ba3d911e4003d47c4f761b533fb38aaac0a38e37856b44f1a56aaf0c4fa583a
BLAKE2b-256 checksum
How to use checksums
e000b8ef985b302d943c814add38613c9f01a188adbe3ced3d1dd271542617ec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

Release files / rars-0.13.0-cp310-abi3-macosx_10_12_universal2.macosx_10_12_x86_64.macosx_11_0_arm64.whl

Download URL rars-0.13.0-cp310-abi3-macosx_10_12_universal2.macosx_10_12_x86_64.macosx_11_0_arm64.whl
Size 6.6 MB
Tags CPython 3.10 abi3 macOS 10.12+ universal2 (ARM64, x86-64) macOS 10.12+ x86-64 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
094983c97235197cfad6582f75cf59882ee801b589bfb9ebe58514846a91c304
BLAKE2b-256 checksum
How to use checksums
ef88e5fab7db7db60e68d586c361d76a5a5027aecfa0df9ad7ef620b8b73ef02
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

Security for rars 0.13.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 5 files in this release have been uploaded with provenance metadata.

Select from 5 files

Attestation for rars-0.13.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.13.0 This release

5 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page