Categories

PDF Password Protector

Set PDF open password and permission restrictions (printing/copying)

Protect an existing PDF with password encryption.

Supports:

  • Open password for document access
  • Optional owner password for stronger control
  • Restrict printing and text extraction (copy)
  • 128-bit or 256-bit encryption via qpdf

Example Results

2 examples

Strict Internal Sharing Protection

Applies open password and disables both printing and copy/extract permissions

pdf-password-protector-example1.pdf View File
View input parameters
{ "sourceFile": "/Users/quyue/www/elysia-tools/public/samples/pdf/pdf-2026-02-19-source-4pages.pdf", "openPassword": "DemoOpen@123", "ownerPassword": "DemoOwner@123", "allowPrinting": false, "allowCopy": false, "encryptionLevel": "256" }

Readable but Non-copyable PDF

Allows printing for meetings while still blocking copy/extract operations

pdf-password-protector-example2.pdf View File
View input parameters
{ "sourceFile": "/Users/quyue/www/elysia-tools/public/samples/pdf/pdf-2026-02-19-source-4pages.pdf", "openPassword": "TeamRead@2026", "ownerPassword": "TeamOwner@2026", "allowPrinting": true, "allowCopy": false, "encryptionLevel": "256" }

Click to upload file or drag and drop file here

Maximum file size: 300MB Supported formats: application/pdf

Key Facts

Category
PDF Tools
Input Types
file, text, checkbox, select
Output Type
file
Sample Coverage
4
API Ready
Yes

Overview

Secure your sensitive documents with the PDF Password Protector, a robust utility that allows you to encrypt PDF files and manage specific user permissions like printing and text extraction.

When to Use

  • When you need to prevent unauthorized access to confidential reports or contracts.
  • When you want to share a document for viewing while disabling the ability to copy or extract text.
  • When you need to restrict physical printing of digital documents to maintain version control.

How It Works

  • Upload your source PDF file to the tool.
  • Set a strong open password and an optional owner password for advanced permission management.
  • Toggle specific restrictions for printing and text copying as needed.
  • Select your preferred encryption level (128-bit or 256-bit) and generate your protected file.

Use Cases

Protecting sensitive financial statements before emailing them to clients.
Distributing internal company memos that should not be printed or copied.
Securing intellectual property in digital documents shared with external partners.

Examples

1. Strict Internal Sharing Protection

Project Manager
Background
Sharing a highly confidential project roadmap with stakeholders.
Problem
Need to ensure only authorized personnel can open the file and prevent any unauthorized copying or printing.
How to Use
Upload the document, set an open and owner password, and disable both printing and copy permissions.
Example Config
openPassword: 'DemoOpen@123', ownerPassword: 'DemoOwner@123', allowPrinting: false, allowCopy: false, encryptionLevel: '256'
Outcome
The PDF is fully encrypted and requires a password to open, with all editing and extraction features disabled.

2. Readable but Non-copyable PDF

Legal Consultant
Background
Providing a draft contract to a client for review during a meeting.
Problem
The client needs to print the document for reference, but the text must remain protected from digital extraction or modification.
How to Use
Upload the contract, set passwords, enable printing, but keep the copy/extract permission disabled.
Example Config
openPassword: 'TeamRead@2026', ownerPassword: 'TeamOwner@2026', allowPrinting: true, allowCopy: false, encryptionLevel: '256'
Outcome
The recipient can open and print the document but cannot copy the text content into other applications.

Try with Samples

pdf, file

Related Hubs

FAQ

What is the difference between an open password and an owner password?

An open password is required to view the file, while an owner password allows you to set and modify permission restrictions.

Can I prevent users from copying text from my PDF?

Yes, by unchecking the 'Allow Copy/Extract' option, you can restrict users from selecting and copying text from the document.

Is my data stored on your servers?

Files are processed securely and are not stored permanently; they are removed after the task is completed.

What encryption levels are supported?

The tool supports both 128-bit and 256-bit encryption standards via qpdf for high-level security.

Will my PDF be readable on all devices after encryption?

Yes, once the correct password is provided, the PDF remains compatible with standard PDF readers.

API Documentation

Request Endpoint

POST /en/api/tools/pdf-password-protector

Request Parameters

Parameter Name Type Required Description
sourceFile file (Upload required) Yes -
openPassword text Yes -
ownerPassword text No -
allowPrinting checkbox No -
allowCopy checkbox No -
encryptionLevel select No -

File type parameters need to be uploaded first via POST /upload/pdf-password-protector to get filePath, then pass filePath to the corresponding file field.

Response Format

{
  "filePath": "/public/processing/randomid.ext",
  "fileName": "output.ext",
  "contentType": "application/octet-stream",
  "size": 1024,
  "metadata": {
    "key": "value"
  },
  "error": "Error message (optional)",
  "message": "Notification message (optional)"
}
File: File

AI MCP Documentation

Add this tool to your MCP server configuration:

{
  "mcpServers": {
    "elysiatools-pdf-password-protector": {
      "name": "pdf-password-protector",
      "description": "Set PDF open password and permission restrictions (printing/copying)",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=pdf-password-protector",
      "command": "",
      "args": [],
      "env": {},
      "isActive": true,
      "type": "sse"
    }
  }
}

You can chain multiple tools, e.g.: `https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`, max 20 tools.

Supports URL file links or Base64 encoding for file parameters.

If you encounter any issues, please contact us at [email protected]