Sanitize a PDF
You get a count of exactly what came out: JavaScript actions, attachments, and auto-run triggers, tallied as each item is deleted rather than guessed at afterward.
Files are processed entirely in your browser. Your file's contents never leave your device.
Your PDF never touches a server. There's nothing here to ration.
No daily caps. No spinner that turns into a paywall after the third file.
Private by architecture
Your PDF never leaves your device.
Unlimited use
No daily caps or hourly throttling on the tools themselves.
No signup, no watermarks
Every tool below works with or without an account.
Works offline
A tool you've already loaded keeps working offline.
Doing the same few steps to a folder of PDFs? Run several tools in one pass
About this tool
A PDF is more than a picture of a page. The format lets a file carry JavaScript, and lets that script be wired to run the moment the document is opened, or when a page is turned, or when it is printed or closed. It can also carry whole other files inside it, riding along invisibly. Almost no everyday document needs any of that, which is why those features are a favorite of people sending attachments they hope you will open. It is also why a document arriving from outside your organization is worth cleaning before it goes any further.
Drop a PDF and it is stripped immediately: embedded scripts, the open/close/print action slots that trigger them, and files attached inside the document. The page content is not touched. Text stays selectable, images keep their resolution, form fields still work, and nothing is rasterized. The result tells you exactly what came out, because a sanitized PDF looks identical to the one that went in and the count is the only evidence you get. A file that was already clean is handed back untouched and says so, rather than being re-saved to look like something happened.
All of it runs in your browser with pdf-lib, which is the part that matters for a security tool: a document you are unsure about is never uploaded to be inspected, so it is never sitting on someone else's disk. Removal is real rather than cosmetic. Each script and each embedded file is deleted from the document along with the objects it owns, not merely unlinked, so the payload is not left readable in the bytes. Your original file is not modified; the cleaned copy downloads as its own PDF.
Frequently asked questions
What exactly does it remove?
Will it change how my document looks?
Is this the same as antivirus?
My PDF came back saying there was nothing to remove. Is that bad?
Does the file get uploaded to be checked?
All PDF tools
All free, all in your browser. Pick the task you need.
Popular
- PNG to PDFCombine PNGs (screenshots, diagrams, scans) into one PDF.
- JPG to PDFCombine multiple JPG images into a single PDF.
- PDF to PNGRender every page as a lossless PNG. Sharp text, transparency kept.
- Unlock PDFRemove the password from a PDF you can open. Nothing uploaded.
- Word to PDFTurn a Word .docx into a PDF with real, selectable text.
- Merge PDFsCombine several PDFs into one file with drag-to-reorder.
- Compress PDFShrink a PDF down to email size. Three quality levels.
- Split a PDFCut one PDF into many by page ranges or every N pages.
Convert & scan
- PNG to PDFCombine PNGs (screenshots, diagrams, scans) into one PDF.
- JPG to PDFCombine multiple JPG images into a single PDF.
- PDF to PNGRender every page as a lossless PNG. Sharp text, transparency kept.
- Word to PDFTurn a Word .docx into a PDF with real, selectable text.
- PDF to JPGRender every page of a PDF as a JPG image.
- OCR a PDFMake scanned PDFs searchable. The OCR runs in your browser.
- Excel to PDFTurn an Excel .xlsx into a clean, printable PDF.
- PDF to textExtract the text content of a PDF as a plain .txt file.
- PDF to WordTurn a PDF into an editable Word document with paragraphs, headings, and styling recovered from the text.
- PDF to ExcelExtract the tables in a PDF into an Excel spreadsheet, one sheet per page.
- HTML to PDFConvert HTML markup or a saved webpage into a PDF document.
Organize pages
- Merge PDFsCombine several PDFs into one file with drag-to-reorder.
- Split a PDFCut one PDF into many by page ranges or every N pages.
- Organize PDFReorder, delete, rotate, and duplicate pages in one place.
- Split pages in halfCut every page down the middle. Turns two-up book scans into real pages.
- Remove blank pagesFind and drop the empty pages a duplex scan leaves behind. You confirm each one.
- Interleave PDFsCombine two half-scans into one correctly ordered PDF, alternating pages.
- Delete pagesRemove unwanted pages and save a clean copy.
- Extract pagesPull a selection of pages out into a new PDF.
- Reorder pagesDrag pages into the order you actually want.
- Rotate pagesTurn sideways or upside-down pages the right way up.
- Duplicate pagesCopy any page as many times as you need.
- Reverse pagesFlip the page order so the last page comes first.
Edit & sign
- EditorOpen the full editor: text, shapes, drawings, and more.
- Read a PDFRead any PDF in your browser. Search, select, copy. Nothing uploaded.
- Fill a PDF formFill interactive form fields: text, checkboxes, dropdowns.
- Sign a PDFDraw or type a signature and place it on any page.
- Edit PDF textReplace text in place. Fix typos, update names and dates.
- Add image to PDFDrop logos, photos, or stamps onto any PDF page.
- Remove annotationsDelete comments, highlights, and markup for a clean copy.
Security & privacy
- Unlock PDFRemove the password from a PDF you can open. Nothing uploaded.
- Protect PDFAdd an AES-256 password to a PDF. Encrypted in your browser.
- Redact PDFPermanently remove text from a PDF. Destroyed, not covered. All in your browser.
- PDF metadataSee who a PDF says wrote it, then edit or strip it all.
- Clean before sharingStrip metadata, scripts, comments and form data before you send a PDF.
Compress & fix
- Compress PDFShrink a PDF down to email size. Three quality levels.
- Flatten PDFBake form fields and annotations into the page for good.
- PDF RecipesSave a set of steps and run it over many PDFs at once. Nothing uploaded.
- Resize PDFResize pages to A4, Letter, or any scale, proportions kept.
- Crop PDFTrim margins off every page, and actually delete what you cut.
Stamp & number
- Court filing prepBates-number a whole production, stamp it, and lock it, all in one pass.
- Watermark a PDFStamp text across every page: DRAFT, CONFIDENTIAL, your name.
- Header & footerStamp text into the margins: CONFIDENTIAL, dates, filenames, page counts.
- Bates numberingSequential legal numbering across a whole document set. No file cap.
- Add page numbersNumber every page. You pick the corner and the format.