Compress PDF
Compress a PDF in your browser: keep text with a lossless re-save, or go smallest with page images. Real byte counts shown.
Image, PDF and Documents↑↓ to navigate · Enter to open · Esc to close
Rebuild a PDF whose cross-reference is broken so strict readers accept it again.
Runs in your browser. Nothing is uploaded — your input is processed on this device and discarded when you close the tab.
Drop a PDF here or click to browse. One file at a time, up to 50 MB. Everything is processed on this device only — no file is uploaded.
Repair rebuilds the file structure (cross-reference and trailer) from the objects inside it. It cannot restore content that is missing, and it cannot open password-protected files — the limitations on this page explain both.
Sometimes a PDF will not open — or opens in one reader and not another, or shows an error about a cross-reference table — even though the document itself was fine when it was created. A common cause is structural, not content, damage: the file's cross-reference table (the index that tells a reader where each object lives) holds wrong byte offsets, or its startxref pointer aims at the wrong place. Truncated downloads, interrupted saves, buggy merges and some email gateways all produce exactly this injury. This tool performs the basic repair for it: it reads the document by scanning and parsing the objects themselves rather than trusting the broken index, then writes the whole thing back out with a fresh, consistent structure. The rebuilt file is the download — all in your browser, with nothing uploaded.
The honesty matters as much as the mechanism, because "repair" is a word other tools stretch. This tool rebuilds structure; it does not and cannot restore content that is not there. The limitations below state precisely which failures it addresses and which it does not, so a file that needs a different remedy is recognised quickly instead of being sent through a repair that was never going to help it.
The worked example is this tool's own test scenario, run by its test suite. Start with a healthy three-page document carrying the title "Quarterly figures" and author "A. Example", saved with a classic cross-reference table — 2,707 bytes in its damaged form. The damage is applied deliberately: every offset in the cross-reference table is zeroed and the startxref pointer is reset to 0, so a reader that trusts the index looks for every object at the start of the file. The tool's strict check confirms the damage (the pointer no longer lands on the table), the repair then recovers all 3 pages, the extracted text of every page is intact, the title and author survive, and the rebuilt 1,670-byte file passes the same strict check that the damaged file failed. An already-healthy file passed through the same repair comes out with its page texts identical, page for page — the repair changes structure, not content.
No. The damaged file is read, rebuilt and returned entirely within your browser. Nothing is transmitted and no copy is kept — a reasonable property for a tool you might point at a sensitive document that has just failed.
Structural damage to the file's indexing: cross-reference tables with wrong offsets, a startxref pointer aimed at the wrong place, and the general structural sloppiness left by buggy producers and interrupted saves. The objects holding the pages are re-read directly and written back with a fresh, consistent index.
Missing or internally corrupt content. If part of a page was never written or was overwritten, that content is absent from the file and no repair can restore it. The tool also cannot open encrypted files or make a non-PDF file into a PDF.
Yes. The title, author, creator and producer recorded in the document are read before the rebuild and written onto the repaired file — the test suite verifies a repaired document carries the exact title and author of the damaged original.
The result line reports the number of pages recovered; compare it with the page count you expect, then open the repaired file and skim it — particularly the final pages. The tool reports what it found rather than estimating, so a short count is your signal that the source file itself was incomplete.
Readers differ in how much they trust the cross-reference. Tolerant readers scan the file and rebuild the index silently — which is also how this tool reads — while strict readers follow the stored offsets and fail when those are wrong. A successful repair makes the file acceptable to both kinds.
Compress a PDF in your browser: keep text with a lossless re-save, or go smallest with page images. Real byte counts shown.
Image, PDF and DocumentsAdd "Page 2 of 3"-style numbers to a PDF in your browser, with six positions and a custom start count.
Image, PDF and DocumentsCrop PDF pages by setting margins in points or percent, in your browser. Honest note: a crop hides content, it does not delete it.
Image, PDF and DocumentsAdd a translucent text watermark to a PDF in your browser — opacity, angle, size and tiled layout controls.
Image, PDF and DocumentsPrefer everything on one page? The original PDF Toolkit merges, splits and rearranges with one shared file list. The full suite is indexed on the PDF Tools hub.
Merge several PDFs into one file in the order you choose, or split one PDF by page range — in your browser, with no upload. Includes a tested merge/split example with measured page counts and file sizes, and an honest account of the password-protected case.