UseToolSuite UseToolSuite

PDF Security — Protect, Unlock & Edit Metadata

Password-protect a PDF with AES-128 and set print or copy permissions, remove a password you know, or edit the title, author and keywords. Runs in your browser; the file and password never leave your device.

AES-128 encryption with 7 permission flags Removes a password you know Edits title, author, subject & keywords 100% client-side — nothing uploaded

Add an AES-128 password and choose what readers may do: print, copy, edit, fill forms.

Drop your PDF here or click to select

Add AES-128 password encryption — processed entirely in your browser

100% Private No Upload AES-128

This page gathers the three things people do to a PDF’s security layer. Protect adds a password and decides what readers may do. Unlock removes a password you already know. Metadata edits or clears the hidden properties that travel with the file. Every mode works on the file inside your browser tab, so a contract, statement or HR document is never uploaded to be locked, unlocked or cleaned.

Protect: encryption is only as strong as the passphrase

Password-protecting a PDF wraps it in AES-128 encryption (the PDF 1.7 Standard Security Handler), so the content is unreadable without the key. AES is the same class of encryption that secures banking and messaging. The part people get wrong is the password: “1234” or a pet’s name falls to a brute-force guess in moments regardless of the cipher. A long, unique passphrase is what turns strong encryption into real protection. The Generate Strong button creates a 16-character password, shows it, and copies it so you can store it before encrypting.

PDF supports two passwords. The user password is required to open the document. The owner password allows full access and bypasses the permission restrictions — print, copy, edit, annotate, fill forms, assemble pages, and screen-reader access. Setting both lets you share the user password with readers who can only do what you allow, while keeping the owner password for yourself.

  • Use a real passphrase — length beats complexity; several unrelated words are strong and memorable.
  • Deliver out-of-band — send the PDF and the password through different channels so one intercepted message isn’t enough.
  • Know the limits — a password stops opening, but anyone you give it to can remove it; encryption controls access, not what an authorized reader does next.
  • Store it somewhere safe — there is no recovery. A lost password means a lost document.

Unlock: two kinds of lock, and only one of them is yours to remove

PDF protection comes in two flavors that people often confuse. Some files demand a password before they’ll open — the content is genuinely encrypted and unreadable without it. Others open freely but mark printing, copying text, or editing as not allowed; that’s a permissions layer aimed at controlling what you do with a document you can already read.

The first is protection on you. Remove it with the password you were given and you’ve simply stopped re-entering something you already know — a bank statement you must upload to a portal that rejects encrypted files, or an archive you open every day. The second is the owner’s instruction to you, and it is famously weak: the content isn’t encrypted against the reader, so most PDF libraries will drop those flags on request, no password involved. That weakness is not permission. Circumventing it is what anti-circumvention law in the US, EU and UK is written about.

So the Unlock mode only does the first thing. Hand it a document that opens freely and it tells you there is nothing to decrypt and stops. The restrictions panel shows you what a file limits, so you know what you’re dealing with; it will not offer to remove it. Use it on your own files, or on files whose owner gave you the password and the go-ahead — knowing a password is not the same as being authorized to remove it.

One trade-off to plan for: PDF.js checks your password, decrypts the content, and each page is rendered into a fresh, unencrypted file. The output looks and prints identically, but it is an image of each page — text is no longer selectable or searchable, and the file usually grows. If you need the text itself, run the original encrypted file through the PDF Converter with the password instead.

Metadata: the information you didn’t know you were sending

Every PDF carries a layer of metadata most people never look at: title, author, subject, keywords, the creating application, and timestamps. It’s what lets a library or search index identify a document — and it’s also a quiet leak. An Author field can name a colleague who never meant to be associated with a file; a title pulled from a template can reveal an internal codename or a prior client; timestamps can contradict a claimed timeline.

  • Set it right — give a finished document an accurate title, author and keywords so it’s findable and properly credited.
  • Clean it up — clear author names, software fingerprints and stale titles before sending a file outside your organization.

Because metadata sits apart from page content, editing it never changes a word or image on the pages. And since the editing happens locally, you’re not handing the very metadata you want to remove to a third-party server in the process.

A sensible order when you need more than one

If a document needs clean properties and a password, edit the metadata first and protect it last — encryption covers the metadata too, and a protected file has to be unlocked before its properties can be changed. To edit a file that is already protected, unlock it with its password, make your change, then protect it again with a fresh password.

PDF Security — Protect, Unlock & Edit Metadata Powered by UseToolSuite — free browser tools

Last updated Built and maintained by Necmeddin Cunedioglu How tools are tested

