PDF Tools

Remove comments and highlights from a PDF, not just hide them.

See what is in the file by type, then delete review comments, highlights, sticky notes and stamps while keeping links and form fields if you want. The comment text is deleted from the saved file. Nothing is uploaded.

Delete the markup, keep the document

Review comments, highlights, sticky notes, stamps and pen marks are not part of the page. They sit on top of it as separate objects called annotations. This tool lists what is in your file by type, then removes the ones you choose and saves a clean copy. The text of each removed comment is deleted from the file, not just hidden.

What you can remove

What it leaves alone

The page text and images, bookmarks, document properties (such as author), files attached to the whole document and the original page order. Highlights are annotations, so removing them also removes the yellow; the words underneath stay.

The file is read and written in your browser. The isolated tool frame loads no advertising or analytics scripts and cannot open network connections.

Good to know

Document properties, metadata and scripts stay in the file. This tool opens your PDF with a different reader than the one that drew the preview, and it keeps your pages whole rather than removing content. A PDF built to look different in different readers (for example with an extra hidden version of a page added after its end) can come out different from the preview, so look at the saved file. Fonts and images stay with their pages, and a font used on several pages can reveal which characters appear in the file. To take something out of a document for good, use the redact tool, which turns every page into a picture.

How annotations are stored, and why that matters

In a PDF each page has an optional list called Annots. Every item in that list is a small dictionary describing one annotation: its type (Highlight, Text, FreeText, Stamp, Link and so on), its position, its colour, who wrote it, when, and for comments the text itself. Many also point to an appearance stream, the little drawing that viewers use to show them. The page content is separate, which is why you can switch comments off in a viewer without changing the page.

Because the comment text lives in these dictionaries, hiding comments is not the same as removing them. A viewer that shows “no comments” may still contain them. And a naive cleanup that only takes the item out of the page’s list leaves the old dictionary, with its text, still stored in the file. This tool removes the item from the list and then deletes every object that nothing in the file refers to any more, so the old comment text and the reviewer’s name no longer appear in the annotations or in the tagged-PDF structure entries that described them. The annotation objects are deleted outright, together with their pop-ups, replies and the entries a tagged PDF keeps for them in its structure tree, and the saved file is searched for them in the tests. Text that was copied somewhere else, such as the document properties, an attachment or a page’s own content, is not touched. We test this by searching the saved file, including inside compressed streams, for text that was in a removed comment.

How it works, step by step

The tool opens your file with the open-source pdf-lib library and walks every page’s annotation list. It counts each type so you see what is there before you decide. When you press the button it rebuilds each list without the types you chose, removes the list altogether if it is empty, deletes now-unreferenced objects, and saves. If you also remove form fields it removes the form dictionary from the document.

Worked example

A colleague returns a 9-page contract with 14 highlights, 6 sticky notes, 2 stamps and 3 links to your own website. You open it here and the summary reads: 14 Highlight, 6 Text, 2 Stamp, 3 Link. You leave “Comments and markup” ticked and links unticked, press the button, and the result says 22 annotations removed and 3 kept. In the new file the contract text is intact, the three links still work, and none of the colleague’s note text or their name from the comment author field is left in the comments or their structure tags.

Remove, flatten or redact?

  • Remove (this tool) makes the markup disappear. Use it before you send a clean copy.
  • Flatten keeps the look and drops the editing. Use the flatten tool to freeze highlights into the page.
  • Redact destroys the text underneath. If someone “redacted” a page by drawing a black box as an annotation, removing that annotation reveals the text under it, because the text was never removed. Use the redact tool for real removal.

Common mistakes

  • Thinking this scrubs the whole file. The author name in the document properties, tracked metadata and attachments are separate. Run the metadata remover too if you need them gone.
  • Removing links by accident. Links are annotations. They are kept unless you tick the box.
  • Expecting text typed with an “Edit PDF” tool to be removed. That text is part of the page, not an annotation. Only markup that is stored as an annotation is removed here.
  • Removing the form when you only meant the comments. Form fields are off by default for this reason.

What this tool does not do

  • It does not read or display comment text. It reports counts by type only.
  • It does not remove tracked changes from a Word document; that belongs in Word before you export to PDF.
  • It does not remove document-level attachments, JavaScript or bookmarks.
  • It does not open password-protected PDFs. Remove the password first with the remove password tool.
  • It will invalidate a digital signature, because saving rewrites the file. It also drops older revisions that incremental saves had kept, since only the current version is written.

Limits

Up to 40 MB and 500 pages. A file with thousands of annotations can take a few seconds.

Related tools

After cleaning, flatten any remaining forms, strip metadata, compress the result and protect it with a password.

Frequently asked questions

How do I remove comments and highlights from a PDF?

Open the file here, keep “Comments and markup” ticked and press Remove from PDF. The new file has no highlights, notes or stamps, and the comment text is deleted from it.

Is my PDF uploaded?

No. Everything happens on your device in a sealed frame that has no advertising code and cannot make network requests.

Are the comments really deleted, or just hidden?

Deleted. After taking the annotations out of each page the tool deletes every object that is no longer referenced, so the old comment text and author names are gone from the annotations, including the pop-ups, replies and tagged-PDF structure entries that pointed at them.

Will removing a highlight also remove the highlighted words?

No. A highlight is a coloured overlay stored as an annotation. Removing it removes the colour; the words are part of the page and stay.

Does it remove the author name and other document properties?

No. Document properties are separate from annotations. Use the PDF metadata remover for those.

Why would I keep the links?

Links are stored as annotations too. By default they are kept so that a contents page or web addresses still work. Tick the Links box if you want them removed.

Can it remove a black box that someone drew to “redact” text?

It can remove the box if it is an annotation, but that will reveal any text underneath. This is exactly why a black box is not real redaction. Use the redact tool to remove text properly.

What about comments added in Word with tracked changes?

Those belong to the Word file. Remove or accept them in Word before exporting. This tool deals with annotations stored in the PDF.

Sources

Checked

Runs entirely in your browser. Nothing you choose is sent or stored.

Common mix-ups

  1. ISO 32000-1 (PDF 1.7) specification, Adobe-hosted copy

Checked against these sources on .

Advertisement
Advertisement