Home › PDF Tools › Flatten PDF

Flatten PDF

Merge filled-in form fields, comments, stamps and other annotations into the page content so nobody can change them, or turn every page into a flat image. Your PDF is processed in the browser and never uploaded.

Last updated:

Advertisement

How to use the Flatten PDF

  1. Open a PDF with the Open PDF button or drop it onto the drop area. The tool counts pages, form fields and annotations.
  2. Choose a mode: Flatten forms & annotations keeps text selectable; Flatten everything to images locks everything into pictures.
  3. Adjust the options, such as keeping links clickable or the image resolution.
  4. Press Flatten PDF and wait a moment.
  5. Download the flattened PDF and check it in your PDF reader.

What gets flattened

ElementFlatten forms & annotationsFlatten everything to images
Text fields, checkboxes, radio buttons, dropdownsMerged into the page as vector graphics; field removedCaptured in the page image
Comments, highlights, stamps, drawings, shapesMerged using their appearance streamCaptured in the page image
Text boxes without an appearanceRedrawn as plain text with a borderCaptured as pdf.js displays them
HyperlinksKept clickable (optional)Removed
Page textStill selectable and searchableBecomes part of the image (not selectable)
File sizeAbout the same as the originalUsually larger; depends on DPI

How form flattening works

Every form field and annotation in a PDF comes with an appearance stream: a small drawing that tells viewers what the field or comment looks like. Flattening copies that drawing into the page's own content, scaled to the annotation's rectangle, and then deletes the interactive object. Field values that were changed without updating their appearance are redrawn first with Helvetica so the flattened page shows the current value. After flattening, the form (AcroForm) is removed, so PDF readers no longer show fillable boxes.

The image mode is a different approach: each page is rendered with pdf.js exactly as you would see it on screen, including all forms and annotations, and the pictures are assembled into a new PDF with pdf-lib at the original page size. Nothing in that file can be edited, selected or extracted as text without OCR.

Tips

  • Fill and sign first. Use Fill PDF Form or Sign PDF, download the result, then flatten it here.
  • Keep the original. Flattening cannot be undone, so save the fillable version too.
  • Check before sending. Open the flattened file and try clicking a field; it should no longer be editable.
  • Too big? Image-mode files at 300 DPI can be large. Use 150 DPI, or shrink the result with Compress PDF.

Frequently asked questions

What does flattening a PDF mean?

Flattening merges interactive layers into the ordinary page content. Filled form fields become plain text and graphics, and annotations such as comments, highlights, stamps and drawings become part of the page, so they look the same everywhere but can no longer be edited, moved or deleted.

Why should I flatten a filled PDF form?

A flattened form cannot be changed by the next person, displays the same in every viewer (some apps and phones hide form values or show them in different fonts), and prints reliably. Many agencies, courts and e-signing workflows ask for flattened forms.

Which mode should I choose?

Use Flatten forms & annotations for most documents: the result stays small and the page text remains selectable and searchable. Use Flatten everything to images when you need a copy that is practically impossible to edit, or when a field or annotation does not flatten correctly in the first mode.

Can a flattened PDF be unflattened?

No. Flattening removes the form fields and annotation objects, so the original values cannot be edited as fields again. Keep a copy of the original fillable PDF if you might need to change it later.

Why did an annotation stay editable?

Annotations are baked into the page using their appearance stream, the drawing that viewers display. A few PDFs contain annotations without one (for example some sticky notes). Text box annotations without an appearance are re-drawn as plain text; other types are left as they are and counted in the result. The image mode always captures what pdf.js displays.

Is it safe to flatten confidential documents here?

Yes. Everything runs in your browser using pdf-lib and pdf.js. The file is never uploaded to a server, and nothing is stored after you close the page.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

