PDF Edit Craft Files never leave your device

How to password protect a PDF

Lock a PDF before you email or share it: a tax return, a W-2, medical records or a signed lease. Only people who know the password can open the file, and you can also stop others from printing, copying or changing it.

Do it now in the free PDF editorOpens in your browser. No sign-up, no watermark — your PDF is never uploaded.
Open the PDF editor

Password protect a PDF in four steps

  1. Open the PDF editor and choose your PDF. Make any edits or sign it first if you need to.
  2. Click More in the toolbar and choose Protect PDF.
  3. Type a password to open the PDF and repeat it. To also limit what others can do, tick Restrict printing, copying and editing, set a permissions password and choose what is allowed.
  4. Click Protect and download. The protected copy is saved with “-protected” at the end of its name.

See how it works

The More menu in the PDF editor toolbar with Protect PDF and Unlock PDF in the Security group
  1. Click More in the toolbar
  2. Choose Protect PDF
The Protect PDF panel next to a service agreement: a strong password to open the file and restrictions on printing and copying
  1. Type and repeat the password to open the PDF
  2. Optionally restrict printing, copying and editing
  3. Protect and download saves the locked copy

What you can restrict

  • Printing: allowed, low resolution only, or not allowed.
  • Copying text and images to other apps.
  • Editing the content and organizing pages: inserting, deleting or rotating them.
  • Adding comments and signatures, and filling in form fields. You can allow only form filling, for example on an application form.

Your edits are included

The protected file is made from the document as you see it in the editor, with your text, signatures, highlights, redactions, watermark, rotation and crop. After you protect a file, later downloads from the editor keep the same protection until you turn it off in the panel or use Unlock PDF.

Need to remove a password instead? Use Unlock PDF: open the file with its password and download a copy without protection.

Frequently asked questions

How secure is the password protection?

The file is encrypted with AES-256, the strongest encryption in the PDF standard and the same one Adobe Acrobat uses. Without the password the content can’t be read. How safe it is in practice depends on the password: use 12 or more characters with letters, numbers and symbols. The panel shows how strong your password is.

What is the difference between the open password and the permissions password?

The password to open the PDF is needed to view the file at all. The permissions password does not lock the file: anyone can open and read it, but printing, copying text or editing is limited until someone enters the permissions password. Use both if you want the file locked and restricted.

Do restrictions work in every PDF app?

Adobe Acrobat and Reader, Apple Preview, Chrome, Edge and most other PDF readers respect them. Some apps ignore restrictions, so they are not a substitute for real encryption. If the content must stay private, always set a password to open the PDF.

Will the protected PDF open on an iPhone, a Mac or in Adobe Reader?

Yes. AES-256 is supported by Adobe Reader 9 and later, Apple Preview and iOS, Chrome, Edge, Firefox and Android PDF viewers. Choose AES 128-bit only if the file must open in very old software such as Acrobat 7.

I forgot the password. Can you recover it?

No. The password is never stored or sent anywhere, and strong PDF encryption can’t be undone without it. Keep the original, unprotected file, or keep the password in a password manager.

Is my PDF or my password uploaded to a server?

No. Encryption runs entirely in your browser with the open-source qpdf engine, so the document and the password never leave your device.

Ready to try it?Drop your PDF into the editor and download the result in seconds.
Open the PDF editor

More guides

Edit existing PDF textClick a line that is already in the PDF and retype it in a matching font.Add text to PDFType anywhere on a page in 26 fonts, any size and color.Sign a PDFDraw, type or upload your signature and place it on the page.Fill out a PDF formFill fields, tick checkboxes and choose options — even on non-fillable forms.Highlight text in a PDFHighlights that snap to the words and lines under them.Draw and add shapes to a PDFFreehand drawing, rectangles, ellipses, lines and arrows.Add an image to a PDFInsert a JPG, PNG, HEIC or WebP image, logo or stamp.Add a watermark to a PDFStamp text or a logo on every page, or only the pages you choose.Redact a PDF permanentlyBlack out confidential text so it is removed from the file for good.Search for text in a PDFCtrl+F across the whole document, then highlight or redact every match.Unlock a PDFRemove the password and printing, copying or editing restrictions from a PDF.White out a PDFCover content with a white box and type over it.Reorder, rotate and delete PDF pagesReorder, rotate and delete pages; insert blank pages, other PDFs or images.Crop PDF pagesTrim white margins or keep just part of a page, on one page or all of them.Split a PDF into several filesCut a PDF at the pages you choose, every N pages or at each bookmark.Extract pages from a PDFPick pages by clicking them and save them as a new PDF.Merge PDF filesCombine PDFs and images into one file, in any order you like.Keyboard shortcuts and tipsUndo, copy and paste, select all, snap guides, layers and zoom.Compress a PDFMake a PDF smaller for email and upload limits while text stays sharp.Convert PDF to JPG or PNGSave PDF pages as high-resolution JPG or PNG images.OCR a scanned PDFRecognize the text in scanned pages so you can search, copy and edit it.Convert a text file to PDFTurn a .txt file into a clean PDF with your page size, font and margins.Repair a damaged PDFOpen a corrupted or cut-off PDF and save a clean, working copy.