RAR 4/5, 7z, TAR, tar.gz/bz2/xz and ISO · password-protected ZIP supported · files stay in your browser

RAR and 7z Extractor

Open a RAR, 7-Zip, TAR or ISO archive, browse its folders with sizes, and take one file, a selection as a ZIP, or everything into a folder. A password-protected ZIP asks for its password; encrypted RAR and 7z archives cannot be opened here.

Choose an archive

Drop an archive here

Up to 1024 MB; up to 50,000 entries and 1024 MB extracted at once.

ZIP files also open here, but ZIP Extractor is built for them and streams large ones.

RAR and 7z Extractor

Operator: Abdulla Al Fahad. How tools are built and checked

RAR and 7z are archive formats that macOS, and Windows before 11 23H2, cannot open on their own, and they turn up in downloads, email from other companies and old backups. This page lists an archive's folders and files with sizes and lets you save one file, a ticked selection as a ZIP, or everything into a folder you choose, with nothing to install on a work laptop or a shared computer.

One limit matters before you start: an encrypted RAR or 7z cannot be opened here. The libarchive code the page runs does not decrypt either format, so a password-protected RAR or 7z is refused with a clear message. Password-protected ZIP files do ask for their password.

Key features

  • RAR 4 and RAR 5, 7z, TAR, gzip, bzip2 and xz (so .tar.gz, .tar.bz2 and .tar.xz) and ISO 9660 images, recognised from their first bytes rather than the file name
  • Collapsible folder tree with file counts and sizes per folder, tick boxes at file and folder level, and Expand all and Collapse all
  • Password prompt for password-protected ZIP files, with a wrong password caught before the tree is shown; encrypted RAR and 7z are refused with an explanation, because they cannot be decrypted here
  • Three ways out: Save beside a single file, Selection as ZIP or Everything as ZIP, and Everything or Selection to folder in browsers that can write to a chosen directory

Which archive formats open here and which do not

Reading is done by libarchive compiled to WebAssembly and run in a worker; both files are served from this site's own /libarchive folder, so nothing is fetched from a third party at run time. The format check on the page looks at the signature: 'Rar!' followed by 1A 07 and then 01 00 for RAR 5 or 00 for RAR 4, '7z' bytes for 7-Zip, 1F 8B for gzip, 'BZh' for bzip2, FD 37 7A 58 5A for xz, and the 'ustar' marker at byte 257 for TAR. ISO images are recognised by the CD001 marker at offset 32,769.

The folder listing shows names and sizes. Modification times are not shown, because the libarchive build used here does not pass them through.

How it works

The file is passed to a web worker that runs libarchive as WebAssembly. The worker lists every entry first, which for most formats needs only the archive's directory and not the file data. Extracting one file asks the worker for just that entry; extracting a selection asks for the entries one at a time whenever the archive is large or the listing was cut off, so memory never holds more than the cap.

In a solid archive (common with 7z and RAR) files are compressed together as one stream, so reaching a single late file still means unpacking everything before it. The page counts the bytes the worker really produces and stops when they pass 1,024 MB, whatever the archive claimed about its own sizes.

Common use cases

  • A designer is sent client-assets.rar of 1,800 files on a locked-down laptop and needs only the 14 files in the logo folder: tick that folder and press Selection as ZIP.
  • A Chromebook user gets a driver pack as a .7z from a hardware supplier. She opens it, finds the single .inf file she needs in a nested folder, and saves just that file, without unpacking the 300 MB around it.
  • A volunteer inherits a club's old backups, a mix of .tar.gz and .iso images from the early 2010s. She opens each, checks the folder tree against the paper inventory, and extracts only the membership spreadsheets.

How to use this tool

  1. Drop the archive onto the page; the stats row shows the format, file count and unpacked size.
  2. If the archive is a password-protected ZIP, type the password and press Open. An encrypted RAR or 7z stops here with a message.
  3. Expand folders, tick what you want, and press Selection as ZIP, or press Save next to a single file.

Example

An illustrative archive, handover.7z, holding docs/readme.txt, docs/sub/data.csv and img/photo.jpg

