Skip to content
Aback ZIP

Formats · 4 min read · Updated

ZIP64 explained: ZIP files larger than 4 GB

What ZIP64 is, the exact limits of classic ZIP, how ZIP64 extends them, and which tools can read archives over 4 GB or with more than 65,535 files.

The original ZIP format stores sizes and offsets as 32-bit numbers, which was plenty in 1989 and is not today. ZIP64 is the extension that lets a ZIP hold files over 4 GB, grow beyond 4 GB in total and contain more than 65,535 entries. Most of the time it works without anyone noticing, but it explains some puzzling errors with large archives.

The classic ZIP limits

FieldWidthLimit
Size of one file (compressed or uncompressed)32-bit4,294,967,295 bytes (4 GiB minus 1 byte)
Offset of a file within the archive32-bitEach file must start within the first 4 GiB
Size and offset of the central directory32-bit4 GiB
Number of entries16-bit65,535

In practice that means no single file over 4 GB, no archive much over 4 GB, and no more than 65,535 files and folders in one classic ZIP.

How ZIP64 works

ZIP64 was added to the ZIP specification in 2001. It keeps the familiar structure and adds 64-bit versions of the fields that can overflow:

  • When a value does not fit, the classic field is set to a marker (0xFFFFFFFF, or 0xFFFF for counts) and the real value goes into a ZIP64 extra field (header ID 0x0001) attached to the entry.
  • A ZIP64 end of central directory record holds 64-bit entry counts and the size and position of the central directory.
  • A ZIP64 end of central directory locator, placed just before the classic end record, tells readers where to find it.

64-bit fields allow sizes up to 16 exabytes, so with ZIP64 the limit becomes your storage, not the format.

When ZIP64 is used

A well-behaved tool switches to ZIP64 only when needed: when a file or the archive passes 4 GB, or the number of entries passes 65,535. Some streaming tools add ZIP64 fields to every file because they cannot know sizes in advance. That is valid, but it can confuse older software.

Create ZIP and the other Aback ZIP tools add ZIP64 records only when a value actually overflows, so ordinary archives stay as compatible as possible.

Which tools support ZIP64

ToolZIP64 support
7-Zip, WinZip, WinRAR, PeaZip, Bandizip, KekaYes
Windows File Explorer (Windows 10 and 11)Reads ZIP64 archives; if a very large archive fails there, 7-Zip is the usual fallback
macOS Archive UtilityYes
Info-ZIP zip 3.0 and unzip 6.0Yes; older versions (zip 2.x, unzip 5.x) do not
Java 7+, Python zipfile, .NETYes
Older embedded devices, firmware updaters, legacy librariesOften not; keep archives under 4 GB and 65,535 entries for these

ZIP64 and FAT32 drives

FAT32, still common on USB sticks and SD cards, cannot store any single file of 4 GB or more, whatever format it is in. If a large archive will not copy to a drive, the drive's file system is the problem, not ZIP64.

  • Reformat the drive as exFAT or NTFS. This erases the drive, so copy anything you need off it first.
  • Or split the archive into parts under 4 GB that each open on their own.

ZIP64 in the browser

JavaScript numbers are exact up to 9,007,199,254,740,991, about 9 petabytes, so 64-bit ZIP fields can be handled safely as long as the code checks that bound. Aback ZIP does, and reports an error rather than misreading anything larger.

Files are read in slices rather than loaded whole, and ZIP Viewer reads only the central directory, so it can show whether an archive uses ZIP64 without loading all of it. The practical ceiling for creating or extracting very large archives is your device's memory and storage, and phone browsers have much less room than desktop browsers.

The exact overflow markers

ZIP64 is not a flag you simply turn on. A writer notices that a value will not fit and leaves a marker in the classic field, then puts the real value in a new record. The PKWARE specification defines each marker and the order of the fields that follow it.

Classic fieldMarker valueWhere the real value goes
Compressed or uncompressed size (32-bit)0xFFFFFFFFZIP64 extended information extra field, header ID 0x0001
Relative offset of a local header (32-bit)0xFFFFFFFFThe same ZIP64 extra field
Entry count in the end record (16-bit)0xFFFFZIP64 end of central directory record
Central directory size or offset (32-bit)0xFFFFFFFFZIP64 end of central directory record
ZIP64 end record signature0x06064b50Located via the 0x07064b50 locator just before the classic end record

A reader that ignores these markers will report nonsense sizes or an empty archive, which is why a large ZIP can appear broken in an older application while opening normally in a newer one.

Entry counts, not just file sizes

The 65,535-entry ceiling catches people by surprise: a folder of 80,000 tiny text files can overflow it even though the archive is only a few megabytes. A ZIP with more entries needs ZIP64 counting records regardless of its byte size.

Listing many entries is an engineering problem of its own. In Aback ZIP's benchmark run on an Apple Silicon Mac on 2026-11-16, a 100,000-entry, 16.5 MB ZIP was inspected in 0.06 seconds, and the archive tree rendered only the visible rows. The engine lists archives up to 1,000,000 entries, a limit chosen so a hostile file cannot force an unbounded allocation. These are measurements from one machine, not a promise for every device.

A large entry count also slows any operation that touches every file, such as testing CRCs or searching contents. Inspect first and extract only what you need.

When a ZIP64 archive is still hard to open

Adding ZIP64 does not make an archive universally readable. Other features can block a tool just as effectively, and it is worth separating those causes before concluding that a file is corrupted.

  • Old software: anything predating ZIP64 support reads the marker values as literal sizes and loses its place.
  • Streamed archives: writers that cannot seek may put sizes in data descriptors; some readers handle those poorly.
  • Unsupported compression: Deflate64 and PPMd entries are detected in Aback ZIP and copied unchanged by split, merge, edit and clean, but they are not decompressed.
  • Strong encryption: PKWARE's proprietary scheme is not supported; WinZip AES and ZipCrypto are.
  • Storage file systems: FAT32 still refuses any single file of 4 GB or more, even when ZIP64 itself is fine.
  • Device memory: the index may be small, but extracting gigabytes still needs room for the output Blob.

A checklist for large archives

  1. Check the archive's reported size and entry count before starting an operation.
  2. Open the archive in a ZIP viewer to see whether ZIP64 records are present.
  3. If the destination is a USB drive, check its file system before blaming the archive.
  4. If a single file must stay intact, keep ZIP64; otherwise consider splitting the archive so each part stays under the limit.
  5. After a long transfer, test the archive's integrity and keep the original until it passes.
  6. For the general size ceilings that apply even with ZIP64, see ZIP file size limits.

Tools for this

Frequently asked questions

Open it in ZIP Viewer. ZIP64 status is shown for the archive and for each entry.

More guides