FreeFile ToolsFlatten PDF Forms and Annotations Online
Flatten supported PDF forms and annotations locally. PDFs with optional-content layers use their default visible state and become static page images.
Make supported form fields and annotation appearances part of the page content; layered PDFs are rendered into static pages.
About this tool
The tool flattens standard AcroForm fields with pdf-lib and asks QPDF to flatten annotations that have supported appearances. It verifies that no interactive fields or annotations remain before offering a download.
For PDFs without optional-content layers, pages are not rasterized. Text and vector content remain in the PDF, and the output is checked for the original page count and dimensions.
If a PDF has optional-content layers, the tool uses PDF.js to render each page with the PDF’s default display-layer state, then embeds those page images in a new PDF. This removes layer groups and toggles, but text on those pages is no longer selectable. Layered PDFs are limited to 8 pages, 3 million pixels per page and 18 million pixels total, with a 2,200-pixel maximum dimension. Other PDFs keep selectable text and vector content. Annotation types or form fields that the installed libraries cannot flatten safely are refused when any interactive annotation remains. Links or other interactive behavior may be removed. Signed PDFs are refused when signature markers are detected; detection is not exhaustive.
Processing stays in your browser. Keep the original and review the exported file before relying on it.
How to use PDF Flattener
- Choose a PDF up to 50 MB and 300 pages
- Confirm that you are authorized to modify it
- Download the verified flattened PDF
Supported format
PDF. File, page and layout limits vary by tool; review the notes on this page before processing.
Good to know
- PDFs without optional-content layers are not rasterized and retain selectable text when supported by the source.
- The output must contain no remaining form fields or annotations to pass verification.
- Unsupported annotations, encrypted or malformed PDFs, XFA forms, and detectable signed PDFs are refused.
Related tools
Frequently asked questions
Will page text remain selectable?
Non-layered PDFs keep selectable text and vector content when supported by the source. PDFs with optional-content layers are rasterized, so their text is not selectable.
Which forms and annotations are flattened?
Standard AcroForm fields that pdf-lib can flatten and page annotations whose appearances QPDF can embed. If annotations remain interactive after processing, the tool refuses the output.
Are links preserved?
No guarantee is made for links or other interactive behavior. Links may be removed or cause the file to be refused if they remain as annotations.
Can I flatten a PDF that has optional-content layers?
Yes. The default display visibility is rendered into static page images, so layer toggles are removed. Text is not selectable in that output; layered PDFs are limited to 8 pages and browser pixel limits.
Are my files uploaded?
No. PDF processing and verification run in this browser.
What happens to signed or encrypted PDFs?
Encrypted PDFs and files with detectable signature markers are refused. Signature marker detection is not exhaustive.
All tools
- Compress PDF — Optimize PDF structure in your browser and download only when the file is measurably smaller.
- Merge PDF — Combine multiple PDFs into one document, in your chosen order.
- PDF Compare — Compare selectable text in two PDFs side by side. Files stay in your browser.
- PDF Form Filler — Fill supported interactive PDF form fields in your browser and download the completed PDF.
- PDF Signer — Add a visible drawn, typed, or image signature to a PDF in your browser.
- PDF Metadata Editor — Read and edit standard PDF document properties locally in your browser.
- PDF Repair — Try a local PDF recovery pass and validate the saved copy in your browser.
- Split PDF — Extract selected pages or page ranges into a new PDF.
- PDF Page Reordering — Reorder pages in a PDF with thumbnails and accessible controls. Processing stays in your browser.
- Delete PDF Pages — Remove selected pages from a PDF in your browser and download the remaining pages.
- Rotate PDF — Rotate every page of a PDF by 90, 180 or 270 degrees in your browser.
- PDF Unlocker — Remove open-password protection from an authorized PDF using its correct password, locally in your browser.
- PDF Password Protector — Add verified AES-256 open-password protection to a PDF locally in your browser.
- PDF Flattener — Flatten supported PDF forms and annotations; PDFs with optional-content layers are rasterized using their default visible state locally.
- PDF Redactor — Permanently cover selected PDF content by rebuilding every page as a flattened image, locally in your browser.
- PowerPoint to PDF — Convert supported PPTX slides to a raster PDF locally in your browser; text is not selectable.
- PDF to PowerPoint — Convert PDF pages locally to images, editable text boxes, and supported editable vector shapes.
- PDF Page Numbers — Add centered page numbers to each PDF page in your browser.
- PDF Watermark — Add a light, diagonal text watermark to every PDF page in your browser.
- PDF to Word — Convert selectable text in a PDF into an editable Word document in your browser.
- Word to PDF — Convert a DOCX document to a page-image PDF in your browser.
- PDF to JPG — Export each PDF page as a high-quality JPG image.
- JPG to PDF — Create a PDF from your JPG images, one image per page.
- PDF to Text — Extract selectable text from PDF documents into a text file.
- PDF OCR — Recognize printed English or Urdu text in scanned PDF pages.
- PDF to Excel — Extract selectable PDF text and estimate columns for simple tables in a downloadable spreadsheet.
- Compress Image — Make JPG, PNG and WebP images smaller with adjustable JPG quality.
- Image Cropper — Select a rectangular area of an image and crop it in your browser.
- QR Code Generator — Create a QR code from text or a URL and download it as a PNG in your browser.
- Barcode Generator — Generate Code 128, Code 39, EAN-13, EAN-8, UPC-A, UPC-E and ITF barcodes locally; download vector SVG or PNG.
- QR Code Scanner — Scan standard QR codes from images or an optional camera locally in your browser.
- Audio Converter — Convert browser-decodable audio files to WAV (16-bit PCM) or MP3 (192 kbps) locally in your browser.
- Audio Cutter — Trim browser-decodable audio to a precise time range and download WAV locally in your browser.
- Resize Image — Resize an image to exact dimensions or preserve its proportions.
- Image Upscaler — Enlarge JPG, PNG and WebP images 2× or 4× with high-quality browser interpolation.
- Image Color Picker — Sample pixels from an image and read accurate HEX and RGB values locally in your browser.
- Favicon Generator — Create downloadable PNG favicon sizes, an ICO file and a web manifest locally in your browser.
- Image to Base64 / Base64 to Image — Convert PNG, JPG and WebP images to Base64 or turn valid Base64 image data into a downloadable file locally.
- Image Metadata Viewer — View image details locally and read supported JPEG EXIF fields such as camera make/model, orientation and dates. PNG/WebP EXIF parsing is not supported.
- SVG to PNG/JPG Converter — Safely rasterize supported SVG files to PNG or JPG in your browser. Files stay on your device.
- Image to Text OCR — Recognize English or Urdu text in PNG, JPEG and WebP images locally in your browser.
- JSON Formatter & Validator — Validate JSON syntax, format it with indentation, or compact it locally in your browser.
- YAML to JSON Converter — Convert supported YAML mappings and sequences to JSON locally in your browser.
- SQL Formatter — Format SQL with a selected dialect locally in your browser. This tool does not validate or execute queries.
- URL Encoder & Decoder — Encode or decode URL components locally, including spaces, reserved characters and Unicode.
- HTML/CSS/JS Minifier — Minify HTML, CSS and JavaScript locally with conservative syntax-aware whitespace handling.
- JWT Decoder — Decode JWT header and payload locally; does not verify signatures or establish trust.
- UUID Generator — Generate one or more secure UUID v4 values locally in your browser.
- WCAG Color Contrast Checker — Check text color contrast against WCAG AA and AAA standards using local HEX color calculations.
- SHA-256 Hash / Checksum Generator — Generate browser-local SHA-256 checksums for files or exact UTF-8 text.
- CSV ↔ JSON Converter — Convert UTF-8 CSV and JSON locally, with quoted-field support and spreadsheet formula protection.
- Regex Tester — Test JavaScript regular expressions locally with flags, match positions and capture groups.
- Text Diff Checker — Compare two text versions line by line and review additions and removals locally in your browser.
- Subtitle Converter — Convert SRT subtitles to WebVTT or WebVTT to SRT locally, preserving cue timing and multiline text.
- XML Formatter & Validator — Validate well-formed XML and format it locally in your browser. DTDs and entity declarations are refused.
- HTML Entity Encoder & Decoder — Encode reserved HTML characters or decode named and numeric entities locally in your browser.
- Markdown Previewer — Write Markdown and preview safe formatted output locally in your browser.
- Password Generator — Generate strong random passwords locally with secure browser cryptography.
- Unix Timestamp Converter — Convert Unix timestamps and dates locally with explicit seconds or milliseconds and timezone labels.
- Text Case Converter — Transform text between common writing and programming cases locally in your browser.
- Image Background Remover — Make a selected image color transparent locally in your browser and download a PNG.
- JPG to PNG — Convert a JPG image into lossless PNG format.
- PNG to JPG — Convert a PNG to JPG with a clean white background.
- WebP to JPG — Turn WebP images into widely supported JPG files.
Enable JavaScript to process files in your browser.