Remove Password from PDF

Enter the password you were given and save an unlocked copy. Your file stays in this browser tab and is never uploaded.

Choose your locked PDF

Drop a PDF here, or click to browse

PDF files only. With the keyboard, press Enter or Space to open the file picker.

No PDF handy? (password: demo1234)

Privacy: the PDF and the password are processed inside this browser tab and are not uploaded. The first time you pick a file, the page downloads a script library (about 600 KB) from a public CDN.

How to remove a password from a PDF

  1. Drop your locked file on the box under Choose your locked PDF, or click it to browse. The tool checks it at once and says whether a password is needed.
  2. Type the password into the PDF password field. Use Show to check for typos, because passwords are case sensitive.
  3. Click Remove password. A correct password unlocks the file in a second or two. A wrong one shows an error and saves nothing.
  4. Click Download unlocked PDF. The copy keeps your file name with -unlocked added, so the original stays untouched.

How the unlocking works

A protected PDF scrambles every text string and content stream with a key derived from the password you type, using RC4 (40 or 128 bit) or AES (128 or 256 bit), depending on how the file was saved. The format stores two kinds of password: an open (user) password that is required to view the file, and an owner (permissions) password that only limits printing, copying and editing.

The tool checks your password against the values stored in the file, decrypts each piece, and saves the result without the encryption entry. It is not a cracker: with no correct password there is no key to use. Because pages are not re-drawn, text stays selectable, and links, bookmarks and form fields are kept. The encryption rules are defined in the PDF 2.0 standard, ISO 32000-2, section 7.6. The decryption code is the open-source @cantoo/pdf-lib library.

Worked example

Click Try a sample locked PDF. The tool loads sample-locked.pdf (AES-256) and fills in its password, demo1234. Press Remove password and it reports "Pages: 1, Size: 1.4 KB. The open password was removed." and offers sample-locked-unlocked.pdf. Open that file in any viewer and it opens with no prompt, and the heading "Sample locked PDF" can be selected and searched.

Limits and edge cases

Frequently asked questions

Can I remove a PDF password if I forgot it?

No. This tool only unlocks files when you type the correct password, because decrypting needs the key the password produces. It never guesses or bypasses passwords. If it is lost, ask whoever made the file, or check the email or statement that came with it, since banks often use a number such as the last four digits of an account.

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

An open (user) password is needed to view the PDF at all. An owner (permissions) password lets anyone view the file but limits printing, copying text or editing. If your file only has an owner password, this tool detects that it opens without a password and offers to remove the restrictions.

Will the PDF look the same after the password is removed?

Yes. The pages are not re-drawn: each piece of the file is decrypted and saved as it was, so text stays selectable and links, bookmarks and form fields are kept. Only a digital signature is affected, because rewriting the file breaks the signature check.

Is it legal to remove the password from a PDF?

Unlocking your own document, or one you were given the password for, is ordinary use. Do not unlock files you are not allowed to open. This page is general information, not legal advice.

After unlocking, shrink the file with the PDF Compressor, join it to others with the PDF Merger, or pull out its words with PDF to Text.

Sources: ISO 32000-2 (PDF 2.0), PDF Association, section 7.6 Encryption; PDF, encryption and signatures (Wikipedia).