PDF tool / 100% free

Sanitize PDF

Large language models leave invisible characters behind: zero-width spaces, narrow no-break spaces, soft hyphens and bidirectional marks that survive every copy and paste. This removes them from a PDF in place, along with the metadata, comments, bookmarks and embedded attachments the file carries. The document stays a real PDF with selectable text, and the wording of your work is never altered. It is free, needs no account, and adds no watermark to your result.

Built for: sanitize pdf

Sanitize PDF

Add your files. Recommended settings are ready, so you can process in one click.

Drop files here

PDF, Word, images, audio, video, archives and more

Up to 100 files · 250 MB · No account
  1. 1Add files
  2. 2Choose an action
  3. 3Download or keep going
Private by default. Selected files upload only for server actions.Privacy details
When you need this

What people use it for.

Cleaning a research paper or thesis drafted with AI assistance before submission, without changing a single word of the argument
Removing the hidden characters that make a pasted quotation break search, diffing or plagiarism checks
Stripping author names, comments and attachments from a PDF before it leaves your organisation
How it works

What happens to your file.

Every text object on every page is scanned for the invisible code points, and the affected spans are redrawn without them using the same font, size, colour and position, so the page looks identical. This edits the text objects themselves rather than rasterising the page, which is why the result stays selectable, searchable and accessible instead of becoming a picture of your document. Metadata, annotations, bookmarks and attachments are cleared in the same pass.

Where it stops: Visible characters are never touched: an em dash stays an em dash, because rewriting your punctuation would change your writing. Text baked into a scanned page image is not text objects, so run OCR first if your PDF is a scan.

What this tool includes

Everything you need, without a paywall.

Free Pro batch queue included
Removes invisible and zero-width characters
Keeps real selectable text, never rasterised
Remove standard and XML metadata
Remove comments, annotations and attachments
Preserve visible page content
Questions

Common questions.

Will this change what my document actually says?

No. Only characters with no visible width are removed. Every word, every mark of punctuation and every line break you can see stays exactly as written, so the meaning and the reading of your work are untouched.

Why not just copy the text into a plain text box?

Because you lose the document. The tools that clean invisible characters almost all work on pasted text, so you get a wall of unformatted text back and have to rebuild headings, citations, tables and figures. This one edits the PDF itself and hands the PDF back.

Does the text stay selectable afterwards?

Yes. The cleaned spans are re-drawn as text with the original font embedded, not painted over or flattened to an image. The result is still searchable, still copyable and still readable by a screen reader.

Which characters are removed?

Zero-width space, zero-width joiner and non-joiner, the word joiner, narrow and ordinary no-break spaces, soft hyphens, bidirectional and directional formatting marks, and the byte-order mark. These are the code points that carry no width and are used to fingerprint machine-written text.

Is my file uploaded anywhere else?

No. Processing runs on our own server with no external service, no API key and no account, and the temporary working copy is removed after processing.

Related free tools

You might also need.