Drop handover.7z, press Expand all, then Everything as ZIP

What the page shows and saves

The stats row reads Format 7-Zip and 3 files. The tree shows docs/ with 2 files and img/ with 1 file, each with its size. The download is handover-all.zip, with the same three paths inside.

Tips for best results

  • If a RAR or 7z is refused as encrypted, ask the sender for an unencrypted copy or a password-protected ZIP; the page can open the latter.
  • Check the file count and unpacked size in the stats row against what the sender told you before extracting. A 4 KB archive that expands to many gigabytes is a sign to stop.
  • Pick 'Everything to folder' on a Chromium browser to keep the folder layout on disk; other browsers get a ZIP with the same paths.

Common pitfalls

The archive is loaded into memory, up to 1,024 MB, and extraction is limited to 1,024 MB at once and 50,000 entries, counting the bytes actually produced rather than the sizes the archive declares. A solid 7z or RAR can need the whole archive unpacked to reach one file.

Multi-volume sets such as name.part1.rar or name.r00 cannot be joined here. The page warns when the name looks like one volume, and opening one part lists only what that part holds or fails.

Symbolic links are ignored, and entry names are rewritten so they cannot climb out of the target folder: '..' parts, drive letters, control characters and reserved Windows names are removed or prefixed.

Common errors and how to fix them

"This RAR archive is encrypted, and encrypted RAR and 7z archives can't be opened here."
The page cannot decrypt RAR or 7z. Open it with 7-Zip or WinRAR, save an unencrypted copy, and drop that. A password-protected ZIP is different: it asks for the password and opens.
"name.mbox is not a recognised archive."
The first bytes of the file are not those of a RAR, 7z, ZIP, TAR, gzip, bzip2, xz or ISO. The file may have been renamed from another format, or it may be a different kind of archive such as an Outlook or mail file.
"That password did not open the archive."
This appears for a password-protected ZIP. The page tried to read the smallest file in the archive with the password and failed. Retype it, noting that passwords are case-sensitive, and try the password in the sender's own tool if it still fails.
"The archive could not be read. It may be damaged, truncated or in a format libarchive does not handle."
Check that the download finished and the size matches the source. A RAR that is one part of a set also ends here.
"The selection is 1,300 MB; the limit is 1,024 MB. Select fewer files."
Tick a smaller group and extract in two or three passes, or use the folder option and take one folder at a time.

Best practices

  • Look at the entry that says '(path rewritten)': it shows where an archive tried to place a file outside its own folder, which is worth knowing before you trust the rest of it.

Archives that look harmless and are not

A small archive can expand to a very large amount of data, and a hostile one can name its files so that they try to land outside the folder you chose. The page guards against both: the unpacked total is shown before you extract anything, extraction stops at 1,024 MB of real output, and every stored path is cleaned so it cannot climb out of the target folder.

Entries whose path was changed are marked '(path rewritten)' in the tree. That marker is information, not an error: it tells you the archive contained a name such as ../../startup.exe, which is worth knowing before you decide to trust the rest of its contents.

Which of the three exits to use

Save beside a single file gives you that file as it is. Selection as ZIP is the portable choice: you get one download that any computer opens, with the folder layout kept. Everything or Selection to folder writes the real files into a directory you pick, and is available in browsers that can write to a chosen folder, which today means Chromium-based ones.

Frequently asked questions

Why are there no dates in the tree?

Sizes and names are passed through by the libarchive build here but not modification times, and the Contents panel states this instead of showing blank cells.

Does it open plain ZIP files?

Yes, ZIPs open here too, and this is the one format where a password works. For ordinary ZIPs the ZIP Extractor on this site is the better choice because it streams large ones.

Can it create RAR or 7z files?

No. RAR can only be written by WinRAR's own software. To make a password-protected archive use Create Encrypted ZIP, which writes AES-256 ZIPs.

What does 'path rewritten' mean on a file?

The archive stored a name such as ../../evil.txt. The page keeps only the safe part, evil.txt, and marks the entry so you can see the stored name by hovering.