How to unlock a password protected PDF
How to unlock and edit a password protected PDF with or without the password
Learn how PDF passwords work, their weaknesses, and how to use both native apps and cracking tools to unlock and remove their passwords.
Unlocking PDF passwords
For better or worse (hint: worse), passwords are the most common form of protection for PDF files. Home users, businesses, and even government organizations apply them daily using PDF editing software such as Adobe Acrobat Pro, Foxit, or online tools. It was inevitable that at some point users would try to break this security – either due to losing the password or to maliciously handle content they shouldn’t.
Let’s take a look at how to unlock password protected PDFs and how to stop it, including:
- How PDF passwords work
- How to unlock password protected PDFs legitmiately
- How to unlock a PDF without the password
- Are PDF passwords secure?
- Key takeaways for unlocking PDF files
- The best way to protect PDFs without passwords
How do PDF passwords work?
There are two types of PDF password protection: the open password and the permissions password. Knowing how they work will help you understand their flaws and how it is possible to unlock or remove them.
How PDF open passwords work
A PDF open password, previously known as the user password, requires users to enter a previously set string to access the document.
Here’s how the open password works on a technical level:
- The user sets a password.
- That password is encrypted (hashed).
- The PDF is encrypted using the hashed password as a key.
- When a user enters the password, it is compared to the hashed password, and if they match, the document is decrypted and the content displayed.
- If the password does not match, the user will see an incorrect password error, and the document will not open.
The document is encrypted using 256-bit encryption, which is resistant to automated attacks. However, as we’ll show later, breaking the encryption is unnecessary to regain access to the document.
How do PDF permission passwords work?
A PDF permissions password or owner password is intended to stop users from editing, printing, or otherwise modifying a PDF. The key difference between these password restrictions and an open password is that the entire document is not encrypted.
This is how PDF permissions or restrictions work:
- The PDF contains permissions flags that determine which actions are and are not allowed.
- When the user chooses a password and sets their permissions, their choices are noted, embedded within the PDF structure, and encrypted.
- The PDF reader checks the permission settings when a user tries to perform an action and either allows or denies it.
- Alternatively, users can enter the password to remove the restrictions until its next open.
For this to work, the PDF viewer the end user is using needs to support reading and enforcing permissions. We’ll discuss why this is problematic later.
How to unlock password protected PDFs legitimately
The first and easiest way to unlock a PDF is by knowing the password, as this will enable you to remove any restrictions. We’ll show you where to find this option in Adobe Acrobat Pro, but the interface should be similar in other PDF editors.
PDFs that have an open password
There are two ways to remove protection from a PDF: temporarily, by entering the correct password, and permanently, by removing its password and decrypting it.
How to unlock a password protected PDF
Any PDF that is locked with an open password should prompt you to enter the correct password, provided you’re using a compatible PDF editor.
Entering it will unlock the PDF for that session only – if you close it, you’ll need to enter the password again.
How to permanently unencrypt a PDF
Once you have entered the open password once, you can decrypt the PDF through the security menu:
- Press the “Security” icon on the right-hand side of the PDF and then press “Advanced Options > Remove Security” in the toolbar.
- Enter the password when prompted and press “OK”.
The new unlocked PDF will be unencrypted, and you will no longer need to enter a password to access it.
How to remove the PDF permissions password
The process to remove the permissions password is similar:
- Press the “Security” icon on the right-hand side of the PDF and then press “Advanced Options > Remove Security” in the toolbar.
- Enter the password when prompted and press “OK”.
- Press Ctrl + S to save the unsecured version of the document.
How to unlock a PDF without the password
Different techniques must be used to unlock a PDF depending on whether it’s using a permissions password or an open password, with the former much easier to remove.
How open a password protected PDF without the password
The security of an encrypted PDF depends on whether the person protecting it has good password hygiene. Open passwords are cracked using tools that automatically try thousands of different combinations.
They can use cracking techniques such as:
- Password lists: the software will try a list of the most commonly used passwords or a large database of passwords leaked from other hacks.
- Dictionary attacks: the cracking software will try every word in the dictionary, with single words often cracked in minutes but combinations of multiple words taking significantly longer.
- Brute force: tries all possible number and letter combinations. This is typically quite slow for longer passwords, but you can get short ones quickly.
- Rainbow table: uses a list of pre-computed hashes (the numerical value of an encrypted password) of all possible password combinations for any given hashing algorithm.
- Thunder Tables: these are unique to Elcomsoft. They list all the keys for which Rainbow Table fails so that brute-force attacks do not spend time trying 99% of incorrect keys.
Password cracking tools aren’t the only way to open a locked PDF. PDFs protected with old versions of Acrobat can have their insecure RSA encryption cracked instantly, for example. Passwords can also be shared by other users or phished, or accomplished attackers can perform PDF exfiltration attacks. We choose to focus on password crackers because they are the most accessible to the average user and can be quite successful for shorter passwords.
There are a number of PDF password remover tools, including online services, but we’ll use Elcomsoft and Passware for this demonstration as they are well-known and reliable.
How to unencrypt a PDF without the password using Passware
Passware’s unlock tool provides a simple interface from which to crack PDF and other document passwords. It allows you to easily customize the types of attacks you attempt and the ability to provide contextual information that you remember about the password.
Here’s what the process looks like to unencrypt a PDF document.
- Open Passware and drag and drop your PDF file into the “Recover File Password” box.
- Choose whether you want to use the default settings or customize them. We recommend using the wizard to help you choose the best settings.
- Press “Recover” and wait for the software to try different unprotection combinations. Depending on how secure the password is, this process could take seconds, days, weeks, or hundreds of years.
How to open a password protected PDF without the password using Elcomsoft
The process to crack a password is just as easy in Elcomsoft:
- Open Elcomsoft and select the settings you’d like.
- Press “Open” and select your PDF.
- Click “Start Recovery” and wait for Elcomsoft to crack the password.
How to unlock a PDF for editing without the password
Permissions passwords are much easier to remove. There are dozens of ways to unlock a PDF locked for editing and printing, with many of them requiring little effort. This is due to Adobe permissions relying on the honor system and the ability for the permissions flags, even if they are encrypted, to be removed from the document.
We won’t show you every method here of how you can edit a protected PDF, but rather focus on the fastest and most approachable ones.
How to unlock a PDF for editing with Google Chrome
This is the easiest way to unlock a PDF for editing:
- Right-click the locked PDF in File Explorer and press “Open with > Chrome”.
- Press the print icon in the top right corner of the PDF viewer.
- Open the PDF file using a PDF editor, MS Word or a similar editor.
How to unlock a PDF for editing with Google Drive
If opening in Chrome doesn’t work, you can upload your PDF to Google Drive instead, which will strip the protection to make it editable.
- Open your Google Drive settings and check the box “Convert uploaded files to Google Docs editor format”.
Access the settings menu via the cog in the top-right corner.
- Select “New > File upload” and upload your PDF to Google Drive.
- Right-click the file and select “Open with > Google Docs”.
- Select “File > Download > PDF document”.
How to unlock a PDF for editing without the password online
Online tools are a convenient way to unlock PDFs, but you should be aware that you are uploading your PDF to somebody else’s server and you cannot verify its security. You should only use them for non-sensitive files.
Here’s how to unlock a PDF for editing online:
- Go to a PDF password removal website and drag and drop or browse to your PDF to upload it.
- Press “Unlock” or “Convert” PDF and wait for the process to complete.
- After a few seconds, you can download your password-free PDF stripped of all permissions.
- Open the PDF in any PDF editor to change its contents.
Are PDF passwords secure?
PDF permissions passwords are totally useless, and while better than nothing, open passwords fail to offer a level of security suitable for sensitive and confidential documents. We can talk about the problems with Adobe’s specific implementation all day, but ultimately, any document protection that uses passwords is going to be less secure by its very nature. It takes a unique encryption key, which could be thousands of characters long, and allows attackers to bypass it by guessing a user-chosen password that is likely not random and less than 10 characters. See how secure is Adobe encryption for more detailed information.
But these aren’t the only pitfalls:
- Passwords can be either intentionally or unintentionally shared.
- Users who know passwords can remove them and share the unprotected document.
- Passwords are often reused across multiple documents.
- If you want your organization to have different passwords for each document, then you need to securely distribute them to users, secure the database with them in, and provide a way for users to request forgotten passwords that isn’t vulnerable to social engineering.
- There is no way to change a PDF password after the fact, so if it is compromised, it is compromised forever.
- Users often write complex passwords down in insecure locations (such as sticky notes or encrypted documents) so they can remember them.
If you’re looking for strong document security, it’s better to avoid passwords entirely.
Key takeaways for unlocking PDFs
To summarize all that we’ve covered:
- There are two types of PDF passwords with different levels of security
The PDF open password encrypts the entire document and is, therefore, harder to remove than the permission password, which only encrypts the permissions dictionary. - The easiest way to unlock a PDF is by entering the password when prompted
This is the only foolproof way to unencrypt a PDF. - Users can remove the open password entirely after they’ve entered it
This allows them to share passwordless PDFs with others. - Sophisticated PDF cracking tools can remove the open password
Tools such as Elcomsoft and Passware can try tens of thousands of password combinations per second to guess a password. This is an effective way to remove shorter and less complex passwords. - You can unlock an edit-protected PDF by typing the password in any PDF editor
PDF applications will also let you remove the password entirely. - It’s easy to remove the permissions passwords using cracking applications
You don’t need to know the password or have an algorithm guess it – cracking applications remove permissions passwords instantly and in a single click. - These vulnerabilities make PDF passwords a poor method of security
The potential for them to be shared, stored insecurely, or reused only adds to this.
The best way to protect PDFs without passwords
While you can use PDF certificates instead of passwords, these have their own problems, as we cover in PDF password or certificate encryption. The best way to protect a PDF without a password is to use a PDF DRM solution like Locklizard.
Locklizard Safeguard protects PDFs using a combination of encryption, secure licensing, and a dedicated viewer application. It prevents unauthorized access of PDF documents and controls what users can do with them.
Heres’ how to make a PDF read only or not editable using Safeguard:
- You open the PDF in the Safeguard Writer application and choose the DRM controls you want to enforce (printing, expiry, watermarks, screenshotting, etc.).
- Once you press publish, Safeguard will encrypt your PDF file so that unauthorized users will not be able to open it and nobody will be able to edit or copy and paste from it.
- In your admin portal, you add users, and a license file is automatically sent to their email.
- Provided a user has activated a valid license file, decryption keys will be securely transmitted to an encrypted keystore when they open an encrypted PDF. These decryption keys cannot be shared or copied to other devices.
- The document will only open in the Locklizard Safeguard Viewer application, which prevents copying, screenshots, printing, and editing. It can also display dynamic watermarks that identify the person using the document.
- When you recall or revoke authorization to a PDF, even those who have already downloaded it will not be able to open it. All they will have left is an encrypted file that they cannot open.
Crucially, Locklizard restrictions cannot be bypassed or removed. Unlike Adobe permissions passwords, there is no route to edit, screenshot, copy, or save a document, and users can only print if the document owner / publisher allows it. You get comprehensive, modular protection without having to set up password management infrastructure or put any extra load on your IT support team.
Take a 15-day free trial of our DRM software today to stop unauthorized access and modification of your PDF files without passwords or certificates.
FAQs
Can a password-protected PDF be unlocked?
Yes, password-protected PDFs can be unlocked on Mac, Windows, and even Android devices by entering the password or using free or paid cracking tools. Permissions passwords can be successfully cracked every time, whereas open passwords depend on the length and complexity of the password.
Why remove a PDF password?
PDF passwords often need to be removed because the document is going to be shared with an authority (such as a tax authority), the contents are no longer sensitive, or the user has just forgotten the password.
Can online tools crack open passwords?
Internet tools such as SmallPDF or ilovePDF appear to be exclusively focused on removing the permissions password, not the open password. Cracking an open password requires more powerful hardware and this likley makes it unprofitable to offer as a free service.
Will a strong password stop my PDF from being opened?
No, because authorized users can still share the password with unauthorized ones or fall victim to phishing and social engineering attacks.
Is Adobe Acrobat password protection more secure than other applications?
No. PDF apps follow the Adobe standard and PDF specification, which use the same techniques so they are compatible with one another.
Does Locklizard protect other document formats?
No. We only protect files in PDF format. You must export other documents to PDF before protecting them.