PDF Security & Access Issues

Fix Password-Protected PDF Opening in Chrome but Not Adobe Acrobat

Elise WilliamsElise Williams Nov 2, 2026 869 views

Question details

A generated PDF accepts the password in Google Chrome but throws an incorrect password error in Adobe Acrobat and Microsoft Edge.

How to Fix Password-Protected PDFs Opening in Chrome but Rejecting Passwords in Acrobat
Product
Adobe Acrobat, FPDF
Device & OS
not provided
Scenario
Opening a PHP/FPDF generated password-protected PDF file in different PDF viewer applications.
Observed behavior
The PDF opens successfully in Google Chrome but rejects the correct password in Adobe Acrobat and Microsoft Edge due to encryption compatibility issues.
Before you start

Ensure you are entering the exact case-sensitive password and try generating a test PDF file with a standard alphanumeric (ASCII) password to rule out character encoding conflicts.

Solution 1Recommended

Verify FPDF Encryption and Compatibility Settings

Address the root cause by adjusting the PHP/FPDF generation parameters to ensure broad compatibility across all strict PDF viewers.

The issue usually stems from how the FPDF library encrypts the file. Different PDF viewers handle encryption standards differently. Google Chrome's built-in PDFium engine is highly tolerant of non-standard structures, whereas Adobe Acrobat strictly enforces standard ISO PDF encryption compliance.

1
Check FPDF version

Ensure you are using the latest version of the FPDF library, as older versions may have known bugs with password encryption and viewer compatibility.

2
Use standard ASCII passwords

Test generating the PDF with a simple alphanumeric (ASCII) password to rule out special character or UTF-8 encoding conflicts in the script.

3
Review encoding settings

Ensure that the password encoding in your PHP script matches the expected standard, verifying whether it requires ISO-8859-1 rather than UTF-8.

4
Validate PDF structure

Run the generated file through an online PDF validator to check for structural anomalies, corrupted xref tables, or non-standard encryption flags.

Verify FPDF Encryption and Compatibility Settings
Developer Support: If the issue persists, the FPDF library's support forum or documentation is the most appropriate place to troubleshoot specific script generation bugs.
Robust PDF Reader & Editor

Open and Manage Password-Protected PDFs with WPS PDF

WPS Office includes a highly compatible PDF viewer that robustly handles various encryption methods. You can easily open, view, and modify secure PDFs without the strict formatting errors sometimes triggered by Adobe Acrobat.

  1. 1. Download and Install: Get WPS Office from the official website and install it on your computer.
  2. 2. Open the PDF: Right-click your problematic PDF, select 'Open with', and choose WPS Office.
  3. 3. Enter the Password: When prompted, enter your document password. WPS PDF will smoothly decrypt and display the contents.
  4. 4. Re-secure or Edit: Navigate to the 'Protect' tab to modify encryption settings, edit text, or remove the password for better broad compatibility.
High compatibility with standard and non-standard PDF encryptionSeamlessly read, edit, and convert PDF documentsFully compatible with Microsoft Office formats like Word, Excel, and PowerPointLightweight and completely free to download
microsoft office alternative - wps office

Frequently Asked Questions

Why does a password-protected PDF open in Chrome but not in Adobe Acrobat?

Google Chrome uses a highly tolerant PDF viewer (PDFium) that can bypass minor structural or encryption errors. Adobe Acrobat strictly enforces ISO PDF standards, meaning it will reject files with improperly encoded passwords or non-compliant encryption layers often generated by third-party scripts.

How can I fix FPDF password encryption issues in my PHP code?

Ensure you are using standard ASCII characters for your passwords, as special characters or UTF-8 encoding can cause decryption failures in strict viewers. Updating the FPDF library to its newest release can also resolve known encryption bugs.

Is there a way to remove the password from the corrupted PDF file?

Yes. You can open the PDF in Google Chrome, which successfully accepts the password, and use the 'Print to PDF' feature. This generates and saves a new, unencrypted copy of the document that is broadly compatible.

Does WPS Office support opening password-protected PDFs?

Yes, WPS Office includes a powerful PDF reader that natively supports standard PDF password encryption. It provides a robust alternative for viewing, editing, and managing secure PDF files when other viewers fail.