How to flatten a PDF
- Choose a PDF file or drop it on the box.
- The tool lists what it found: form fields with their answers, and comments, highlights, drawings, stamps and signatures added in a PDF reader.
- 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
- Sending a filled-in form: applications, tax forms, contracts and registration forms often have to be returned so that the answers can’t be changed. Flattening also stops answers from disappearing when the form is opened in a different app.
- After signing: a signature drawn or typed in a reader is an annotation that could be moved or removed. Flattened, it is part of the page. A digital signature, the kind that proves who signed with a certificate, can’t be checked any more after flattening, although it still shows.
- Sharing reviewed documents: comments, highlights and markup from a review show the same for everyone, including in apps and printers that ignore annotations.
- Before printing: some printers and print shops print only the pages, not the fields and comments on top. Flattening makes sure what you see is what prints.
- Before merging or converting: form fields with the same names in different files can clash when files are merged, and some converters drop annotations. Flattening first avoids both.
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
- Print to PDF: printing a PDF to a new PDF flattens it on most computers, but it can turn pages into pictures, make text unsearchable, change the page size and leave out comments.
- Adobe Acrobat: the paid version can flatten forms and comments with a Preflight fix-up, or by printing to the Adobe PDF printer.
- Other online flatteners: many upload your file to their servers and limit how many files or pages you can flatten for free; this one runs on your device with no limits other than its memory.
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
- “Protected with a password or with editing restrictions”: remove the protection with Unlock PDF, flatten the unlocked copy, then add a password again with Protect PDF if you need one.
- “No form fields or comments to flatten”: the PDF is already flat. If you still see boxes you can type in when you open it, it may be an XFA form, which only Adobe Reader fills in.
- “An XFA form”: fill it in Adobe Acrobat Reader, then choose Print and save it as a PDF; the printed copy is flat.
- An answer looks plainer than before, or is missing: fields whose look had to be redrawn get a simple one, and characters outside Western European languages may not show. Fill the form in a reader that updates field looks, such as Adobe Acrobat Reader, save it, and flatten again.
- Need to add a signature first: sign the PDF with Sign PDF, which draws the signature into the page as it saves.
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.