SECURITY · Local document utility

Protect PDF

Encrypt a PDF with a password that the reader must enter.

    How this tool works

    Protect PDF: a practical guide

    Uses the bundled PDF encryption library and refuses to produce a result if encryption is unavailable. Both password fields must match; no default password is supplied.

    Steps to use this tool

    1. Select a readable PDF.
    2. Enter matching password and confirmation values.
    3. Protect the file and verify password access in a viewer.

    Tested example — 19 October 2026

    The encrypted sample opens with its test password and rejects an incorrect password.

    Selected sample: sample.pdf (2421 bytes, 2 pages).

    Measured output: sample-protected.pdf — 3255 bytes; 2 PDF pages.

    The encrypted sample opens with its test password and rejects an incorrect password.
    Page 1 rendered from the actual automated sample PDF output; this is not a browser screenshot.

    Test environment: Node + native canvas + actual site-ui.js form integration in LinkeDOM Representative sample; inspect your own output.

    Check the result

    Close the output and reopen it in a separate PDF viewer. Confirm that the correct password works and that an incorrect password is rejected.

    Files and privacy

    The public tool processes selected documents in your browser. It does not send document bytes to a conversion server. The page and its bundled libraries still download from this website. Keep the original, use an up-to-date browser and inspect your output before sharing it. See the privacy policy for hosting and support information.

    If processing fails

    An empty password or mismatched confirmation is refused. If the source already has encryption, open an authorized readable copy before applying the new protection.

    Implementation notes and sample evidence updated 2026-10-19. These notes describe the supported operation and its limits.

    Check the local-processing claim in your browser’s Network panel.

    Related tools