How to Use This Tool

  1. 1

    Choose a mode

    Pick Protect to add a password, Unlock to remove one you know, or Metadata to edit the document properties.

  2. 2

    Load the PDF

    Drop the file into that mode. Unlock shows what the file restricts; Metadata reads the current properties.

  3. 3

    Apply and download

    Set the password, permissions or fields, then save the new copy. The original on your device is untouched.

How helpful was this tool?

Click to rate

Key Concepts

AES-128 Encryption

Advanced Encryption Standard with a 128-bit key, adopted as a US federal standard and used worldwide in banking, TLS/HTTPS, disk encryption, and PDF protection. AES-128 is considered cryptographically secure — brute-forcing a random 128-bit key would take billions of years with current technology.

PDF Standard Security Handler

The encryption subsystem built into the PDF specification. Revision 4 uses AES-128 with granular permissions, and is the format used by this tool. Revision 5/6 use AES-256 and are supported by modern viewers but not universally.

User Password (Open Password)

A password required to open and view a PDF document. Without the correct user password, the PDF content is encrypted and unreadable. This is the stronger form of PDF protection and uses AES-128 or AES-256 encryption in modern PDFs.

Owner Password (Permissions Password)

A password that controls what you may do with a PDF once it is open — print, copy text, edit, fill forms. A document protected this way opens for anyone; the flags only mark which operations are permitted. Because the content is not actually encrypted against the reader, the flags are weak protection and most PDF libraries can drop them without any password. This tool does not, by choice: they represent the owner's decision about their own document.

PDF Permissions

A set of flags in the encryption dictionary that tell conforming PDF viewers which actions to allow when the document is opened with the user password. Standard flags include printing, copying, modifying, annotating, form filling, assembly, and accessibility. Enforcement is advisory — protection comes from the encryption itself.

PDF Encryption

The cryptographic process of scrambling PDF content so it cannot be read without the correct password. Modern PDFs use AES (Advanced Encryption Standard) at 128-bit or 256-bit key lengths. Older PDFs may use RC4, which is considered insecure. Encryption applies to page content streams, fonts, and metadata.

Document Properties

The user-facing term for metadata, often accessible via "File > Properties" in PDF viewers.

Frequently Asked Questions

What encryption strength does this tool use?

This tool uses AES-128 bit encryption (PDF Standard Security Handler Revision 4), which is the widely supported PDF encryption standard. AES-128 is cryptographically secure — there is no practical attack against it besides brute-forcing the password. Virtually every PDF viewer on desktop, mobile, and web supports AES-128 encryption.

What is the difference between user password and owner password?

The <strong>user password</strong> is required to open the document. The <strong>owner password</strong> is required to bypass the permission restrictions you set (printing, copying, editing, etc.). If you leave the owner password blank, the tool uses your user password for both. Setting them separately is useful when you want to share the open password with readers while retaining owner rights for yourself.

Can I choose which actions are allowed once the PDF is opened?

Yes. After the password is entered, the PDF enforces fine-grained permissions: print (yes/no), copy text and graphics (yes/no), edit/modify content (yes/no), add annotations (yes/no), fill forms (yes/no), document assembly (yes/no), and content accessibility (highly recommended to keep enabled for screen readers). Most viewers respect these flags; a few (like some rare third-party tools) may ignore them, which is why encryption is the primary barrier.

Can I recover the password if I forget it?

No. AES-128 is cryptographically strong — there is no backdoor, recovery mechanism, or "reset" option. If you lose the password, the only way to open the PDF is to remember or guess it. Always store the password in a trusted password manager (1Password, Bitwarden, KeePass) immediately after creating it.

How strong should my password be?

At minimum, use 12 characters combining uppercase letters, lowercase letters, digits, and symbols. Longer is always better — a 16-character passphrase like <code>Correct-Horse-Battery-99</code> is easier to remember and harder to crack than a short random string. Never reuse a password you use for other accounts. Avoid common words, birth dates, and keyboard patterns (qwerty, 12345).

What types of PDF protection can this tool remove?

Exactly one: the open password (also called the user password) — the one a PDF asks for before it will display anything. Supply it and you get back a copy that opens freely. The tool does not touch the second kind of protection, the owner-password permission flags that mark printing, copying, or editing as not allowed. Those are strippable without any password and many tools do strip them, but removing a restriction you were never given the password for is circumventing the owner's decision about their own document, so this tool declines. Hand it a PDF that opens without a password and it will tell you there is nothing to decrypt.

Does this affect the quality or layout of my PDF?

