All combinations

HTML + ZIP Polyglot

Combine an HTML page with a ZIP archive

Your archive is preserved exactly as uploaded. Zip the folder itself, not the files inside it, if you want everything to extract into one folder.

HTMLZIP

01 · Add your files

0/2 added
01HTML File
.html · 1MB
02ZIP File
.zip · 100MB

02 · Generate

Please upload both files to generate your polyglot file

Limits · HTML 1MB · ZIP 100MB

How to open your polyglot file
  • To access different file types, simply rename the file extension (e.g. .zip, .mp4, .jpg, etc.).
  • If your computer can't open .zip files, try using the command line: unzip filename.zip
  • .mp4 files may not play in some video players, but work fine with popular ones like VLC or QuickTime Player.
  • These files are polyglots and may behave differently depending on the software used to open them.
File size limits
  • PDF50MB
  • Image25MB
  • Video100MB
  • ZIP100MB
  • HTML1MB

Highlighted formats apply to this combination. Limits are enforced in your browser, so an oversized file never leaves your machine.

Usage terms
  • Use it only for educational, research, or testing purposes.
  • Not use the output for malicious purposes, phishing, or exploiting vulnerabilities.
  • Take full responsibility for any consequences of using the generated files.

What is a HTML + ZIP polyglot?

An HTML + ZIP polyglot renders as a web page in a browser and extracts as a complete archive in any unzip tool. The page can document exactly the files the same download contains, because the documentation and the archive are one file rather than two.

How the formats coexist

ZIP readers find an archive by scanning backwards from the end of the file for the central directory, so the archive does not need to start at byte zero. That leaves the front of the file free for a full HTML document, and the archive's stored offsets are rewritten to account for the page sitting in front of it.

Why people build these

  • Shipping a project's README and its source archive as a single download
  • Handing over a dataset alongside the page that explains its columns and licence
  • Checking whether an upload filter reads a file's actual structure or trusts its extension

Files are processed in memory and never stored. Generated polyglots are intended for educational, research and testing use. See privacy and terms.