______ __ ______ ______ ______ __ __ ______
/\___ \ /\ \ /\ == \ /\ == \ /\ __ \ /\ "-./ \ /\ == \
\/_/ /__ \ \ \ \ \ _-/ \ \ __< \ \ \/\ \ \ \ \-./\ \ \ \ __<
/\_____\ \ \_\ \ \_\ \ \_____\ \ \_____\ \ \_\ \ \_\ \ \_____\
\/_____/ \/_/ \/_/ \/_____/ \/_____/ \/_/ \/_/ \/_____/
A browser-based ZIP bomb generator β enter your unzip size and filename, download in one click.
β οΈ DISCLAIMER: This tool is intended strictly for educational and security research purposes only β such as testing antivirus engines, decompression bomb detection, and understanding compression mechanics. Do not use this against any system you do not own or have explicit written permission to test. The author bears no responsibility for any misuse.
No installation needed β runs entirely in your browser:
π https://anonymous-201.github.io/zipbomb/
The tool features a clean dark UI where you input a ZIP filename and select your desired unzipped size (Bytes β Petabytes), then generate and download the ZIP bomb in one click.
A ZIP bomb (decompression bomb / zip of death) is a small archive file that expands to a massive size when extracted. They are used in security research to:
- Test how antivirus software handles malformed or extreme archives
- Stress-test file upload handlers and decompression pipelines
- Explore the limits of compression algorithms like DEFLATE
The key mechanic: null bytes (\x00) compress at ratios up to ~1000:1 β a 1 MB ZIP can unpack to 1 GB+.
| Feature | Details |
|---|---|
| π― Custom unzip size | Choose from Bytes, KB, MB, GB, TB, or PB |
| π Custom filename | Name your output ZIP anything you want |
| β‘ One-click generation | Runs fully in-browser, no server needed |
| ποΈ DEFLATE level 9 | Maximum compression for smallest output file |
| π No data sent anywhere | 100% client-side, nothing leaves your machine |
| π No install required | Open the HTML file or visit the GitHub Pages link |
Visit the live site directly:
https://anonymous-201.github.io/zipbomb/
# Clone the repository
git clone https://github.com/anonymous-201/zipbomb.git
# Open in browser
cd zipbomb
open index.html # macOS
start index.html # Windows
xdg-open index.html # Linux- Enter ZIP File Name β type your desired output filename (e.g.
bomb) - Enter Unzipped Size β type a number (e.g.
10) - Select Unit β choose from
B,KB,MB,GB,TB, orPB - Click Generate & Download
- The
.zipfile downloads automatically to your machine
zipbomb/
βββ index.html # Main tool β fully self-contained, no build step
βββ README.md # Project documentation
βββ LICENSE # MIT License
βββ preview.png # Screenshot for social previews (optional)
User Input (size + filename)
β
βΌ
Uint8Array of null bytes (\x00) created in browser memory
β
βΌ
JSZip compresses with DEFLATE level 9
β
βΌ
Blob URL generated β <a> tag triggered β ZIP downloaded
- Small sizes (B/KB/MB/GB β€ 2GB): Allocates exact byte count in memory, compresses to a single file.
- Large sizes (TB/PB or GB > 2GB): Uses a 50 MB base block repeated across multiple archive entries to stay within browser memory limits while reporting the full virtual size.
Contributions, issues, and feature requests are welcome!
- Fork the repo
- Create your branch:
git checkout -b feature/my-feature - Commit your changes:
git commit -m 'Add my feature' - Push to the branch:
git push origin feature/my-feature - Open a Pull Request
- Add a progress bar for large file generation
- Support nested/recursive ZIP layers
- Dark/light theme toggle
- Add compression ratio display
- PWA support (offline use)
- β Testing antivirus and endpoint protection software
- β Auditing file upload handlers for decompression bomb vulnerabilities
- β Security research and CTF challenges
- β Learning about DEFLATE and compression internals
- β Penetration testing (with authorization)
- β Attacking systems without permission β strictly prohibited
This project is licensed under the MIT License β see LICENSE for details.
MIT License β Copyright (c) 2025 anonymous-201
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software to use, copy, modify, merge, and distribute it, subject to
the conditions in the LICENSE file.
anonymous-201
- π GitHub: @anonymous-201
- π¦ Repo: anonymous-201/zipbomb
- π Live Tool: anonymous-201.github.io/zipbomb