Fill PDF FormFill in PDF form fields online: text boxes, checkboxes, radio buttons and dropdowns.Sign PDFDraw, type or upload a signature and place it on any PDF page, free and private.Compress PDFReduce PDF file size while keeping it readable.PDF Metadata EditorView and edit a PDF's title, author, subject, keywords and dates, or clear them all.Merge PDFCombine several PDF files into one document.Protect PDF with PasswordLock a PDF with a password and AES-256 encryption, and restrict printing, copying or editing.Unlock PDFRemove the password and print, copy or edit restrictions from a PDF you have the password for.Split PDFExtract pages or split a PDF into separate files.Delete PDF PagesRemove pages from a PDF using a visual thumbnail grid.Rotate PDFRotate one page or all pages of a PDF by 90, 180 or 270 degrees.Add Page Numbers to PDFNumber PDF pages with your choice of position, format and font.Watermark PDFStamp a text or logo watermark on PDF pages with custom opacity.Grayscale PDFConvert a color PDF to grayscale or pure black and white for printing, right in your browser.PDF ViewerOpen and read PDF files in your browser with zoom, search, thumbnails and fullscreen.PDF Word CounterCount words, characters and lines in a PDF, page by page, with top words and CSV export.Organize PDFReorder, rotate, delete and duplicate PDF pages with drag-and-drop thumbnails.Crop PDFTrim PDF margins by dragging a crop box on the page, for all pages or selected ones.Resize PDFChange PDF page size to A4, Letter, Legal, A3 or custom and scale content to fit.Redact PDFBlack out names, numbers and any text in a PDF for real: the hidden text is removed, not covered.PDF EditorAdd text, whiteout, shapes, images and drawings to any PDF page, then save a new PDF.Compare PDFCompare two PDF files and see added, removed and changed text side by side, page by page.Insert Pages into PDFInsert blank pages or pages from another PDF anywhere in your document, privately in your browser.PDF Page CounterCount the pages of many PDFs at once, with totals, page sizes and a CSV export.Add Header and Footer to PDFAdd header and footer text with page numbers, date and file name to every PDF page.Invert PDF ColorsTurn a PDF into dark mode: invert colors, keep hues or use a night sepia theme for easy reading.PDF N-UpPrint 2, 4, 6, 9 or 16 PDF pages per sheet with your own order, margins and borders.PDF Booklet MakerTurn a PDF into a print-ready folded booklet: pages imposed 2 per sheet in saddle-stitch order.Add Stamp to PDFStamp APPROVED, PAID, DRAFT or custom text with a date onto any PDF page.Remove Blank Pages from PDFFind and delete empty or near-blank pages in a PDF automatically.Add Bookmarks to PDFAdd, edit and nest PDF bookmarks (outline) or auto-generate them from headings, in your browser.Add Margins to PDFAdd white space margins or a binding gutter to PDF pages, enlarging pages or scaling to fit.Alternate Merge PDFInterleave two PDFs page by page, e.g. scanned fronts and backs, into one combined file.Bates Numbering PDFStamp sequential Bates numbers on one or many PDFs, numbered continuously across files.Change PDF Background ColorGive PDF pages a sepia, cream, pastel or custom background color behind the text.Create Fillable PDF FormTurn any PDF into a fillable form: add text fields, checkboxes, radio buttons and dropdowns.Extract Highlights from PDFPull highlighted text and comments out of a PDF with page numbers; export to Markdown, TXT or CSV.Extract Links from PDFList every hyperlink and URL in a PDF with page numbers; copy them or export as CSV.Extract PDF AttachmentsList the files embedded in a PDF and download them one by one or all as a ZIP.PDF to Speech ReaderListen to any PDF read aloud with your browser's voices, with speed control and highlighting.Remove Annotations from PDFStrip comments, highlights, sticky notes and drawings from a PDF, with counts per page.Repair PDFFix damaged or corrupted PDF files: rebuild the xref table and recover readable pages.Reverse PDF Page OrderFlip the page order of one or many PDFs in one click, with a thumbnail preview.Split PDF Pages in HalfCut each PDF page into two pages, left/right or top/bottom, ideal for scanned book spreads.Savings Tracker PrintableColor-in savings goal tracker: jar, grid or thermometer for any goal and amount per cell. Print PDF.Book Interior FormatterTurn a manuscript into a print-ready 6x9 (or any trim size) book PDF with gutters, headers and page numbers.Book Spine Width CalculatorSpine width and full cover size with bleed from page count, paper type and trim size.Mail Merge to PDFMerge a {{field}} letter template with CSV or Excel rows into personalized PDFs, combined or zipped.Check Register PrintablePrint a blank check register or fill one in online with an automatic running balance.Debt Payoff Tracker PrintableTurn your debts into a printable snowball or avalanche coloring tracker with a payoff date.Time Off Request FormMake a PTO request form with dates, leave type, hours and approval, as a fillable PDF.
See all 51 Edit & Organize PDF →