🔒 Password Protected Troubleshooting 4 min read

Password-Protected PDF Won't Compress?
Here's the Fix

You tried to compress a PDF and got an error like "This PDF is password-protected." This is one of the most common compression failures, and it has a simple, safe fix — as long as you know the password.

Why Password-Protected PDFs Can't Be Compressed

Compression works by reading each page of your PDF, rendering it visually, and rebuilding a new compressed file from that. When a PDF is password-protected (encrypted), the page content is scrambled at the file level — no tool, including ShrinkPDF, can read or render the pages without first decrypting the file. This isn't a limitation specific to ShrinkPDF; it's true of virtually every PDF compression tool, because encryption is specifically designed to prevent unauthorised reading of the content.

This is expected behaviour, not a bug

If you see "This PDF is password-protected. Please remove the password first," that's the tool correctly detecting encryption and stopping rather than failing silently. The fix is straightforward: remove the password (if you have it), then compress normally.

Two Types of PDF Password

Password TypeWhat It DoesAffects Compression?
Open password (User password)Required to open and view the PDF at allYes — must be removed before compressing
Permissions password (Owner password)Restricts printing, copying, or editing — but the PDF opens without a passwordSometimes — depends on whether the restriction blocks content extraction

If you can open the PDF without entering anything, but get a compression error, you likely have an owner/permissions password. If you need to type a password just to view the PDF in the first place, you have a user/open password — this always needs to be removed first.

🗜️ Compress After Removing the Password

Once unlocked, compress your PDF free — no upload, no limit.

Compress PDF Free →

Remove Password on Mac (Built-in, Free)

1

Open the PDF in Preview

Double-click the PDF — it opens in Preview by default on Mac. Enter the password when prompted to view it.

2

Export without a password

Go to File → Export As. In the export dialog, leave the "Encrypt" checkbox unchecked. Save as a new file.

3

Compress the new file

The exported file has no password. Upload it to ShrinkPDF and compress normally.

Remove Password on Windows

Windows doesn't have a built-in PDF password remover, but you can use a free PDF reader to do it:

1

Open the PDF in Microsoft Edge (built-in)

Right-click the PDF → Open with → Microsoft Edge. Enter the password to view it.

2

Print to PDF

Press Ctrl+P, choose "Save as PDF" or "Microsoft Print to PDF" as the printer, and save. This creates a new PDF without the password (and without permissions restrictions).

3

Compress the new file

The printed PDF has no password protection. Upload it to ShrinkPDF and compress.

⚠️ "Print to PDF" slightly changes the file

This method re-renders the PDF through the print pipeline, which means text that was selectable before may not be after (depending on the source). For most use cases (removing a password to compress and submit), this doesn't matter — but if you need to preserve selectable text, look for a dedicated password removal tool instead.

Remove Password Online (When You Don't Have Mac/Windows Access)

If you're on a phone or Chromebook without access to the methods above, several reputable services offer free PDF password removal. Be cautious: only use this for documents you own or have explicit permission to modify, and prefer services with clear privacy policies since your file (and password) will be processed on their server.

After removing the password through any method, return to ShrinkPDF to compress — this step always runs locally in your browser regardless of how you removed the password.

After Removing the Password

1

Confirm the password is gone

Close and reopen the new file. It should open without prompting for a password. If it still asks, you may have edited the wrong file or the export didn't apply.

2

Compress normally

Upload the password-free version to ShrinkPDF, choose your compression level, and compress. It will now process without the password error.

3

Decide if you need to re-add a password

If the original password protection was important for your use case (e.g., sending a sensitive document by email), you may want to re-apply a password to the compressed file after compression, using the same tool you used to remove it. This way the recipient still needs the password to open the smaller, compressed version.

FAQ

I don't know the password. Can I still compress the PDF?
No — without the password, the content cannot be decrypted or read by any tool, including ShrinkPDF. If you don't know the password, you'll need to contact whoever created or sent you the file to obtain it. There is no safe or legal way to bypass a password you don't have permission to remove.
Will removing the password make my document less secure?
The compressed file will not be password-protected unless you re-add a password afterward. If the document needs to stay protected after compression (for example, sending sensitive financial information), re-apply a password using a PDF editor after compressing. If the password was only there to prevent casual viewing during transit and the recipient is trusted, this may not be necessary.
My PDF opens fine without a password but ShrinkPDF still says it's protected. Why?
This usually means the PDF has an owner/permissions password rather than an open password — it restricts editing or copying without requiring a password to view. Some permission restrictions also block the content extraction that compression requires. Use the "Print to PDF" method (Windows) or "Export As" without encryption (Mac) to create a clean copy without these restrictions.