UnpackForge

What is a RAR file?

A RAR file is a compressed archive in the format created by Eugene Roshal and maintained by his company RARLAB, best known through WinRAR. Like a ZIP, one .rar holds many files and folders, compressed, optionally encrypted. Unlike a ZIP, only RARLAB's own software can create one.

That asymmetry causes friction. The compression algorithm is proprietary; RARLAB publishes UnRAR source code free to use for reading RAR, on the condition that it is never used to re-create a RAR compressor. So every operating system and hundreds of tools can open a .rar, but only WinRAR and RARLAB's rar command can make one.

Do it in your browser, nothing uploaded

Two formats under one extension

There are two generations, with different signatures, header layouts and encryption. RAR 4 is the format WinRAR 2.9 to 4.x wrote. RAR 5 arrived with WinRAR 5.0 in 2013 and became WinRAR's default with version 5.50. Both end in .rar, so the first bytes of the file are the only reliable way to tell them apart:

RAR signatures
FormatFirst bytes (hex)As text
RAR 452 61 72 21 1A 07 00Rar! then 0x1A 0x07 0x00
RAR 552 61 72 21 1A 07 01 00Rar! then 0x1A 0x07 0x01 0x00

Unpack Forge identifies RAR from exactly those bytes at the start of the file, never from the extension: a ZIP renamed to .rar is opened as a ZIP and flagged as mis-named. A self-extracting RAR (.exe) puts a program in front of the signature and is not opened here — run it, or open it with 7-Zip.

What is inside a RAR

A RAR is a chain of headers read from the front: the signature, a main archive header with archive-wide flags (solid, multi-volume, locked, recovery record present), then one file header per entry followed by that entry's compressed data, and an end-of-archive marker. RAR 5 encodes its header fields as variable-length integers and protects each header with a CRC-32. There is no central directory at the end as in ZIP, so listing a RAR means walking every header from the start.

  • Solid archives. Files are compressed as one continuous stream sharing a dictionary. Many similar files — source code, logs, a folder of documents — compress far better, but extracting the last file means decompressing everything before it, and damage early in the stream can take every later file with it.
  • Recovery records. Optional parity data that lets WinRAR repair a damaged archive. ZIP and 7z have no equivalent.
  • Multi-volume sets. An archive split into name.part1.rar, name.part2.rar and so on (older sets use .rar, .r00, .r01). Every part is needed.
  • Encryption. RAR 4 uses AES-128; RAR 5 uses AES-256 with PBKDF2-HMAC-SHA256 key derivation. With header encryption switched on, even the file names are hidden until the password is entered.
  • Checksums. CRC-32 per file; RAR 5 can use BLAKE2sp instead.

How to open a RAR file

  • Windows 11. Windows 11 version 23H2 added archive reading to File Explorer (Microsoft's release notes), built on the open-source libarchive library — the same library this site runs as WebAssembly for RAR and 7z. Windows 10 and earlier need a separate program. Double-click the .rar, or right-click and choose Extract All.
  • Older Windows. WinRAR, or 7-Zip, which reads RAR 4 and RAR 5 but cannot create either.
  • macOS. In our test on macOS 26.6.1 (December 2026), RAR was not among the file types Archive Utility lists as supported; we did not try to open a RAR with it. A third-party unarchiver, or a command-line tool from Homebrew, opens one.
  • Linux. unrar (RARLAB's freeware extractor), 7z, or bsdtar, which reads RAR 5 from libarchive 3.4 onwards.
  • Any browser. The RAR opener on this site lists and extracts RAR 4 and RAR 5, solid archives included, with libarchive running in the tab. Nothing is uploaded.
unrar l archive.rar          # list the contents
unrar x archive.rar          # extract, keeping folders
unrar x archive.rar out/     # extract into out/
7z x archive.rar             # 7-Zip reads RAR 4 and 5
bsdtar -xf archive.rar       # libarchive's tar front end

Is a RAR file safe to open?

An archive cannot run anything by itself. The risk is in two places: what is packed inside, and the program that unpacks it.

  • Contents. Executables, scripts and shortcuts (.exe, .scr, .js, .lnk, .bat) are what to look for, sometimes behind a double extension such as invoice.pdf.exe. Look at the full name of every file before opening any of them.
  • Paths. An entry can be stored as ../../Startup/run.bat or with an absolute path, aiming to land outside the folder you chose. A correct extractor refuses; not every one has. WinRAR before 6.23 had a flaw (CVE-2023-38831) that let a crafted archive run a script when the user opened what looked like a harmless file inside it.
  • Here. Every stored path is checked before anything is written: absolute paths, .. segments, Unicode look-alikes of them and Windows-reserved names are blocked and named in the listing. Nothing inside the archive is ever executed; files are only offered to you as downloads.

RAR on this site

What Unpack Forge does with RAR
OperationSupportedDetail
List and extract RAR 4 / RAR 5Yeslibarchive 3.7.2 compiled to WebAssembly, solid archives included
Convert RAR to ZIPYesEvery entry decoded and re-compressed with DEFLATE into a new ZIP, then re-read
Encrypted RARNolibarchive has no RAR decryption in any build, so no password field is offered
Multi-volume setsNoRefused with an explanation; rejoin with WinRAR or 7-Zip first
Create RARNoOnly RARLAB's software can
TimestampsNoThis decoder does not expose them; outputs are dated when the job runs

Questions

Can I create a RAR file without WinRAR?

No. RAR compression is proprietary and only RARLAB's WinRAR and its rar command-line tool can write it. 7-Zip, libarchive, Windows 11 and this site all read RAR but cannot create it. In our test on macOS 26.6.1 (December 2026), RAR was not among the file types Archive Utility lists as supported. If you need to send an archive, ZIP opens everywhere without extra software.

Is WinRAR free?

WinRAR is commercial shareware with a 40-day trial. RARLAB's UnRAR, which only extracts, is freeware, and 7-Zip extracts RAR at no cost too.

What are .r00, .r01 or .part2.rar files?

Parts of one multi-volume RAR. Put every part in the same folder and open the first (.rar or .part1.rar) in WinRAR or 7-Zip, which reads the rest in order. Split sets are refused here because joining them would need every volume in the tab's memory at once.

Why does a password not work for a RAR here?

The engine, libarchive, cannot decrypt RAR at all, in any build, so this site leaves out every encrypted RAR entry rather than hand back scrambled bytes. Rather than accept a password and fail, it says so up front. Decrypt with WinRAR or 7-Zip; encrypted ZIP files do work here.

Is RAR better than ZIP?

RAR can compress smaller, especially in solid mode, and has recovery records. ZIP opens on every system without installing anything, and anyone can create one. The full comparison is in RAR vs ZIP.