Skip to content
Aback ZIP

Formats · 6 min read · Updated

ZIP file size limits explained

Classic ZIP stops at 4 GB and 65,535 entries; ZIP64 raises those limits. Learn the exact numbers, the browser's practical limits and how to split an archive.

The often-quoted 4 GB ZIP limit belongs to the original 1989 format, not to ZIP as a whole. ZIP64 explained covers the extension in full; the short version is that ZIP64 widens the size and count fields to 64 bits. What still limits a browser tool is memory, storage and the size of the file you need to send.

The exact classic ZIP limits

Classic ZIP records sizes, compressed sizes and offsets in 32-bit fields, and entry counts in 16-bit fields. These are properties of the file format, not of any particular program. The numbers are exact and worth knowing when something fails.

FieldWidthMaximum value
Uncompressed or compressed size of one entry32-bit4,294,967,295 bytes (4 GiB minus 1 byte)
Offset of an entry inside the archive32-bit4,294,967,295 bytes from the start
Number of entries16-bit65,535
Total archive size in practice32-bit offsetsAbout 4 GiB

GiB means 1,073,741,824 bytes. A drive labelled 4 TB uses decimal units, so the two numbers are not interchangeable when you are close to a boundary.

What ZIP64 changes

ZIP64 keeps the classic structure and adds 64-bit versions of the fields that overflow. When a value does not fit, the old field is set to a marker and the real value goes into a ZIP64 extra field, with additional records at the end of the archive. The theoretical ceiling moves to 16 exabytes and 2 to the power of 64 entries, far beyond any disk you can buy.

Aback ZIP writes ZIP64 only when a value actually needs it, so ordinary archives stay compatible with older software. Create ZIP handles this automatically; you do not need to choose a ZIP64 mode. Reading works in the other direction too, in ZIP Viewer and the extraction tools.

Compatibility is the catch. Windows File Explorer and modern archivers read ZIP64, but older embedded devices, firmware updaters and legacy libraries often do not. If an archive has to work everywhere, keeping it under 4 GB and 65,535 entries is the safe choice.

The browser's practical limits

Nothing is uploaded, so there is no server upload cap. The limit is the memory and storage of the device running the browser. An archive can contain a gigabyte of data that compresses to a few megabytes; decompressing it still has to allocate that gigabyte somewhere, and the finished output has to exist as a Blob before it can be downloaded.

  • Inspecting is cheap: the central directory is small even for very large archives, so listing entries uses little memory.
  • Extracting and recompressing are heavier: they process file contents and need room for the output.
  • Phones have less headroom: a job that is comfortable on a desktop may fail on a phone browser.
  • Entry counts: Aback ZIP lists archives with up to 1,000,000 entries using a virtualized tree; the published benchmark lists 100,000 entries in 0.06 seconds on the test machine.

Aback ZIP is not an offline app: the site must load from the network first. There is no upload limit, but there is no guarantee that any given archive will fit in your browser's memory.

Work around the limits

  1. Choose parts below the limit you actually face. For a FAT32 USB drive that is under 4 GB per file, whatever the format.
  2. Use Split ZIP to divide an archive by target size, part count or top-level folder. Every part is a complete ZIP that opens on its own.
  3. For byte-exact chunks rather than independent ZIPs, use the byte-chunk mode; those pieces need Join ZIP Parts to be reassembled.
  4. Check the result before sending it, and download one part at a time if the browser limits multiple downloads.

Splitting does not reduce the total number of bytes; it makes each file small enough for a particular transfer or filesystem. The choice between standalone parts and raw chunks is explained in splitting archives: standalone parts vs byte chunks.

Limits that are not ZIP limits

Limit you hitWhere it comes fromWhat to do
Attachment rejected at around 20-25 MBMail provider policy, varies by serviceSplit the archive or share a link
Cannot copy a file onto a USB stickFAT32 has a 4 GB per-file limitReformat as exFAT or NTFS, or split the archive
Old extractor reports an invalid ZIPSoftware does not understand ZIP64 or a compression methodUse a modern extractor or keep entries under the classic limits
Browser tab becomes slow or unresponsiveLocal memory pressure from a very large extractionCancel, close the tab and try a smaller selection

The mail and filesystem numbers above are external policies, not capabilities of Aback ZIP. For a step-by-step walkthrough, see how to split a ZIP file.

Check before you assume a limit

Open the archive in a viewer and read its size, entry count and ZIP64 status first. A failure at 4 GB is often a FAT32 drive or an old extractor rather than a broken archive, and a failure with many small files is often an entry-count problem rather than a byte-count problem. Knowing which field overflowed saves a lot of guessing.

The format details come from the PKWARE ZIP specification. The entry-count and benchmark figures here are from this project's own published benchmarks, not universal product limits.

Where these numbers come from

The limits are not arbitrary product decisions. They fall out of the widths of the integer fields in the file format. A classic local file header and central directory entry store sizes and offsets as 32-bit unsigned values, which have exactly 2^32 possible states. An entry count is stored in a 16-bit field, giving 2^16 possible states including zero. When a value reaches the largest representable number, it cannot be increased without changing the format.

Field widthMarker valueMeaning in ZIP64
16-bit count0xFFFF (65,535)The real count is read from a 64-bit ZIP64 record
32-bit size or offset0xFFFFFFFF (4,294,967,295)The real value is read from the ZIP64 extra field

That marker scheme is why an archive can cross a boundary without becoming invalid: the old field saturates and the extension carries the real number. A reader that does not understand ZIP64 sees the marker and may report a strange size or refuse the archive. That is a reader problem, but from the user's point of view it looks exactly like corruption.

JavaScript numbers are exact only up to 9,007,199,254,740,991, roughly 9 petabytes. Well below that, 64-bit ZIP fields can be held safely in a number; above it, a careful implementation uses BigInt or refuses the value. Aback ZIP checks the bound rather than silently rounding a size, so an extreme value produces an error instead of a wrong extract.

The 4 GB file limit of FAT32 is a different constraint: it applies to any file on that filesystem, even a 10 MB ZIP. Format limits and filesystem limits are independent.

Tools for this

Frequently asked questions

Classic ZIP is limited to about 4 GiB and 65,535 entries. ZIP64 raises the format ceiling to 16 exabytes and 2^64 entries; in practice your disk, memory and transfer method become the limit.

More guides