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

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

When to Use

  • Use it when you need to process pdf content quickly in the browser.
  • Helpful for pdf tools workflows that need repeatable inputs and fast results.
  • A good fit when you want to test with real files before running the same workflow in code or API calls.

How It Works

  • Provide Source PDF File, Open Password, Owner Password (Optional), Allow Printing as input to the tool.
  • The tool processes the request and returns a file result.
  • For file workflows, start with representative samples such as pdf test files to verify edge cases and output quality.

Use Cases

Process pdf data during debugging or QA.
Validate expected output before using the API or automation flows.
Test the workflow with representative sample files and edge cases.

Try with Samples

pdf, file

Related Hubs

FAQ

What does PDF Password Protector do?

PDF Password Protector helps you process pdf content online without setting up a separate local script or app.

When should I use this tool?

Use it when you need a quick process workflow, want to verify output, or need a browser-based utility for pdf tools tasks.

Can I try this tool with sample data?

Yes. This page can recommend related sample files so you can test the workflow immediately.

What inputs does PDF Password Protector accept?

PDF Password Protector accepts Source PDF File, Open Password, Owner Password (Optional), Allow Printing and supports file uploads for 1 field.

Is there an API for PDF Password Protector?

Yes. The tool page includes an API endpoint so you can move from manual testing to scripted usage.

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]