Zip / Unzip Tool

Combine files into a ZIP archive, or open a ZIP and download the files inside it.
Runs in your browser with JSZip; your files are not uploaded.

Drag & drop files here to compress

or click to browse

Drag & drop a ZIP file to extract

or click to browse

What happens to your files

Both tabs run on JSZip 3.10.1, a JavaScript ZIP library loaded from the cdnjs content delivery network, with FileSaver.js 2.0.5 to hand the result to your browser's download prompt. Once the page and those two scripts have loaded, nothing further goes over the network: the files you drop in are read with the browser's File API, processed in memory, and the archive or extracted file is saved by your browser. Our server never receives them, which also means we cannot recover a file you forgot to download. The analytics script in the site header records the page visit, not your files.

The trade-off is memory. JSZip holds the whole archive in the browser's memory, so an archive of several gigabytes can make the tab slow or crash it; for anything that size a desktop archiver is the better choice. The library also cannot open password-protected or multi-volume (split) archives, and it reads ZIP64 archives only when they are small enough to fit, as its documented limitations explain.

Creating a ZIP archive

  • Add files: drop them on the Create Zip tab or click to browse. Each one is listed with its size, and the cross removes it. A file with the same name and size as one already listed is skipped. Dropping a folder does not add the files inside it; open the folder and select them instead.
  • Flat layout: every file is stored at the top level of the archive under its own name.
  • Compression: files are compressed with DEFLATE at level 6 of 9, the method defined in RFC 1951. In our test a 90 KB text file made of one repeated sentence came out at 442 bytes; a photo would barely change.
  • Result: the archive is saved as archive.zip through your browser's normal download prompt.

Extracting a ZIP archive

  • Open: drop a .zip on the Extract Zip tab. Every entry is listed with a file or folder icon and the path stored in the archive, such as images/logo.png.
  • One file at a time: each file has its own Download button and saves under its own name. There is no extract-all button and folders cannot be downloaded whole, so for an archive of hundreds of files your operating system's built-in extractor is quicker.
  • If it fails to read: the usual causes are a password-protected archive, a download that was cut short, or a file that is not a ZIP at all. RAR, 7z and tar.gz are different formats that this tool does not open.

Why some files barely shrink

DEFLATE finds repeated byte sequences and replaces later copies with short back-references, then codes the result with shorter bit patterns for the most common symbols. Text, CSV, JSON, HTML, source code, logs and uncompressed bitmaps are full of repetition and shrink a great deal; the whitespace in pretty-printed JSON, for instance, is exactly the kind of repetition DEFLATE removes, so a file you have tidied with the JSON formatter zips to nearly the same size as its minified version. JPEG, PNG, WebP, MP3, MP4, most PDFs and modern Office files (DOCX and XLSX are themselves ZIP archives) have already had their redundancy removed by their own formats, so zipping them saves a few percent at most and sometimes adds a little overhead. If a folder of photos barely shrinks, that is the format, not a fault. To make images smaller, re-encode them with the image compressor; zip them afterwards only to bundle them.

The ZIP format in brief

ZIP is specified in PKWARE's APPNOTE. Each file is stored independently with its own local header, compression method and CRC-32 checksum, and a central directory at the end of the archive indexes them all. That is why a reader can list the contents without decompressing anything, and why one damaged entry does not take the others with it. Because files are compressed one at a time, ZIP cannot exploit repetition between files the way the solid mode of 7z does, but any single file can be pulled out on its own, which is exactly what the Extract tab relies on. Encryption is part of the specification, but JSZip does not implement it, so this tool neither creates nor opens encrypted archives.

Frequently asked questions

Is anything uploaded to a server?

No. The files are read and processed by JavaScript in your browser and the result is saved by your browser. You can confirm it yourself: open the Network tab of the browser's developer tools, zip or unzip something, and watch no request appear.

What is the largest archive I can handle?

There is no fixed limit, because nothing is uploaded, but everything sits in the browser's memory while it is processed. Archives of a few megabytes are no trouble; several gigabytes may freeze the tab. Use a desktop archiver for those.

Can I open a password-protected ZIP?

No. JSZip does not implement ZIP encryption, so an encrypted archive stops with "Failed to read zip file". Open it with the archiver that created it, or with 7-Zip, which handles both ZipCrypto and AES-encrypted archives.

Why is there no extract-all button?

The tool saves one file per Download click. Writing a whole folder to disk at once would need the File System Access API, which only some browsers offer, so for a large archive your operating system's extractor is the right tool.