Flatten Annotations

Flatten Annotations

Flatten Annotations is a REST API tool that collapses annotation appearances into page content and makes them no longer editable.

Build Your Solution

You have document processing problems, we have Solutions. Explore the many ways pdfRest can align your documents with your business objectives.

Browse all solutions
The pdfRest logo is added to the Microsoft Power Automate logo with a representation of a PNG to PDF conversion workflow
Integrate pdfRest with Microsoft Power Automate
The Salesforce logo with APEX programming language is connected with the pdfRest logo around a PDF toolkit icon
Integrate PDF API Tools with Salesforce Apex Code
Control your Backend with pdfRest API Toolkit Self-Hosted
Control your Backend with pdfRest API Toolkit Self-Hosted
Why is pdfRest the best API to flatten PDF annotations?
pdfRest offers the best solution for flattening PDF annotations, because it maximizes compatibility, locks in feedback, and removes hidden comments.

Maximize Compatibility

Not all PDF viewers and processing tools handle PDF annotations in the same way. PDF annotations come in a variety of types, can be added in varying ways, and can be rendered with inconsistent results. In the worst cases, some tools or services may fail to display annoations at all.

pdfRest Flatten Annotations removes uncertainty by turning annotation objects into standard page content, ensuring they will display the same for all users. When preserving annotation appearances is key, trust the pdfRest flattening process to maximize support and compatibility.

Lock In Feedback

PDF annotations are often used to provide feedback for the underlying PDF on top of that document's content layer. This feedback travels with the document and can be further edited or modified at any point. Shapes can be moved, highlights can be adjusted, annotation text can be changed.

When you no longer want this feedback to be editable, flattening annotations is the best way to lock that feedback directly into the document and preserve it as standard page content. This supports a workflow for review, feedback collection, and feedback communication, avoiding confusion or inadvertent changes to the feedback.

Remove Hidden Comments

PDF annotations can include both visual elements that are displayed in the document and hidden comments that are associated with these annotations. These extra comments can only be accessed with supported PDF viewers and displayed off to the side of the document. Flattening annotations preserves the visual representation of annotations directly into the content layer of the PDF and also removes these hidden comments, which may include information not intended to travel with the document. Flattening annotations is an effective way to sanitize annotation content so that what you see on the PDF is all that remains from the original annotations.

Start from Code Examples
See more code examples in our GitHub repository
Customize Your Solution

Learn about the parameters for this tool to create your custom solution.

File

The file parameter allows you to select a local file to be uploaded to pdfRest’s processing server.

Generate a self-service API Key now!
Create your FREE API Key to start processing PDFs in seconds, only possible with pdfRest.