Open and create 7z, RAR, TAR and GZ archives

Extract 7z, RAR, TAR, TAR.GZ, GZ, BZ2, XZ and ZIP files, or create ZIP (with AES password), 7z, TAR.GZ and TAR.XZ.

loading Open and create 7z, RAR, TAR and GZ archives
About this tool

How do I open a 7z, RAR or TAR.GZ file online?

Drop the archive on this page. It lists every file inside with its size and date, lets you preview text and images, and downloads one file, a selection or everything as a ZIP. It reads 7-Zip (.7z), RAR (versions 4 and 5), ZIP, TAR, TAR.GZ (.tgz), TAR.XZ, TAR.BZ2, a lone .gz, .xz or .bz2 file, and also CAB, ISO, CPIO and AR packages. In the other direction it creates ZIP (optionally with an AES-256 password), 7z, TAR, TAR.GZ, TAR.XZ, TAR.BZ2, and a single compressed .gz, .xz or .bz2 file.

People come here when a colleague sends a .rar and the computer has no unarchiver, when a download is a .tar.gz on a Windows laptop, when a phone cannot open a .7z, or when a server needs a .tar.xz of a folder and there is no terminal at hand.

Everything happens in your browser with libarchive, the open source archive library used by many operating systems, compiled to WebAssembly and served from this site. The engine is about 1 MB; it downloads once, is checked against a published SHA-256 and stays cached. Your files are never uploaded: the archive is read in a background worker of this tab, so the page stays responsive even with large files, and the Cancel button stops the work at once.

Safety comes first. An entry whose name contains .. or starts with a slash (the "zip slip" trick) is marked and saved under a safe path. Extraction stops at 1 GB of output or 20,000 entries, and any file that grows past its declared size is stopped, which defuses zip bombs. Links and device files are listed but never extracted.

How to extract or create an archive

  1. Choose Open an archive or Create an archive at the top. An example 7z archive is loaded so you can try the viewer first.
  2. To open: drop the archive on the drop area or choose it. The summary shows the format, the number of files and the unpacked size.
  3. If the archive has a password, a field appears. Type it and choose Unlock. ZIP archives with ZipCrypto or AES passwords open here.
  4. Use Filter the list to find a file, Preview for text and pictures, or Download on a row. Tick several rows and choose Download selected as ZIP, or Download all as ZIP for everything.
  5. To create: drop files or whole folders, pick the Format and the Compression level (0 stores, 9 is the smallest), type the name and, for ZIP, an optional password. Choose Create and then Download.

Examples

A RAR from a client on a work laptop

A supplier sends drawings.rar with 40 PDFs and your company laptop cannot install software. Drop the file, check the list, and choose Download all as ZIP: Windows opens the ZIP natively. Nothing leaves the laptop.

A source tarball on Windows

A project ships release-2.4.0.tar.gz. Open it here, type README in the filter, preview the file and download only the folder you need with Download selected as ZIP.

Sending a folder as a small 7z

A folder of CSV exports adds up to 120 MB. In Create an archive choose .7z at level 9: LZMA2 usually makes text much smaller than ZIP. Compare the result size shown under the button before you download.

A password-protected ZIP for email

Choose .zip, type a password and create the file. The ZIP is encrypted with AES-256. Tell the recipient that Windows Explorer cannot open AES ZIPs, but 7-Zip, the macOS Archive Utility and this page can.

Errors and limits

  • "This file is not an archive this page can read." It is not one of the supported formats, or it was renamed. A .docx or .epub is a ZIP inside and opens here; a .exe installer does not.
  • "This archive is protected by a password." Type the password in the field that appears. A wrong one is reported right away.
  • "This archive is encrypted in a way the engine cannot open." Password-protected 7z and RAR archives are not supported by libarchive. Use a desktop app such as 7-Zip.
  • "A file grew past its declared size or past the limit." The archive is damaged or built to exhaust memory (a zip bomb). Extraction stops at the safety limit.
  • "The browser ran out of memory." Very large archives (the page reads up to 768 MB at once) can exceed what a phone or an old laptop holds. Extract fewer files at a time.
  • "This format holds exactly one file." A plain .gz, .xz or .bz2 compresses a single file. For several files or folders, choose .tar.gz, .tar.xz or .7z.
  • Creating a 7z or TAR with a password is not possible here: only ZIP can be encrypted by the engine.

Frequently asked questions

Is this archive tool free and are my files uploaded?

It is free, needs no account, and your files never leave your browser. The engine itself is downloaded from this site once and then runs locally.

Can it extract RAR5 files?

Yes. RAR 4 and RAR 5 archives open, including solid ones. Creating RAR files is not possible: RAR is a closed format, so the page creates ZIP or 7z instead.

Which format makes the smallest file?

For text, code and spreadsheets, 7z and .tar.xz are usually the smallest, then .tar.bz2, .tar.gz and ZIP. Photos, videos and music are already compressed and barely shrink in any format.

Does it keep folders?

Yes. Folders inside an archive are kept in the ZIP you download, and folders you add when creating an archive keep their structure.

How is this different from the ZIP tool?

The ZIP tool only handles ZIP, without downloading an engine. This page reads and writes many more formats. To compress a piece of text with gzip instead of a file, use Gzip text.

Report a problem