Password Protect a PDF Before Sharing (AES-256)

Cover illustration: Password Protect a PDF Before Sharing (AES-256)

A password means a lost laptop, a forwarded email or a misdirected upload does not expose the document’s contents. Protect PDF encrypts the file in your browser.

Step by step

  1. Open Protect PDF and choose the file.
  2. Enter the password twice. Use at least 8 characters; a short phrase is easier to remember and harder to guess.
  3. Optionally tick Block printing, Block copying text or Block editing.
  4. Protect and download.
Protect PDF with a password entered twice and Block printing ticked
The password fields and the optional restrictions.

What we verified

  • The output uses the PDF standard’s AES-256 encryption (Encrypt dictionary V 5, R 6).
  • pypdf could not open it with a wrong password and opened it with the right one.
  • The 12-page file came out at 11 KB with all pages present.

Restrictions are requests, not locks

The open password is real encryption. The print/copy/edit restrictions are flags that well-behaved viewers respect, but some software ignores them once the file is open. Do not rely on them to stop a determined recipient.

Sharing the password

  • Send it by a different channel than the file (e.g. the file by email, the password by phone or text).
  • There is no recovery: if you forget the password, PDFroo cannot open the file. Keep an unprotected original somewhere safe.

To remove a password later, see removing a password you know.

Second test: blocking copying and editing

On 28 October 2026 we protected the same fictional 12-page report on the live site with a different password and ticked Block copying text and Block editing (but not Block printing). The output was 11 KB. pdfinfo, given the password, reported Encrypted: yes (print:yes copy:no change:no addNotes:no algorithm:AES-256), so the flags matched what we ticked. Note that blocking editing also cleared the “add notes” permission.

Without the password, pdfinfo could not open the file at all (“Incorrect password”). With the password, pdftotext still extracted all of the report’s text. That is the point made above in practice: the open password protects the content, while “no copying” is a request that a viewer can choose to respect or ignore.

Mistakes the tool catches

  • Passwords that do not match. When we typed two different passwords, the tool showed “Passwords don’t match.” and the Protect button stayed disabled.
  • Protecting a file twice. When we loaded the already-protected output and tried to protect it again, the tool refused with “This PDF is already password-protected. Unlock it first.” To change a password, unlock the file with the old one first, then protect the unlocked copy with the new one.

Choosing a password you can share

The tool shows a tip to use at least 8–10 characters. A few unrelated words with a number are easy to read out over the phone and much harder to guess than a name or a date of birth. Avoid reusing a password you use for an online account.

How we tested this

Date22 October 2026
EnvironmentGoogle Chrome 155 (headless) on Linux x86_64, desktop viewport 1280×900, PDFroo build of 22 October 2026
Test fileFictional 12-page report
SettingsPassword “Riverbend-2026!”, Block printing
ResultsAES-256 (V5/R6), wrong password rejected, correct password accepted; 11 KB
NetworkThe browser made no request that carried the file: the only requests during processing were same-origin page prefetches and local blob: URLs.
Re-test28 October 2026 on the live site: Block copying + Block editing (pdfinfo: print:yes copy:no change:no, AES-256); mismatched passwords and re-protecting a protected file both refused

During these runs the only POST requests went to the site’s analytics endpoints (Cloudflare Web Analytics and Google Analytics); no request went to a PDFroo processing server, and the result was produced in the browser.

We checked every output with pypdf, pdfinfo and pdftotext, and recorded every network request the page made while the file was processed. See our tool testing methodology.

FAQ

Can PDFroo recover a forgotten password?

No. There is no recovery, so keep an unprotected original somewhere safe.

Do copy and edit restrictions really stop people?

Not reliably. The open password is real encryption, but restrictions are flags that some software ignores.

How should I share the password?

By a different channel than the file, for example the file by email and the password by phone.

Is my file uploaded?

No. This tool runs in your browser, so the file is processed on your own device and is not sent to a PDFroo server.

Tools mentioned in this guide

Keep reading

Remove a PDF Password You Already Know

Unlock a protected PDF so it opens without a password. Tested: the wrong-password message, what is kept after unlocking, and what this tool will not do.

Flatten a PDF Before Sharing: Fields Only or as Image

Lock filled-in form fields so they cannot be changed, or turn pages into images. Tested on a 3-field form: what each mode keeps, removes and costs.

How to Reduce Image Resolution: Pixels, DPI and File Size

Lower an image’s resolution by changing its pixels, not the DPI number. Tested on a 12 MP photo, a text screenshot and a batch, with exact sizes.

Photo Too Small in KB? How to Reach a Minimum or KB Range

A form wants 20–50 KB and your photo is 8 KB? Raise JPG quality or enlarge it in pixels. Tested on two photos and a signature, with exact sizes.

How to Rotate a PDF and Save It Permanently

Rotating in a PDF viewer is temporary. Save the turn in the file with Rotate PDF, then check it stuck. Tested on a sideways slide deck and a budget report.

How to Duplicate a PDF Page Multiple Times

Copy one PDF page as many times as you need with Organize PDF’s Duplicate button. Tested on a 3-page form and a 1-page handout on the live tool.