How to flatten a pdf to ensure compatibility with all viewers
- Step 1Reproduce the rendering problem — Open the PDF in the viewer that misbehaves — a phone app, a browser tab, an email preview — and note what is wrong: empty boxes, missing field values, or a compatibility banner.
- Step 2Confirm the issue is the form layer — If the broken parts are filled-in fields (text, checkboxes, dropdowns) rendering wrong, flattening will fix them. If it is video, audio, or scripted content, flatten is not the tool — see the edge cases.
- Step 3Drop the PDF onto the flatten tool — Open the PDF Flatten tool and drop the file. Flattening runs automatically — there is no Process button.
- Step 4Let it flatten the field layer — The tool draws each field's value onto the page and removes the interactive widget across all pages.
- Step 5Re-test in the problem viewers — Open
yourfile.flatten.pdfin the same mobile app, browser, and email preview that failed before, and confirm the values now render. - Step 6Distribute the flat copy — Use the flattened PDF wherever broad compatibility matters. Keep the editable original if you may need to change a value later.
What flattening fixes vs what it does not
Flatten removes the AcroForm field layer. It is not a general 'remove all interactivity' button.
| Symptom | Flatten fixes it? | What to use |
|---|---|---|
| Form fields show as empty boxes in a viewer | Yes | This tool — values become static page content |
| Filled values missing on mobile / email preview | Yes | This tool |
| Checkboxes / dropdowns not rendering | Yes | This tool |
| Comments / highlights showing oddly | No (not form fields) | Annotation Remover |
| Embedded video / audio not playing | No (out of scope) | Not handled — flatten targets the form layer only |
| Page layout / fonts shifting | No | Not a form issue — check fonts or use the version converter |
Where the empty-box problem appears
Common viewers that render interactive form fields inconsistently, which flattening resolves.
| Viewer / context | Typical interactive-form problem |
|---|---|
| Mobile PDF apps (iOS / Android) | Filled fields show blank or as outlined boxes |
| Browser built-in viewers | Field values omitted or rendered late/partially |
| Email preview panes | Form layer skipped; values not shown |
| Lightweight / legacy desktop viewers | Widgets drawn as empty rectangles |
| Document thumbnails / previews | Field content absent from the preview image |
Cookbook
Compatibility fixes and exactly what flattening does for each.
Filled form shows blank in a phone PDF app
You filled a form on desktop, but a colleague on their phone sees empty boxes. Flattening bakes the values into the page so the phone app renders them.
Phone app on original: empty outlined boxes flatten → Phone app on flat copy: values shown as page text Download: form.flatten.pdf
Email preview drops the field values
An email client's preview pane skips the interactive layer and shows a blank-looking form. Flatten makes the values part of the page, which the preview renders.
Attach form.pdf → preview shows empty form Attach form.flatten.pdf → preview shows filled values (Same fix for thumbnail/preview generators.)
Confirm the issue is the form layer, not media
Flatten only helps with form-field rendering. If the broken content is an embedded video, flatten will not fix it — diagnose before flattening.
Broken thing = a text field value → flatten fixes it
Broken thing = an embedded video clip → flatten won't help
(out of scope)Strip leftover comments, then flatten for distribution
A widely distributed PDF should be free of both odd-rendering form fields and reviewer comments. Remove annotations, then flatten the fields.
Step 1: Annotation Remover → removes comments/highlights Step 2: PDF Flatten → bakes the field values in Result: renders cleanly everywhere.
No fields present — already universally compatible
If the PDF has no form fields, the rendering issue is not the form layer. Flatten re-saves the file but will not change a non-form rendering problem.
Input: report.pdf (no form fields)
Flatten: nothing to flatten — re-saves
If it still renders wrong → the issue is fonts/media,
not the form layer.Edge cases and what actually happens
Embedded multimedia or JavaScript content
out of scopeFlatten operates on the AcroForm field layer only. It does not strip or 'resolve' embedded video, audio, or document-level JavaScript — those are separate PDF features the flatten pass does not address. If a viewer is failing on media or scripts, flattening will not fix it; remove or convert those elements with dedicated software.
Comments and highlights still render
PreservedAnnotations are not form fields, so flatten leaves them in place — they can still render inconsistently across viewers. If annotation rendering is part of your compatibility problem, run the Annotation Remover before or after flattening.
Field value uses non-WinAnsi characters
may fail silentlyWhen flatten regenerates an appearance it uses the default WinAnsi Helvetica. A value with CJK or some accented characters can throw; the tool catches it and re-saves, possibly leaving that field interactive. Re-test in the target viewer; if a specific field is the problem, the cause is likely a font/encoding limitation.
The rendering problem is not the form layer
ExpectedFlattening only changes the interactive field layer. If a viewer is mangling page fonts, layout, or images, flatten will not help because those are page content, not form fields. Diagnose the symptom first — flatten fixes empty-box/missing-value field issues specifically.
PDF has no form fields at all
ExpectedWith no AcroForm fields, there is nothing for flatten to do; the tool re-saves the document and returns a valid PDF. Any remaining rendering problem is unrelated to the form layer (likely fonts or media), so flattening will not change it.
Encrypted PDF is decrypted on output
decrypts on saveThe tool opens encrypted PDFs by ignoring the password and saves the output unencrypted. For a freely distributable, universally readable copy that is usually fine — but if the file should stay protected, re-apply protection with the Password Protect tool.
File over 2 MB or 50 pages on Free
blocked on freeFree flattening caps at 2 MB and 50 pages; a larger file is blocked with an upgrade prompt. Pro raises the limit to 50 MB / 500 pages, which covers most distribution documents.
Dynamic XFA form does not render anywhere
not supportedIf the file is a dynamic XFA form, non-Adobe viewers often show nothing at all, and this tool cannot flatten the XFA layer to fix it. Open the form in Adobe Acrobat to convert it to a static PDF, which will then render universally.
Frequently asked questions
Why does my filled PDF show empty boxes in some viewers?
Because those viewers do not render interactive AcroForm fields the way Acrobat does — some draw the widget outline but not the value, and some skip the form layer entirely. Flattening converts each field's value into static page content, which every viewer draws correctly. That is the single most reliable fix for the empty-box and missing-value problem.
Will the flattened PDF look the same in every viewer?
The field values will, because flatten turns them into ordinary page content that all viewers render. Flatten does not change anything else — page text, images, and layout are untouched. If a viewer still shows a difference, it is not the form layer; check fonts, media, or the PDF version instead.
Does flattening remove video, audio, or JavaScript?
No. Flatten targets the AcroForm field layer only. Embedded multimedia and document-level JavaScript are separate PDF features that this tool does not strip or resolve. If a viewer is failing on those, flattening will not help — you need software that specifically handles embedded media.
Will the layout look exactly the same after flattening?
Yes. Flatten draws each field's value where the field was and leaves all page content alone, so the visual layout is identical. The only change is that the values are now fixed content rather than editable fields — which is exactly what makes them render consistently everywhere.
Can I re-add the form fields after flattening?
Not with this tool, and not from the flattened file — flattening is permanent and deletes the fields. If you may need the interactive form again, keep the editable original. Re-adding fields requires a full PDF editor like Adobe Acrobat.
Is there any setting to choose?
No. The tool flattens the entire form layer automatically when you drop the file — there are no options. For a compatibility fix that is ideal: you cannot accidentally leave part of the form interactive through a setting. Drop, flatten, download, re-test.
What is the output file named?
Your original name plus .flatten.pdf — for example form.pdf becomes form.flatten.pdf. Distribute that file where compatibility matters and keep the original if you might need to edit values later.
Is my file uploaded to make it compatible?
No. Flattening runs entirely in your browser via pdf-lib; the document never leaves your device. Only an anonymous usage counter is recorded when signed in, with no file content. You get a universally compatible PDF without exposing it to a server.
My PDF has no form fields but still renders wrong — will flatten help?
No. With no AcroForm fields there is nothing to flatten; the tool just re-saves the file. If it still renders incorrectly, the cause is something other than the form layer — typically embedded fonts that are not subset/embedded, media, or an old PDF version. Address those directly rather than flattening.
Why do email previews show my form as blank?
Email preview panes commonly skip the interactive form layer when generating a preview, so a filled interactive PDF can look empty. Flattening makes the values part of the page content the preview actually renders, so the recipient sees the filled form in the preview instead of a blank one.
Does flattening help with PDF thumbnails and previews?
Yes. Thumbnail and preview generators often render only page content and ignore form widgets, so a filled form can show blank in a file-manager preview. Once flattened, the values are page content and appear in thumbnails and previews. It is the same root fix as the viewer empty-box problem.
How large a file can I flatten for free?
Up to 2 MB and 50 pages on the free tier, which covers most documents you would distribute for broad compatibility. Larger files need Pro (50 MB / 500 pages) or Pro+Media (500 MB / 2,000 pages). The tool processes one PDF per run.
Privacy first
All PDF processing runs locally in your browser using PDF-lib and pdf.js. No file is ever uploaded — only metadata counters are saved for signed-in dashboard stats.