Annotate a PDF

Mark every place a word appears in a PDF, and pin a short note to the first page.

or drop it here · files stay on your device
We count formats and sizes. Filenames stay private unless you opt in.

Highlight these words (comma separated)
Highlight colour
Note on page 1 (optional)
Processed on this device
  • Runs on your device
  • No sign-up or watermark
  • No fixed file size cap

The short answer

To highlight text in a PDF here, open it in damnfiles Annotate a PDF, type the words to mark, separated by commas, pick yellow, green, pink or blue, and optionally add a note for page 1. pdf.js finds the words in the text layer, then pdf-lib draws translucent highlights over every match, in your browser. Nothing is uploaded.

How to highlight text in a PDF and add a note

  1. STEP 1

    Choose a text-based PDF

    Drop it on the page or pick it. Scans need Scan to searchable PDF first, or there is no text to search.

  2. STEP 2

    List the words to highlight

    Type terms separated by commas, such as deadline, penalty. Matching ignores capitals and finds words inside longer ones.

  3. STEP 3

    Pick a colour and add a note

    Choose Yellow, Green, Pink or Blue. Note on page 1 is optional, for a line such as Check clause 4.

  4. STEP 4

    Annotate and save

    Press Add the annotations. The report counts the highlights, and the copy saves with -annotated on its name.

Search-based highlighting

Most annotators make you drag across each passage by hand. This one works from a list of words instead: give it deadline, penalty, termination, and every occurrence across the whole document is marked in one pass. It suits reviewing contracts, policies or exam papers for specific terms.

Highlighting needs a text layer. A PDF exported from a word processor has one; a scanned page is only a picture of text, so it must go through OCR first to make the words findable.

What survives, and what does not

The document's text is read as runs, the chunks of text a PDF stores together, often a phrase or a whole line. Any run containing one of your words, ignoring case, gets a translucent rectangle drawn over it. The note is a pale yellow box in the top right of page 1, holding up to four lines of text.

What you keep

All text readable through the translucent highlight

Searchable, selectable text underneath

Every page's layout and images

What you lose

Highlights cover the whole text run containing a match, often a full line, not just the word

Highlights and the note are drawn into the page, not added as editable comments

Only one note, fixed to the top right of page 1

Honest limits are published on every tool page. If a tool cannot do something well, it says so here rather than letting you find out after the download.

Annotate a PDF at a glance

InputOne PDF with a text layer
OutputPDF (-annotated)
Highlight coloursYellow, green, pink, blue
NoteOne, top right of page 1, up to 4 lines
Enginespdf.js (text search) and pdf-lib (drawing)
Runs onYour device, in the browser

If something goes wrong

It says none of those words appear

Either the spelling differs, or the PDF is a scan with no text layer. Run it through Scan to searchable PDF and try again.

Whole lines are highlighted, not single words

The PDF stores that text as one long run, and the highlight covers the run. Use a more distinctive term to reduce how much is marked.

Annotate a PDF questions

How do I highlight text in a PDF without Acrobat?

Open this page in any browser, choose the PDF, type the words to mark and press Add the annotations. Every occurrence is highlighted at once, with no software to install.

Is my PDF uploaded to annotate it?

No. Searching and drawing both happen in your browser, using pdf.js and pdf-lib. The annotated copy saves straight to your device.

Why can I not highlight text in a scanned PDF?

A scan is a picture of a page, with no characters to find. Run Scan to searchable PDF first to add a text layer, then highlight.

Can I remove the highlights later?

Not from the annotated copy, because they are drawn into the page rather than stored as comments. Keep the original if you might want a clean version.

Is highlighting the same as redacting?

No. A highlight is translucent and the words stay readable and searchable. To remove text so it cannot be recovered, use Redact a PDF.

One of 153 file tools and planned additions. Built and tested by Arin Prajapati, last checked against the code on . canonical: https://damnfiles.com/annotate-pdf
Analytics preferences

Help us understand which tools and file types people use. File contents always stay on your device.

Filename sharing is optional and off by default. Names can contain personal information. Changes apply to future events; disabling sharing does not delete earlier records.

Read our privacy policy