Skip to content
DeviceCheckHub

Flatten PDF

Lock a filled-in form, comments, stamps and signatures into the pages of a PDF, so they can’t be changed and look the same everywhere. Your PDF never leaves your device.

Choose or drop a PDF to start. It stays on your device.

How to flatten a PDF

  1. Choose a PDF file or drop it on the box.
  2. The tool lists what it found: form fields with their answers, and comments, highlights, drawings, stamps and signatures added in a PDF reader.
  3. Press Flatten PDF. The flattened copy downloads with -flattened added to its name, and your original file stays as it was.

What flattening means

A PDF has two layers. The pages hold the text, pictures and lines that make up the document. On top of them, a PDF can carry extra items: form fields you can type in or tick, and annotations such as sticky notes, typed comments, highlights, underlines, shapes, freehand drawings, stamps and signatures added with a reader like Adobe Acrobat Reader, Mac Preview or Microsoft Edge.

Those extra items can be changed by anyone who opens the file, and not every app shows them the same way. Flattening draws each of them into the page exactly as it looks, then takes the original fields and annotations out of the file. The result looks the same, but it is one fixed layer that can’t be typed over or edited in a reader.

When to flatten a PDF

What stays the same

Nothing is turned into a picture. The pages keep their text, so it can still be selected, copied and searched, and their pictures keep their quality. The answers from text fields become ordinary text on the page. Links keep working, and bookmarks and the document’s details are kept. The file usually stays about the same size.

A few things are left out or left as they are. Hidden fields and comments, which don’t show on the page, are left out. Comments that have no saved look, which some apps make, can’t be drawn and stay as comments; the tool tells you when that happens. The pop-up text of a sticky note isn’t drawn, only the note icon, as when the page is printed.

Filled-in forms and out-of-date answers

Every form field stores its answer and, separately, how that answer looks on the page. Some apps, especially on phones and in web browsers, save the answer without updating its look, and ask the reader to redraw it. That is why a form can look filled in on one device and blank on another.

Before flattening, this tool gives every field whose look is out of date a new one drawn from its answer, so the answers you typed are what ends up on the page. Ticked checkboxes and chosen radio buttons use the look the form was designed with.

Other ways to flatten a PDF

Flattening a PDF on a phone

The tool works in Safari and Chrome on iPhone, iPad and Android. Tap Choose a PDF file and pick it from the Files app, Google Drive or your downloads. On an iPhone or iPad, the flattened PDF goes to the Files app under Downloads; on Android, to the Downloads folder. To fill in a form first, open it in the Files app on an iPhone, or in a PDF reader on Android, type your answers and save it.

If something goes wrong

Privacy

Filled-in forms often hold names, addresses, account numbers and signatures, so this tool never uploads them. Your browser reads the file and writes the flattened copy on your device, and nothing about it is saved or sent anywhere.

PDFs are flattened with qpdf by Jay Berkenbilt (Apache 2.0 license), built for the browser by qpdf-wasm (ISC license; it also includes libjpeg-turbo and zlib, whose licenses are in the same file). What a PDF holds is read with pdf-lib by Andrew Dillon (MIT license), which uses UPNG, standard fonts data and pako.

Frequently asked questions

What does flattening a PDF do?

It turns the parts of a PDF that sit on top of the pages, such as form fields, comments, highlights, stamps and signatures, into part of the pages themselves. They look exactly the same, but they can no longer be typed in, moved, edited or deleted with ordinary PDF readers, and they show the same way in every app and when printed.

Is my PDF uploaded?

No. Your browser reads the PDF and writes the flattened copy on your own device, so nothing is sent to this website or anyone else. That matters for forms, which are often full of personal details.

Can a flattened PDF be unflattened?

No. The fields and comments are taken out of the file, so there is nothing left to turn back into a form. Keep your original file, which isn’t changed, in case you need to edit the answers later.

Does flattening make text unsearchable?

No. This tool doesn’t turn pages into pictures. Text on the pages, and the answers drawn from form fields, stay sharp and can still be selected and searched in most readers, and the file stays small. Links keep working.

Why do my filled-in answers look different in different apps?

A form field stores what was typed and, separately, a picture of how it looks. Some apps update only one of them, so an answer can show in one reader and be blank in another. Flattening fixes this: any field whose look is out of date gets a new one from its answer first, and then that look becomes part of the page.

Why can’t I flatten my PDF?

A PDF with a password, or with restrictions on editing, keeps its pages encrypted, so nothing can be drawn into them. Remove the protection first with Unlock PDF on this site. A damaged or partly downloaded file can’t be read either.

Last updated · About DeviceCheckHub