PDF Editing Issues

How to Flatten PDF Stamps and Annotations in Acrobat Pro

Aamir Naveed AkramAamir Naveed Akram Oct 28, 2026 869 views

Question details

The user needs to convert editable annotations and stamps in a PDF into permanent, static page content to prevent other users from modifying them.

How to Flatten PDF Stamps and Annotations in Acrobat Pro
Product
Adobe Acrobat Pro
Device & OS
not provided
Scenario
Preparing a PDF document for sharing where recipients should be able to save and use the file, but must be restricted from moving, deleting, or altering existing stamps and markups.
Observed behavior
By default, PDF stamps and annotations remain as active, layered elements that any user with PDF editing software can easily move or delete.
Before you start

Flattening a PDF document is a permanent and irreversible process. Always create and keep a backup of your original, unflattened file before proceeding with these steps.

Solution 1Recommended

Use Acrobat Action Wizard to Flatten PDF

Execute a built-in JavaScript command via the Action Wizard to permanently merge all stamps and annotations into the document's background layer.

Acrobat Pro allows users to run custom JavaScript commands to manipulate document properties. Using the 'flattenPages' command is the most direct way to convert dynamic markups into static page content.

1
Open Action Wizard

Launch Adobe Acrobat Pro, open your PDF document, and navigate to 'Tools' > 'Action Wizard'.

2
Create a New Action

Click 'New Action' from the Action Wizard toolbar. Under 'Choose tools to add', select 'More Tools' and click 'Execute JavaScript'.

3
Enter JavaScript Command

Click the '+' icon to add it to the action steps. Open the settings for the JavaScript step and type 'this.flattenPages();' into the editor window.

4
Run and Save

Save the new action, then run it on your current PDF document. Once the action completes, use 'File' > 'Save As' to save the flattened document under a new name.

Use Acrobat Action Wizard to Flatten PDF
Enhance Security: For stronger document protection, digitally sign the flattened document or apply a password security policy to restrict further editing.
Efficient PDF Management

Easily Flatten and Secure PDFs with WPS Office

WPS Office offers a comprehensive, built-in PDF editor that allows you to easily flatten documents, add secure digital signatures, and manage file permissions without needing complex JavaScript commands.

  1. 1. Open PDF in WPS Office: Launch WPS Office and open your PDF document containing the stamps and annotations.
  2. 2. Access Print Settings: Click on the 'Menu' button in the top left corner and select 'Print'.
  3. 3. Choose PDF Printer: Select 'WPS PDF' or your system's virtual PDF printer from the Printer list.
  4. 4. Include Markups: Check the 'Print content' dropdown and ensure it is set to include the document and all annotations.
  5. 5. Export Flattened PDF: Click 'Print' to save a brand new, fully flattened PDF file to your local drive.
Intuitive tools to quickly flatten PDF annotations and form fields.Fully compatible with standard Adobe PDF document formats.Built-in features for applying secure passwords and digital signatures.Lightweight, fast, and free to download for everyday document management.
microsoft office alternative - wps office

Frequently Asked Questions

Can I reverse the flattening process to edit the stamps later?

No, flattening a PDF permanently integrates the annotations, stamps, and form fields into the base page content. This process is irreversible, which is why saving a separate backup of the original editable file is highly recommended.

Will flattening a PDF reduce its file size?

In many cases, flattening a PDF can reduce the file size by discarding the complex layered metadata, interactive properties, and comment histories associated with stamps and annotations.

What happens to interactive form fields when a PDF is flattened?

When you flatten a PDF, all active form fields are converted into regular, static text or graphics. Users will no longer be able to type into the fields, click checkboxes, or select items from dropdown menus.

Is flattening the same as securing a PDF with a password?

No. Flattening merges visual elements into the background so they can't be clicked and dragged, but standard PDF editors can still alter the base text. Securing a PDF with an editing password encrypts the document settings, providing a much higher level of protection against unauthorized modifications.