OnlyPDF

Privacy & Security

Password-Protected PDF? What to Do Before You Use Any PDF Tool

Most PDF tools cannot open a locked file. Here is how to tell what kind of protection you have and how to proceed when the file is yours.

By David Valle

Password-Protected PDF? What to Do Before You Use Any PDF Tool

You upload a PDF to a tool and get an error saying the file could not be opened, or that it may be password-protected. It is a common problem, and it has a straightforward explanation. This article describes what a PDF password does, what the tools on this site can and cannot do with a locked file, and what to do when the document is yours.

Two kinds of PDF protection

A PDF can be protected in two different ways:

  • **An open password.** Anyone who wants to read the file has to enter a password first. Without it, the contents are scrambled.
  • **A permissions password.** The file opens normally, but the author has restricted actions such as printing, copying, or editing.

You will often see both described simply as "password-protected", but they behave differently. A file with an open password cannot be processed at all until it is opened. A file with restrictions may open in a viewer but still be refused by a tool that needs to change the document.

Flat lay of office supplies including documents, calendar, and eyeglasses on a desk.

What the tools here can do

Merging, splitting, inserting, rotating, compressing, converting, and the rest need to read the content of the file, and often to build a new one. They do not accept password-protected PDFs, and they do not add or remove passwords. If you see an error that the file cannot be opened or may be protected, this is the likely reason. The same note appears in the help for several tools, for example the Insert PDF Pages tool.

If the file is yours

If you know the password and are allowed to change the file, the cleanest way forward is to make an unprotected copy in the program you normally use.

  • Open the file in the program that created it, or in a PDF viewer, and enter the password.
  • Look for an option to save or export a copy, or to print to PDF, and make sure the copy is created without a password.
  • Use the unprotected copy in the tool you need.
  • When you are finished, delete the unprotected copy if the content is sensitive, and add the password back using your original program if the file needs protection again.

If your file has restrictions on printing or editing and you created it, you can usually change that in the original program's security settings.

Treat the unprotected copy as sensitive. It has no lock, so anyone who finds it can read it. Store it carefully and remove it when you are done.

If the file is someone else's

If a colleague, a bank, or a school sent you a locked PDF, ask the sender for the password or an unprotected copy. They set the protection for a reason, and they are the right person to change it. Only work with files you have permission to use.

If you have forgotten the password

Check where it might be stored: a password manager, the original email, a note, or the document's source. If it was set by an organisation, they can usually reissue the document. If it was your own file, the original unprotected version may still exist elsewhere. We do not recommend or support tools that try to bypass passwords, and they are a poor idea for sensitive files anyway.

Sharing protected files safely

  • Send the password through a different channel from the file, such as a phone call or a separate message.
  • Use a password that is long and not reused elsewhere.
  • Do not put the password in the file name.
  • Check the final file before you send it. The final checklist covers it.

A note on privacy

A password protects a file in transit and at rest, but once you open it, the content is on your screen and in your device's memory. Browser-based tools process files locally, as explained in what "processed in your browser" really means. Whatever you use, keep sensitive files off shared computers where you can.

What these tools do not do

They do not add passwords, remove passwords, or fill in and sign forms. The overview in which PDF tool do I need lists what each tool covers, so you know when you need other software.

Frequently asked questions

Why does a tool say my PDF cannot be opened?

It may be password-protected, corrupted, or in an unusual format. Try opening it in a viewer first. If it asks for a password, that is the cause.

Can I merge a locked PDF with another?

Not directly. Make an unprotected copy of the locked one first, if it is yours to change.

Does printing to PDF always work?

It works for most files, but some documents restrict printing, and then you will need the owner to change that.

Will I need to protect the file again?

If it contains sensitive information, yes. Use your original program to add the password back after you finish.

Know which kind of lock you have, ask the right person, and the tool you need will work first time.