The layout is preserved exactly, but there is a real trade-off worth knowing before you start. Pages are re-rendered through PDF.js and embedded into a fresh document, so the output is a page-by-page image: it looks identical and prints identically, but the text is no longer selectable or searchable, and the file usually gets larger. If what you actually need is the text, run the original encrypted file through the PDF converter with the password instead — that extracts real text rather than pictures of it.

Is it legal to remove a PDF password?

Removing a password from a document you own, or one whose owner gave you both the password and the go-ahead, is fine in most jurisdictions. What is not fine is circumventing protection on material you have no rights to — that is what the DMCA in the US and the equivalent anti-circumvention provisions in the EU and UK are aimed at. Note that knowing a password is not the same as being authorised to remove it: if a document was shared with you under a restriction, lifting it is still the owner's call. This tool is built for the first case and refuses the shape of the second.

What is PDF metadata?

Metadata is hidden information stored inside the PDF file. It typically includes the document title, the author's name, the software used to create it, and creation/modification dates. It is useful for SEO and document management systems.

Can I remove all metadata for privacy?

Yes. You can simply clear all the fields in the editor and export the document. This removes the author and title information, which is a good practice before sharing documents publicly.

How should I send the password to the recipient?

Never in the same email as the PDF — that defeats the purpose, since anyone who intercepts the message gets both. Send the file one way (email) and the password another (a text message, a phone call, a separate secure channel). This 'out-of-band' delivery means a single intercepted channel doesn't expose the document.

Can the Unlock mode open a PDF when I don't know the password?

No, and that's by design. Removing protection requires the correct password — the tool decrypts a file you're authorized to open, it doesn't crack or bypass unknown passwords. If you've genuinely lost the password to your own document, you'll need to recover it from wherever you stored it; there's no legitimate way to strip protection from a file you can't open.

Why should I check a PDF's metadata before sharing it?

Metadata can quietly reveal more than the visible content: the original author's name, the software used, creation and modification dates, and sometimes a filename or template that exposes an internal project or a previous client. Documents have leaked confidential information through metadata in real legal and journalistic incidents. Reviewing and clearing it before distribution is a simple privacy and professionalism check.

Does editing metadata change the document's visible content?

No. Metadata is descriptive information about the file — title, author, subject, keywords — stored separately from the page content. Editing or clearing it doesn't touch a single word or image on the pages; it only changes the document's 'properties'. That's why it's safe to sanitize metadata on a finished document without worrying about altering what readers actually see.

Troubleshooting & Technical Tips

PDF opens without asking for a password

Some older viewers cache previously-opened files and skip the prompt. Close the viewer completely and re-open the file. You can also verify encryption by attempting to open the PDF in a different viewer (Chrome's built-in PDF viewer, Firefox, or Adobe Reader).

Viewer says "This PDF has restricted permissions" but still opens

This is expected behavior. The user password restricts full-access features only — if printing, copying, or editing was disabled during protection, the viewer will show this notice but the document remains readable.

Encryption fails with "Failed to protect PDF"

This happens when the source PDF is already encrypted or uses an uncommon PDF structure. Switch to the Unlock mode first to remove the existing encryption, then apply new protection. If the file is not encrypted but still fails, try the Repair PDF tool to rebuild the file structure.

Printing remains enabled even when I disabled it

Some PDF viewers ignore permission flags (notably certain mobile viewers and browser built-ins). Permissions are advisory enforcement by the viewer. The encryption itself is what prevents unauthorized access — for strict printing prevention, consider additional methods like DRM systems beyond standard PDF encryption.

The tool says there is nothing to decrypt

That means the PDF opens without a password. Only the open password can be removed here; if the file blocks printing or copying, those are owner-set permission flags and this tool leaves them alone. Check the restrictions panel to see exactly what the document limits.

"Incorrect password" error with the right password

PDF passwords are case-sensitive and may include invisible trailing spaces if copy-pasted. Retype the password manually rather than pasting. If the original password contained non-ASCII characters, ensure your keyboard input matches the encoding used when the PDF was created.

The decrypted PDF text is not selectable

Expected: decryption works by re-rendering each page into a new document, so the output is an image of the page rather than live text. It looks and prints identically but cannot be searched or copied. If you need the text, run the original encrypted file through the PDF converter with the password — that path extracts real text.

Metadata changes are not visible in Mac Preview

Some operating systems or PDF viewers cache document metadata or use XMP metadata instead of the standard PDF Info dictionary. Our tool updates the primary PDF Info dictionary, which is standard.

Related Guides

Related Tools

Embed this tool on your site

Paste this snippet into any HTML page or blog post to embed a live, fully working copy of PDF Security — Protect, Unlock & Edit Metadata. Free for any use.