↑↓ to move ↵ to open Esc to close Browse all tools

Flatten PDF

Bake filled form fields, comments, stamps and drawings into the page, so nobody can edit or move them any more. Text stays selectable.

Embed

Flatten a PDF

Your PDF is flattened by your own browser. Nothing is uploaded.

Hand-checked listFree E-Signature ToolsFree e-signature plans with their monthly document caps, templates and audit trails, open source and self-hosted tools marked.

Flatten PDF by Freebiefy, free online tools · Privacy · Legal notice

Embed this tool on your site

Paste this code into your page. The tool runs in the visitor's browser, free and without signup. The height adjusts to the content. All tools you can embed

What flattening a PDF does

A filled form field, a sticky note, a highlight, a stamp or a signature drawn with a PDF app is not part of the page itself. The PDF format stores each of them as an annotation: a separate object that sits on top of the page, with its own position and its own look, called an appearance. That is why you can still click into a field, drag a stamp or delete a comment.

Flattening draws that appearance into the page content and removes the annotation. Adobe's JavaScript reference for Acrobat describes its own flatten command the same way: it converts annotations to page contents, and afterwards they may have appearances but they are no longer annotations. This tool does the same in your browser. Each appearance is placed over the rectangle the annotation covered, with its transparency, so the page looks as it did. Text inside a field or a text box stays text, so you can still select and search it.

Form fields only, or fields and annotations

OptionWhat becomes part of the pageWhat stays as it is
Form fields onlyEvery field with its value: text fields, checkboxes, radio buttons, lists, signature fieldsAll comments, stamps, drawings and links
Fields and annotationsFields, plus comments, highlights, underlines, stamps, freehand drawings, shapes and text boxes that have their own appearanceLinks (unless you untick Keep links clickable), attached files, media, redaction marks that were not applied, annotations without an appearance
Flatten as imagesEverything visible: each page becomes one picture, as your browser shows itLinks, if you keep them clickable

The form itself is removed in all three cases, so a flattened form can no longer be filled in. A form that is not finished yet is better filled first with Fill PDF Form, which can also flatten when it saves. Hidden annotations are removed, because they are not shown. Attached files keep their paperclip annotation, because baking only the icon would throw the file away.

Annotations without an appearance

Some apps save comments, shapes or text boxes without an appearance and leave it to the PDF viewer to draw them. The PDF 2.0 standard, ISO 32000-2, asks for an appearance on every annotation except pop-ups, links and projections, and notes that without one the rendered look depends on the app that shows it. Such an annotation has no fixed picture that could be put into the page, so the tool leaves it as it is and tells you how many there are. If those must become part of the page, choose Flatten as images: your browser draws them, and the drawing is saved.

Forms can also ask the viewer to draw the field contents (the NeedAppearances flag). The tool then draws the text and list fields again before flattening, in Helvetica, which covers Latin letters with accents. A field with characters that Helvetica cannot draw, such as letters from other alphabets, keeps the look it already had, and the tool names it.

Keep text or flatten as images

The default method keeps everything as vector content: text stays sharp at any zoom and stays selectable, and the file grows only a little. Flatten as images draws every page at 150, 200 or 300 dpi and stores it as one JPEG picture. That is the strongest way to make a page look the same everywhere, but the text is gone as text: it cannot be selected, searched or copied, screen readers cannot read it, and the file is usually larger. Links can stay clickable on top of the pictures.

What flattening does not do

  • It does not hide or remove text. Flattened form values are ordinary page text afterwards, and anyone can copy them. To remove words for good, use Redact PDF. Redaction marks that were placed in another app but not applied are not applied by flattening; the tool tells you when it finds some.
  • It is not a lock. Page content can still be changed with a PDF editor. To ask for a password before editing, use Protect PDF on the flattened copy.
  • It does not change the document properties. To see or clear the title, author and other metadata, use the PDF Metadata Editor.
  • It does not work on encrypted PDFs. If the file has a password or editing restrictions, remove them first with Unlock PDF if you are allowed to.

How to flatten a PDF

  1. 1Drop your PDF on the box or choose it. The tool lists the form fields and annotations it found, and which ones have no appearance of their own.
  2. 2Choose Form fields only, or Fields and annotations. Keep links clickable if the PDF has links. Choose Flatten as images only if the text does not need to stay selectable.
  3. 3Press Flatten PDF. The new copy downloads with "-flattened" in its name, and the result tells you what was flattened and what was kept.

Sources

Frequently asked questions

Can I still select and search the text after flattening?

Yes, with the default method. Each field and annotation is drawn into the page as it looks, and text in it stays text, so you can still select, search and copy it, including the values that were typed into the form. Only Flatten as images turns every page into a picture; then the text can no longer be selected or searched.

Does flattening stop people from changing my PDF?

It stops the easy changes: nobody can type into a field, move a stamp or delete a comment any more, because they are no longer separate objects. In that sense the form becomes uneditable. It is not a lock, though. Someone with a PDF editor can still edit the page content, as with any PDF. To limit changes with a password, use Protect PDF after flattening.

Why are some comments still there after flattening?

Those comments have no appearance of their own in the file. The PDF standard leaves their look to each app, so there is no fixed picture to bake into the page. They stay as comments. Choose Flatten as images to make them part of the page as your browser shows them.

What happens to the text inside sticky note comments?

The note icon is baked into the page, but the comment text that opens in a pop-up window is not part of the page, so it is removed with the comment. If you need that text, export or copy the comments first in your PDF app.

Is my PDF uploaded?

No. Your browser opens the PDF, flattens it and saves the new file on your device. Nothing is sent to a server, so filled tax forms, contracts and signed papers stay private.

Can I undo flattening?

Not in the flattened file: the fields and comments are gone as objects. The tool never changes your original, it saves a new copy with "-flattened" in the name, so keep the original if you may need to edit the form again.