Decompress a PDF for Inspection
Decompress PDF expands a PDF's compressed streams into readable QDF form with qpdf, so you can inspect or hand-edit the file. The result is usually larger and is not an archive extractor.
Drag and drop files here, or click to choose
Accepts PDF · up to 500.0 MB per file · up to 20 files at once
You can also paste a file with Ctrl/Cmd+V, or from the clipboard menu.
Decompress PDF runs `compress_pdf(..., false)`: qpdf `--qdf --object-streams=disable`. The result is a QDF-style, more readable PDF, not a zip extractor and not a decoder of attached files.
Streams are expanded for inspection. The file usually gets larger. Password-protected files are unlocked for you on this page once you enter the password; API callers run Unlock first.
This is the inverse family of Compress (which uses `--compress-streams=y --recompress-flate --object-streams=generate`). Linearize PDF is a separate qpdf operation, not this QDF path.
If you meant to unpack EmbeddedFiles, that is a different attachment op, not this button.
What changes inside the file: a normal PDF stores page content and many objects as compressed streams, and often packs small objects together into object streams. QDF mode writes streams in their uncompressed form and keeps every object separate and labeled, so a text editor or a command-line tool such as grep can read page content operators and object structure that were opaque before. Embedded images that use their own image encodings, such as JPEG, are not turned into raw pixels; they stay in their image format, so a photo-heavy file grows less than a text-heavy one.
What does not change: the pages look the same, text stays selectable, fonts stay embedded, and nothing is rasterized. The document is not unlocked, redacted, repaired or cleaned. There is no option to choose which streams to expand, because the route takes no parameters.
When this is the right tool: you are debugging why a PDF renders oddly, comparing two versions of a file object by object, writing a parser and need readable fixtures, or feeding a picky downstream tool that cannot read object streams. When it is not: to shrink a file use Compress PDF; to make a file open faster in a browser use Linearize PDF; to pull out attached files use the attachment tools; to remove hidden content use the sanitize or metadata tools.
Features
- qpdf QDF rewrite; object streams disabled
- Larger, more inspectable PDF
- Not attachment extraction
- Anonymous API at /api/v1/misc/decompress-pdf
- Pages, fonts and selectable text are unchanged
- No options, so every file gets the same rewrite
When to use this tool
- Make a PDF easier to grep as QDF
- Disable object streams before a picky downstream parser
- Inspect content streams without a binary dump
- Compare two exports of the same report object by object to find what a tool changed
- Create readable test fixtures for a PDF parser you are writing
How do I decompress a PDF?
- Upload the PDF you want to inspect. Keep the original, because the QDF copy is meant for reading rather than for sending on.
- Click Process. There are no options, and a large file simply takes longer to rewrite.
- Download the result and compare its size with the original; expect it to be larger.
- Open it in a text editor or run a search tool over it to look for a known object, a font name or a page operator, instead of reading from the top.
- If the file is only larger and you wanted it smaller, discard the QDF copy and use Compress PDF on the original.
Limits and edge cases
- Usually larger
- Not a general decompressor of payloads
- Password-protected files need the password; API callers run Unlock first
- Image data such as JPEG stays encoded
- Not intended for files you will send onward
- Does not repair damaged files
- Upload limit on this website: 500 MB per file, sent in chunks above about 95 MB. A single direct API request body is capped at 100 MB.
Examples
- A compressed office PDF often becomes a much larger QDF file
- Attachment names still require an attachments panel, not this rewrite
- A 2 MB text-heavy export that grows a lot when its streams are expanded, versus a photo-heavy scan whose JPEG pages stay the same and grow only a little
- Searching the QDF copy for a font name confirms which fonts a page references, which is hard to do in the compressed original
- Round trip: Decompress PDF for inspection, then Compress PDF on the same file to return to a compact size
Privacy for this tool
Files are uploaded over HTTPS, processed in memory or a short-lived temporary directory on our servers, and deleted when your result is ready. We do not keep copies for later browsing, training, or advertising profiles. See the Privacy Policy for retention details and AdSense cookie disclosures.
Frequently asked questions
- Will my embedded ZIP attachments extract?
- No. QDF rewrites the PDF. Attachments stay inside unless you use an attachment tool.
- Why is the file bigger?
- Streams are uncompressed and object streams are disabled. That is the point of QDF.
- Is this the opposite of Linearize?
- No. Linearize reorders the file for fast web view. This path is QDF, which is closer to the opposite of Compress.
- Does text stay selectable?
- Yes when it was text objects. QDF does not rasterize.
- Can I compress the file again afterwards?
- Yes. Running the QDF copy through Compress PDF recompresses the streams and regenerates object streams, which usually brings the size back down, though the result is not guaranteed to be byte-identical to the original.
- Why can I still not read my scanned PDF in a text editor?
- Scanned pages are images. Image data stays in its image encoding, so you will see object structure and dictionaries but not readable text. Use OCR PDF with the Searchable PDF output if you need a text layer.
- What do I see if the file is password protected?
- The page asks for the password before processing. API callers must run Unlock first, otherwise the file cannot be loaded.
- Does it remove restrictions, signatures or hidden data?
- No. It rewrites structure for readability. Digital signatures may no longer validate on the rewritten file, so never use the QDF copy as the signed original.
Last updated:
Call this from code
Every tool on this site is a plain REST endpoint - no account or API key needed for anonymous use. Built for AI agents and developers as much as for browsers.
curl -X POST "https://pdf123.xyz/api/v1/misc/decompress-pdf" \
-F "[email protected]" \
-o output.pdfAlso available as an MCP tool for agent clients that speak Model Context Protocol (JSON-RPC 2.0 over POST /mcp). Full API reference
Use it from an AI agent
SkillClaude Code, Codex, Cursor and other AI agents can run Decompress PDF for you with this skill: /skills/pdf123-decompress-pdf.md
Files are used only for this processing job and deleted automatically afterward.