Encrypted PDF Share Page

Turn a PDF into a single password-protected web page file. Send it by email or chat; the recipient opens it in any browser, types the password and reads or saves the PDF.

Runs in your browser. Your files never leave your device. See how to check

…

How to do it

  1. 1
    Load the PDF

    Choose the document to protect.

  2. 2
    Set a password

    Type one, or leave it empty for a generated passphrase.

  3. 3
    Add a title and message

    Tell the recipient what the file is.

  4. 4
    Choose options

    Expiry date, download button and stretching.

  5. 5
    Make the page

    Press Make share page and download the .html file.

  6. 6
    Send separately

    Email the file and share the password another way.

About this tool

Sending a confidential PDF by email leaves a readable copy in every inbox, backup and forwarded thread. Password-protected PDFs help, but the older PDF passwords are often weak, some phones cannot open them, and many "secure sharing" services want you to upload the file to their servers. This tool takes a different route. It encrypts the PDF with AES-256-GCM, using a key derived from your password with 600,000 rounds of PBKDF2-SHA-256, and wraps the result in one ordinary .html file together with a small page that asks for the password. The recipient double-clicks the file, it opens in their browser, they type the password, and the PDF is decrypted on their own device and shown, ready to read, print or save. There is no server, no link that can be scraped and no account on either side.

How it works

1. Your PDF is read in your browser and never uploaded. 2. A random salt and nonce are created, and your password is stretched into a 256-bit key with PBKDF2-SHA-256. 3. The PDF is encrypted with AES-256-GCM, which also detects any tampering with the encrypted data. 4. The encrypted bytes, the salt, the settings and a short script go into a single HTML file. 5. On opening, the script asks for the password, decrypts with the browser's built-in Web Crypto and shows the document.

Choosing and sending the password

Leave the password empty and the tool makes a passphrase of five random words and a number, such as maple-orbit-lantern-quartz-otter-47, which is strong and easy to read out. Send the password through a different channel from the file: a text message, a phone call or a password manager share. Never put it in the same email.

Options

- Title and message: shown on the locked page so the recipient knows what they have. - Hint: visible to anyone who has the file, so keep it vague or leave it empty. - Expiry date: after this date the page refuses to open. It relies on the recipient's clock, so it is a reminder rather than a guarantee. - Download: allow or hide the download button once the PDF is open. - Password stretching: 600,000 rounds is the current recommendation; choose 210,000 if recipients use very old phones.

Opening the file

Any current version of Chrome, Edge, Firefox or Safari opens the page, on Windows, macOS, Linux, Android and iOS. On iPhone, save the attachment to Files and open it from there if the mail app's preview does not run the page. Some email systems block .html attachments; zip the file or share it through a cloud drive link instead.

Limits

Once opened, the recipient can save and forward the PDF; encryption protects the file in transit and at rest, not after the right person reads it. A weak password can be guessed offline by anyone who has the file, which is why long passphrases matter. This tool is not a substitute for your organisation's data protection rules or legal advice on sending personal data.

Worked example

An accountant shares a client's 14-page tax return (1.2 MB) as tax-return-2025-protected.html (1.6 MB), sends it by email, and reads the generated passphrase to the client over the phone; the client opens it in Safari on an iPhone and saves the PDF.

Quick facts

Frequently asked questions

Does the recipient need an app?

No. Any current web browser opens the file and decrypts it.

Is the PDF uploaded anywhere?

No. Encryption happens in your browser and decryption in theirs.

How strong is the encryption?

AES-256-GCM with a key derived by PBKDF2-SHA-256; the real strength depends on your password.

What if they forget the password?

It cannot be recovered from the file. Send it again or make a new page.

Does the expiry date really stop access?

Only on a computer with a correct clock; treat it as a reminder.

Why is the file bigger than the PDF?

The encrypted data is stored as text, which adds about a third.

Guides for this tool

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages