Protect PDF API

Secure PDF documents with 256-bit AES encryption, set owner and user passwords, and restrict printing or editing permissions.

Security Tools

Protect PDF API Overview

Protect PDF files with strong encryption and granular permissions. Choose AES‑256 to secure content, set user and owner passwords, and decide what recipients can do: print, copy, modify contents or annotations, fill forms, assemble, or allow everything. Preserve metadata or encrypt it as needed, and respect existing owner passwords when appropriate. Ideal for automated workflows that harden documents for sharing, compliance, and long‑term storage while keeping layout and fidelity intact.

Lightning Fast Conversions

Process and convert files in seconds with our high-performance cloud infrastructure.

Accuracy Guaranteed

Our advanced algorithms ensure pixel-perfect and content-accurate file conversions.

Enterprise-Grade Security

ISO 27001, HIPAA, and GDPR compliant with encrypted file processing.

Global Infrastructure

Strategically located servers ensure low latency and high availability worldwide.

Developer Friendly

Comprehensive SDKs and clear documentation for quick and simple integration.

Time-Saving Automation

Automate repetitive document workflows and focus on what matters most.

Customizable Parameters

Fine-tune your automation with these powerful conversion options

File

File Supported formats: .pdf

File to be converted. Value can be URL or file content.

Password

String

Sets the password to open protected documents.

EncryptionAlgorithm

Collection Default: Aes256Bit

Sets the encryption algorithm.

Values:   Standard40Bit Standard128Bit Aes128Bit Aes256Bit

EncryptMeta

Bool Default: False

Encrypt metadata of PDF file.

UserPassword

String

Sets the user password (also known as a document open password) in the output PDF document. Users will be asked to enter this password before Acrobat Reader allows them to view the PDF document.

OwnerPassword

String

Sets owner password (also known as a permissions password). Using a owner password, you can restrict printing, editing, and copying content in the PDF. Recipients don’t need a password to open the document. They do need a password to change the restrictions the owner set.

RespectOwnerPassword

Bool Default: False

Enable the property if you want to respect the document's owner password and permissions. If disabled - the old owner's password and permissions will be removed by default. Setting this property requires you to enter the correct owner's password into the Password property for protected documents.

PreservePermissions

Bool Default: False

Enable the property if you want to keep the document permissions unchanged. It requires you to specify the OwnerPassword. If enabled, the document permission properties will be ignored.

AllowEverything

Bool Default: False

Enable or disable all permissions. The specific permissions listed below overrides this property.

AssembleDocument

Bool Default: False

Enable or disable assembly of the document - insert, rotate, or delete pages and create bookmarks or thumbnail images.

CopyContents

Bool Default: False

Enable or disable copy or extract text and graphics from the document.

ModifyContents

Bool Default: False

Enable or disable changing the contents of the document.

ExtractContents

Bool Default: False

Enable or disable extract text and graphics.

ModifyAnnotations

Bool Default: False

Enable or disable adding or modifying text annotations and fill in interactive form fields.

FillFormFields

Bool Default: False

Enable or disable fill-in existing interactive form fields, including signature fields.

PrintDocument

Bool Default: False

Enable or disable document printing.

PrintFaithfulCopy

Bool Default: False

Enable or disable printing of the document to a representation from which a faithful digital copy of the PDF content could be generated.

StoreFile

Bool Default: False

When the StoreFile parameter is set to True, your converted file is written to ConvertAPI’s encrypted, temporary storage and made available via a time-limited secure download URL, valid for up to 3 hours. After this period, the file is permanently deleted.

When StoreFile is set to False, conversion happens entirely in-memory. The raw file bytes are streamed back in the API response without touching disk or external storage, ensuring maximum security and zero persistence so that only you can access the content.

Integrate within minutes

Easy Protect PDF automation using our simple REST-API

Try the Protect PDF conversion online

Try it Free

Businesses trust us

Highest rated File Conversion API on major B2B software listing platforms: Capterra, G2, and Trustpilot.

"ConvertAPI has been a game-changer for our document automation workflows. Their conversion accuracy and API reliability are unmatched in the industry for over 7 years."

"ConvertAPI is a reliable, cost-effective solution with a proven track record of stability. It has grown significantly in maturity, adopting enterprise-grade practices over the years."

"We've integrated ConvertAPI across our entire document processing platform. The performance is exceptional and the support team is always responsive. Highly recommended!"

Enterprise-Grade Security

We ensure that all document processing is handled securely in the cloud, adhering to industry-leading standards like ISO 27001, GDPR, and HIPAA. To enhance security even further, we can ensure that no files or data are stored on our servers and never leave your country.

Learn more about security

Ready to Streamline Your File Conversions?