ZIP Archive Builder
Drop files, edit their paths and compression, and download a real ZIP built entirely in your browser — no upload.
Archive contents
0 file(s) · 0 B raw| Path | Size | Compression | Level | Exclude |
|---|
No files yet.
Preview & manifest
0 included · 0 B estimatedNo archive yet
Add files to preview the tree and estimated size.
Details
Build a ZIP archive with a precise internal structure without uploading anything. Drop files or folders, edit each entry's path, wrap everything in a root folder, exclude dotfiles and node_modules with glob-lite patterns, and choose store or deflate with a compression level per entry. The preview shows the resulting tree, raw size and an estimated ZIP size. A built-in ZIP writer computes CRC32 and emits standard local headers, a central directory and an EOCD record; the resulting archive works with ordinary unzip tools. Save and reapply a manifest of paths and options to rebuild the same bundle with updated files.
More examples
Static site bundle
root: dist/ · entries: index.html, assets/main.jsA root folder prefix wraps the whole bundle in one top-level directory.
Store already-compressed media
video.mp4 → store; notes.txt → deflate level 9Store avoids wasting CPU on media that will not compress further; text benefits from deflate.
Exclude OS junk
.DS_Store
*.log
node_modules/**Patterns are applied when files are added, with a notice listing how many were skipped.
Examples
Rename an entry
dist/assets/main.js → app.jsA single top-level app.js entryPath edits are independent of the file's original location.
Store media
clip.mp4 (store) + notes.txt (deflate 9)~clip.mp4 size + heavily reduced notes.txtAlready-compressed formats rarely benefit from another deflate pass.
Traversal rejected
docs/../secret.txtInline error; build blockedPath validation prevents malformed or unsafe archive entries.
About this tool
ZIP Archive Builder creates real ZIP files in the browser. Add files, rename or repath entries, wrap the bundle in a root folder, and choose STORE or DEFLATE compression per file before downloading the archive. No file is uploaded and no server participates in the build.
The entry table is the heart of the tool: each row has an editable forward-slash path, a size, a compression method, a level from 1 to 9 and an exclude checkbox. Paths are validated against traversal, absolute paths, drive letters, reserved Windows device names and duplicates, so a bad edit blocks the build with a specific message instead of producing a broken archive.
Exclusion patterns use a small glob dialect: *.log matches basenames, node_modules/** matches a subtree, and .DS_Store matches an exact file. Patterns apply when files are added, and a notice reports what was skipped. The preview tree and statistics show included entries, raw size and a clearly labelled size estimate before you build.
The writer is implemented locally: CRC32, fixed-Huffman DEFLATE with a bounded LZ77 search, local file headers with the UTF-8 filename flag, a central directory and the end-of-central-directory record. Empty files are valid entries, and pre-1980 timestamps are clamped to the DOS epoch. A manifest of paths and options can be saved and reapplied to rebuild the same structure with updated files.
What this tool does not do
- Archives are built in memory as one Blob; very large bundles can exhaust browser memory.
- Empty directories are not emitted as explicit directory records; paths of included files carry the structure.
- There is no encryption and no ZIP64 guarantee; archives over 4 GB show a split recommendation.
- The size estimate is a heuristic, not a measured compression of each full file.
- Folders are read through the browser's webkitRelativePath; symlinks are resolved or unavailable, not preserved.
How to use this tool
Add files
Drop files onto the drop zone or use Add files. A folder picker preserves its relative paths when the browser supplies webkitRelativePath.
Set the structure
Enter a root folder prefix if the whole bundle should live under one directory, then edit individual paths in the entry table.
Exclude and compress
List exclusion patterns before adding files. Choose store for already-compressed media and deflate with a level for text and code.
Review the preview
Check the tree, entry count, raw size and estimated ZIP size. Fix any path errors or duplicate names highlighted in the table.
Build and save a manifest
Click Build & download ZIP. Download the manifest JSON to keep the structure and options; reapply it after re-dropping updated files.
Use cases
Deployment bundles
Assemble a static site with a consistent top-level folder and predictable internal paths.
Upload packages
Include only the required files, with dotfiles and noise excluded before the ZIP is built.
Course material
Rename a folder of submissions into a tidy structure and compress text while storing images.
Repeatable rebuilds
Keep a manifest so updated files can be dropped into the same structure without re-editing every row.
Exclusion pattern dialect
| Pattern | Matches |
|---|---|
| *.log | Any .log file by basename, at any depth |
| .DS_Store | That exact basename anywhere in the tree |
| node_modules/** | Everything under a top-level node_modules folder |
| dist/*.js | JavaScript files directly inside dist |
| image?.png | Single-character wildcard in a filename |
Patterns are applied at add time, not retroactively; clear and re-add files after changing them.
Common mistakes
Mistake:Using backslashes in entry paths.
Fix:ZIP paths always use forward slashes; the validator flags backslashes.
Mistake:Expecting exclusions to affect files already added.
Fix:Patterns are applied at add time — change them first, then clear and re-add files.
Mistake:Deflating already-compressed media.
Fix:Set those rows to store; deflate text and code instead.
Mistake:Trusting the size estimate as exact.
Fix:The preview probes a fixed heuristic and is labelled an estimate; the real size is reported after the build.
Mistake:Assuming password protection is supported.
Fix:The writer has no encryption; ZipCrypto is weak and AES ZIP is not universally supported.
Frequently asked questions
How big can the ZIP be?
The archive is assembled in browser memory and downloaded as a single Blob, so available RAM is the practical limit rather than a fixed quota. Bundles of a few hundred megabytes are usually fine; over 4 GB the tool warns that ZIP64 support is not guaranteed and recommends splitting the data. Very large archives may fail with a memory error.
Are my files uploaded anywhere?
No. Files are read locally, compressed and assembled in the tab, then handed to your browser's download mechanism. There is no upload, no server-side processing and no telemetry on file contents. Object URLs used for downloads are revoked after use.
Can I exclude patterns?
Yes. Enter one glob-lite pattern per line: *.log matches a basename at any depth, node_modules/** matches a subtree, .DS_Store matches that filename, and ? matches a single non-slash character. Patterns apply when files are added, so set them first if you want them to affect a drop.
Does it keep folder structure?
Yes. When the browser provides webkitRelativePath from a folder picker or drop, the relative path becomes the entry path. You can also wrap everything in a root folder with one option, or edit any path individually. Empty folders are not represented as separate entries because the ZIP writer stores files rather than explicit directory records.
Is the ZIP compatible with all unzippers?
The writer emits standard local headers, a central directory and an EOCD record; entries use STORE or fixed-Huffman DEFLATE, CRC32 and the UTF-8 filename flag. That is compatible with macOS Archive Utility, unzip and Windows Explorer for ordinary archives. Password protection and guaranteed ZIP64 support are out of scope, so check those requirements before relying on the output.
What is the manifest for?
The manifest stores paths, compression choices, levels and exclude flags — not file bytes. Download it to keep a repeatable structure, then paste it into the manifest field and click Apply after re-dropping updated files. Entries are matched by full path first and by unique basename second.
References & standards
Related tools
.env Secret Safety Linter
Validate .env syntax and spot likely leaked credentials or placeholder secrets.
.gitattributes Generator
Build .gitattributes rules for line endings, Git LFS, GitHub linguist marks and merge drivers — with a one-line explanation for every rule.
.htaccess Generator
Build an Apache .htaccess — HTTPS redirects, rewrites, error pages, security headers, and basic auth
2D Fluid Dynamics & Particle Physics Sandbox
A physics playground with two engines sharing one canvas. The fluid mode runs a real Eulerian Navier-Stokes solver — semi-Lagrangian advection, explicit diffusion, Jacobi pressure projection and vorticity confinement — that you paint with dye and velocity using mouse or touch. The particle mode is a damped Verlet N-body engine with gravity wells, Coulomb attractors and repulsors, spring links, wall restitution and elastic circle collisions. Particle counts adapt to the device (100k target on WebGL2 desktop, 2k-5k on CPU fallback), and every configuration exports as runnable code: a Matter.js world, a PixiJS ticker setup, or a standalone vanilla Canvas engine.
A/B Test Sample Size Calculator
Compute required sample size per variant and test duration from baseline conversion rate, minimum detectable effect, alpha and power.
ABA Routing Number Validator
Validate 9-digit US ABA routing numbers with 3-7-1 Mod-10 breakdown.