All combinations

PDF + ZIP Polyglot

Combine a PDF document with a ZIP archive

PDFZIP

01 · Add your files

0/2 added
01PDF File
.pdf · 50MB
02ZIP File
.zip · 100MB

02 · Generate

Please upload both files to generate your polyglot file

Limits · PDF 50MB · ZIP 100MB

How to open your polyglot file
  • As PDF: rename to .pdf and open in any PDF viewer.
  • As ZIP: rename to .zip and use Terminal: unzip filename.zip
  • Note: use Terminal for ZIP extraction. macOS Archive Utility may not work.
  • 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 PDF + ZIP polyglot?

A PDF + ZIP polyglot reads as a normal document in any PDF viewer and unpacks as a normal archive in any ZIP tool. One file, two complete and independently valid structures.

How the formats coexist

PDF tolerates leading bytes before its header and locates its object table from the trailer, while ZIP locates its central directory from the end. Both formats read inward from opposite directions, so they can share a file without either being malformed.

Why people build these

  • Shipping a report together with the raw data behind it, as one attachment
  • Security research into file-type detection, where a document and an archive share a signature
  • CTF challenges that require finding a second format hidden inside a readable document

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