How-To

How to Protect a PDF from Editing for Free: Restrict Changes

· 6 min read

Quick summary: To protect a PDF from editing for free, the most reliable method is to flatten it — open it in Preview on Mac, go to File → Print → PDF → Save as PDF with the Quartz Filter “Create Generic PDF.” This converts the PDF to a static, image-based format that cannot be edited. Alternatively, set a permissions password in Preview: File → Export as PDF → enable “Encrypt” and set an Owner Password that restricts editing.

“Protecting from editing” means different things depending on the threat model: blocking casual edits in a PDF viewer, preventing form fields from being filled, or making the document truly unalterable. This guide covers all three approaches, from free and built-in to the most secure. You can also upload any PDF to our free AI PDF reader to read and share content without anyone being able to edit the source.

Method 1: Flatten the PDF (most effective free method)

Flattening converts a PDF’s editable elements — form fields, annotations, layers — into a static, non-interactive image layer. Once flattened, there are no fields to fill in or annotations to move.

Flatten in Preview (Mac)

  1. Open the PDF in Preview.
  2. Go to File → Print (Cmd+P).
  3. At the bottom left, click the PDF dropdown → “Save as PDF”.
  4. Save with a new name (e.g., document_final.pdf).

The exported PDF flattens all interactive elements. The result looks identical but has no editable fields.

Alternative flatten method:

  1. In Preview: File → Export as PDF.
  2. Save the file — this also produces a flattened copy in most cases.

For more detail on flattening and when to use it, see how to flatten a PDF for free.

Flatten with Ghostscript (Windows/Mac/Linux — free)

Ghostscript flattens more thoroughly than Preview:

gs -sDEVICE=pdfwrite \
   -dCompatibilityLevel=1.4 \
   -dNOPAUSE -dBATCH \
   -sOutputFile=protected.pdf \
   input.pdf

This strips interactive elements and produces a static PDF. Install Ghostscript: brew install ghostscript (Mac) or download from the Ghostscript website.

Method 2: Set a permissions password (restrict editing in PDF viewers)

A permissions password (also called an owner password or permissions restriction) tells PDF viewers not to allow editing. It is not encryption — a dedicated tool can bypass it — but it prevents casual edits in standard viewers like Adobe Acrobat Reader.

Set permissions password in Preview (Mac)

  1. Open the PDF in Preview.
  2. Go to File → Export as PDF.
  3. Check “Encrypt”.
  4. You will see two password fields:
    • User Password: Required to open the PDF. Leave this blank if you only want to restrict editing.
    • Owner Password: Controls permissions (editing, printing, copying). Set a strong owner password.
  5. Click Save.

The exported PDF requires the owner password to edit. Recipients can open and read it without a password (if you left User Password blank).

Note: Preview’s permissions restrictions are basic and can be bypassed by PDF editors. For truly unalterable documents, flatten the PDF (Method 1) or use certified signatures (Method 3).

Set permissions in Adobe Acrobat Reader

Adobe Acrobat Reader (free) cannot set permissions — it can only display restrictions that were already set. Setting permissions requires Adobe Acrobat Pro (paid) or another tool.

Method 3: Password-protect with an open password

If you set an open (user) password, the PDF cannot be viewed — let alone edited — without the password. This is stronger protection but inconvenient for documents that need to be read by others.

See how to password protect a PDF for free for full instructions using Preview and free tools.

Method 4: Convert to image-based PDF (strongest free protection)

Converting each PDF page to an image, then repackaging those images as a PDF, produces a document where no text layer exists at all — there is nothing to select, copy, or edit. The result is a read-only image of each page.

Convert on Mac using Preview

  1. Open the PDF in Preview.
  2. Go to File → Export (not Export as PDF).
  3. Change the format to JPEG or PNG — this exports individual page images.
  4. Select all exported images in Finder.
  5. Right-click → “Open All with Preview”.
  6. In Preview, go to File → Print → PDF → Save as PDF to combine the images back into a PDF.

The resulting PDF is image-only — no selectable text, no editable fields.

Limitation: The PDF is no longer searchable with Ctrl+F and cannot be OCR’d easily. Screen readers cannot read it. For documents that need accessibility, use the flattening method instead.

Method 5: Add a digital signature (certified document)

A certified digital signature locks the document — any changes after signing break the signature and alert the recipient. This is the legal-grade approach used in contracts and official documents.

For free digital signature tools and how to certify a PDF, see how to sign a PDF for free.

Which method should you use?

GoalRecommended method
Prevent casual edits in standard viewersPermissions password (Method 2)
Prevent form fields from being filledFlatten (Method 1)
Truly unalterable — no text selectableImage-based PDF (Method 4)
Legal protection with audit trailDigital signature (Method 5)
Prevent viewing entirelyOpen password (Method 3)

Frequently Asked Questions (FAQ)

Can permissions restrictions be bypassed?

Yes — PDF permissions restrictions are not encryption. They tell compliant PDF viewers to restrict certain actions, but dedicated tools can ignore the restrictions and allow editing. Flattening or converting to an image-based PDF is more robust.

How do I remove editing protection from a PDF I own?

If you set the owner password, open the PDF, enter the password when prompted, then re-export without restrictions. If you forgot the owner password but can still open the PDF (no open password was set), export it from Preview — the export removes restrictions. See how to unlock a PDF for free for more methods.

Does flattening change how the PDF looks?

No — flattening produces a visually identical PDF. The difference is internal: form fields become static text, annotations become part of the page image, and interactive elements are gone. Text remains selectable and searchable unless you use the image-based method.

Can I protect a PDF from editing on iPhone?

iPhone has no built-in tool for setting PDF permissions or flattening. Options: (1) Print to PDF via the Share sheet → Print → pinch-out to create a PDF (this flattens most interactive elements); (2) use a free online tool in Safari; (3) AirDrop to a Mac and use Preview there.

How do I protect a PDF from editing in Windows without Adobe?

Use Ghostscript (Method 1) to flatten — it is free, runs on Windows, and produces a reliable result. Alternatively, use Microsoft Print to PDF: open the PDF in Edge → Print → Microsoft Print to PDF → this flattens the document as it re-creates the PDF.

Upload your PDF and let AI read it

Get an instant summary, ask questions about the content, or translate into another language — all free, no sign-up.

Try the AI PDF Reader