What Flattening a PDF Means and When to Do It

By Docmint Team · · 4 min read

Flattening turns form fields, comments and signatures into fixed page content. Learn when to flatten, and when to rasterize pages instead.

Flattening a PDF merges interactive elements such as form fields and annotations into the page itself, so they look the same everywhere and can no longer be edited. Do it after you have filled in, commented on or signed a document and before you send it. Docmint's Flatten PDF tool offers two modes: "Flatten forms", which keeps text selectable, and "Rasterise", which turns each page into an image.

What does flattening a PDF actually do?

A PDF page can have two layers of content. The first is the static page: the text, lines and images that are drawn when the page is rendered. The second is an interactive layer on top: form fields you can type into, checkboxes, comments, highlights, stamps and other annotations.

The interactive layer is useful while a document is being worked on, but it depends on the viewer. Some viewers display form fields differently, some hide comments, and anyone with an editor can change a filled-in value. Flattening takes what is currently shown in that layer and writes it into the static page, then removes the editable widgets. The result looks exactly as it did, but it is now ordinary page content.

When should you flatten a PDF?

Flattening makes sense whenever a document has moved from in progress to final:

  1. After filling in a form, before you email or upload it, so the recipient sees your answers regardless of their viewer.
  2. After signing, so the signature and any filled fields are fixed in place on the page.
  3. Before archiving a completed application, contract or report.
  4. When a recipient's viewer or an upload portal does not display form fields properly.
  5. When a reviewed document should go out with its comments visible but no longer editable.

Flatten forms or rasterize: what is the difference?

The "Flatten forms" mode bakes field values into the page and removes the editable widgets. Everything else stays as it was: the text layer is kept, so the document remains searchable and you can still select and copy text, and links keep working. This is the right choice for completed applications and most everyday documents.

The "Rasterise" mode converts each page into an image. No text, links or layers remain, so nothing can be changed or extracted from the page content. Use it when you must guarantee that a page cannot be edited or mined for text. The tradeoff is real: the text is no longer searchable or selectable, links are removed, and screen readers have no text to read.

Does flattening remove hidden or covered content?

Not in "Flatten forms" mode. A common mistake is drawing black boxes over sensitive text and assuming the text is gone. It is not: the words are still in the file underneath the shapes, and anyone can select or copy them. Flattening forms does not remove that hidden text.

If you covered sensitive content with boxes, use "Rasterise". Because each page becomes a picture of what is visible, the covered text no longer exists in the file. Flattening also does not touch document properties such as the author name, so pair it with Edit Metadata if those matter.

How to flatten a PDF with Docmint

The file is processed in your browser and never uploaded.

  1. Open the Flatten PDF tool and drop in your filled form or annotated document.
  2. Pick the mode: "Flatten forms" to bake form field values into the page while keeping text, or "Rasterise" to turn each page into an image.
  3. Click Flatten PDF and download the result.

Other ways to flatten a PDF

Printing a filled form to a PDF printer, from a browser or the operating system, often flattens it as a side effect, though results vary by viewer and some may drop fields or links. Full desktop PDF editors usually include a dedicated flatten or print-production option. These are fine if you already use them. Flatten PDF is handy when you want an explicit choice between keeping text and rasterizing, on any device, without installing anything.

Tips and common mistakes

  1. Keep the editable original. Flattening is meant to be final, so save the unflattened version in case you need to correct an answer.
  2. Do not rasterize when you only need to lock form fields. You lose search, copy and links for no benefit.
  3. If you rasterized a document and later need it searchable, OCR PDF can recognize the text again, but the result is never quite as clean as the original text layer.
  4. Flatten before you protect. Add a password with Protect PDF as the last step, so the flattened file is the one that gets encrypted.

A common sequence is Sign PDF, then Flatten PDF, then Protect PDF; you can pass each result straight to the next tool with Continue with.