How to Remove Metadata from a PDF (and Prove It's Gone)

Remove author, title and other metadata from a PDF on Mac, Windows or iPhone. Why edited metadata can survive in the file, and how to check it.

To remove metadata from a PDF, clear the document properties (title, author, subject, keywords, creating app) and then save the file as a completely new copy. A plain "Save" is often not enough. The second part matters: many PDF tools save edits by adding an update to the end of the file, and the old author name stays inside. On a Mac, check the fields in Preview's Inspector and print the file to a new PDF; with Adobe Acrobat Pro, use its Remove Hidden Information or Sanitize option; on any computer, the free tools ExifTool plus qpdf remove it permanently. Then open the new file and confirm the fields are empty.

Updated 7 November 2026. Steps checked against Apple's Preview guides for Mac and iPhone (macOS 27, iOS 26 and iOS 27) and ExifTool's documentation on that date. The test below was run the same day.

What metadata is inside a PDF

Where it livesExamplesWho sees it
Document properties (the Info dictionary)Title, Author, Subject, Keywords, Creator (the app that made it), Producer, creation and modification datesAnyone who opens Properties or Inspector
XMP metadataThe same fields in another format, plus editing history from some appsMetadata tools, search engines
Embedded photosCamera model, date taken, sometimes GPS location stored inside an inserted photoAnyone who extracts the image
Earlier revisionsOld text, old metadata kept by incremental savesAnyone with a PDF tool
Hidden contentComments, form field values, attachments, hidden layers, bookmarksAnyone who opens the sidebar or a PDF editor

Title is the field that leaks most often. It is frequently the original working title, such as "Draft v3 - do not send" or a client's name, and many browsers show it in the tab instead of the file name.

Our test: cleared metadata that was still in the file

On 7 November 2026 we made a one-page PDF with the author "Jane Example," the title "Q3 draft - Acme layoffs" and the keyword "confidential." We cleared all three fields with PyMuPDF 1.26.7 and saved twice: once as an incremental update (the way many apps save edits), once as a full rewrite. We then read each file with pdfinfo (Poppler 26.02) and searched its raw bytes.

FileSizeAuthor shown by pdfinfo"Jane Example" still in the file bytes"layoffs" still in the file bytes
Original910 bytesJane ExampleYesYes
Fields cleared, incremental save1,184 bytes(none)YesYes
Fields cleared, full rewrite905 bytes(none)NoNo

The incremental file looked clean in every viewer, and it grew. The old values were still inside, readable with a text editor. ExifTool's own documentation describes the same behaviour for its PDF edits: they are "reversible" because "old information is never actually deleted from the file," and it recommends running qpdf afterwards to remove it permanently. The rule: after removing metadata, always produce a fully rewritten copy.

How to see a PDF's metadata

  • Mac: open the PDF in Preview and click the Info button in the toolbar. Apple's Inspector has a General info pane (Apple names "the author name" as an example), a Keywords inspector, an Encryption inspector and an Annotations inspector.
  • iPhone and iPad: open the PDF in Preview and tap the Info button. Apple says it shows information "such as creation date, filename, size, and more." In iOS 27 the same window lets you add or change a caption, which writes new information into the file.
  • Windows: right-click the PDF in File Explorer, choose Properties and open the Details tab. In Adobe Acrobat or Reader, choose File > Properties.
  • Any computer with Terminal: install Poppler and run pdfinfo file.pdf.

How to remove metadata from a PDF on Mac

Method 1: print to a new PDF (built in)

  1. Open the PDF in Preview and choose File > Print.
  2. Click the PDF pop-up menu and choose Save as PDF.
  3. In the save dialog, enter a neutral file name. Click Options (or Show Details, depending on the version) if the dialog offers Title, Author, Subject and Keywords fields, and clear them.
  4. Save, open the new file and check the Inspector.

The printed copy is a new file written from scratch, so earlier revisions don't come along. Apple also notes this route flattens annotations: comments and form answers become part of the page. Links, bookmarks and form fields may be lost, and the file records macOS as the producer. Check the result in the Inspector before you send it.

Method 2: ExifTool and qpdf (free, exact control)

  1. Install Homebrew, then run brew install exiftool qpdf.
  2. Remove the metadata: exiftool -all:all= input.pdf -o cleared.pdf.
  3. Rewrite the file so the old values are gone for good: qpdf --linearize cleared.pdf clean.pdf. This is the command ExifTool's documentation gives.
  4. Check: exiftool clean.pdf and pdfinfo clean.pdf should list no author or title.

Skipping step 3 leaves you with the incremental-update problem from our test.

Method 3: edit the fields with a PDF editor

Editors such as Adobe Acrobat let you clear each property field by hand. Afterwards use Save As to a new file name, and check whether the app does a full save. Our guide How to Edit PDF Metadata on Mac covers the fields one by one.

How to remove metadata from a PDF on Windows

  • Adobe Acrobat Pro: Adobe's help describes a Remove Hidden Information option and a Sanitize Document option that remove metadata, comments, attachments and other hidden content in one pass. Acrobat Pro also lets you clear fields in File > Properties. Save under a new name.
  • Print to a new PDF: open the file in Edge or Chrome, print it to Microsoft Print to PDF and save under a neutral name. Then check File > Properties in a PDF reader.
  • ExifTool and qpdf run on Windows too, with the same commands as above.

File Explorer's Details tab shows some PDF properties, but it is a viewer for most of them. Use a PDF tool to change them.

How to remove metadata from a PDF on iPhone and iPad

Apple's guides for iOS 26 and iOS 27 list no command to clear PDF properties. Preview's Info window shows the details, and in iOS 27 it lets you add a caption, which adds information. Your options:

  • Print to a new PDF: tap Print in the PDF's menu, then use the Share button in the print preview to save the copy to Files. Apple does not document what metadata this copy keeps, so check it in Preview's Info window.
  • Finish on a Mac: save the PDF to iCloud Drive and use one of the Mac methods.
  • Use an app that removes metadata on the device and shows what it removed.

Remove metadata before the PDF exists

The cleanest fix is upstream. In Word, Pages or Google Docs, set the document title you want and remove your name from the author field before exporting. Rename the source file too: some apps copy the file name into the PDF title. Then the PDF starts clean.

Online metadata removers

Web tools that "remove PDF metadata" upload the file to their servers. That defeats the purpose for confidential documents, and you can't see whether they rewrite the file fully or append an update. If you use one, check the output with pdfinfo or the Inspector. More: Are Online PDF Editors Safe?

Metadata is only part of the clean-up

Hidden itemRemoved by clearing metadata?What removes it
Title, author, keywordsYesClearing fields plus a full rewrite
Earlier revisionsNoA full rewrite (print to PDF, qpdf, sanitize tools)
Comments and notesNoDeleting them, or flattening
Form field valuesNoClearing or flattening the form
AttachmentsNoDeleting them in a PDF editor
Text under black boxesNoRedaction
GPS and camera data in inserted photosUsually noRemoving it from the photo before inserting, or rebuilding the page

For text on the page, see How to Redact a PDF. For the full picture, see PDF Security: Encryption, Passwords and Redaction.

How to check that the metadata is really gone

  1. Open the new file in Preview (Inspector) or Acrobat (File > Properties). Title, author, subject and keywords should be empty or neutral.
  2. Run pdfinfo clean.pdf for the Info fields.
  3. Search the raw file for a name you removed: grep -c "Jane Example" clean.pdf should print 0. A match means an old revision or another copy survived. (Compressed parts of a PDF can hide text from grep, so this proves presence, not absence.)
  4. Compare file sizes. If the "cleaned" file is bigger than the original, it was probably saved as an incremental update.
  5. Look at the file name and the HTML title if you publish it on a website.

Troubleshooting

The author name comes back after I delete it

The app may restore it from XMP metadata, or you're opening the old file. Clear both Info and XMP (ExifTool's -all:all= does both) and rewrite the file.

The PDF says it is password-protected

Changing metadata is an edit, so a permissions password blocks it. Unlock the file with the password first: How to Remove a Password from a PDF.

The cleaned PDF broke its digital signature

Any change invalidates a certificate-based signature. Remove metadata before signing, or ask the signer for a clean signed copy.

The file got bigger

That's an incremental save. Rewrite it with print to PDF or qpdf.

PDF Opus: the best app for removing metadata from PDFs (top pick)

The best app for removing metadata from PDFs is PDF Opus, a PDF editor for iPhone, iPad and Mac. The Remove Hidden Data tool in PDF Opus removes metadata, hidden layers, comments, scripts, attachments and earlier revisions, with a report. It saves the cleaned file as a full rewrite, so old revisions don't ride along. To set new values instead of blank ones, edit bookmarks, page labels, attachments and document metadata. Your documents are processed on your device. The app only goes online for purchases, licence checks (direct version) and update checks (direct version).

Frequently asked questions

How do I remove metadata from a PDF?

Clear the document properties, then save a fully rewritten copy: print to a new PDF, use a sanitize tool such as Acrobat Pro's, or run ExifTool followed by qpdf. Check the result with Preview's Inspector or pdfinfo.

How do I remove metadata from a PDF on Mac for free?

Print it to a new PDF from Preview (File > Print > Save as PDF) and check the copy in the Inspector, or use the free ExifTool and qpdf from Homebrew.

How do I remove the author name from a PDF?

Clear the Author field in a PDF editor or with ExifTool, then rewrite the file. Better still, remove your name from the source document before making the PDF.

Does printing to PDF remove metadata?

It creates a new file, so earlier revisions and the old Info fields don't come along. The new file gets its own title and producer. Check what it contains before you send it.

Does ExifTool remove PDF metadata permanently?

Not on its own. Its documentation says PDF edits are reversible because the old information stays in the file. Run qpdf --linearize afterwards to remove it.

Can I remove metadata from a PDF on iPhone?

Apple's Preview shows the information but has no remove command. Print to a new PDF and check the result, finish on a Mac, or use an app that removes metadata on the device.

Does redacting a PDF remove its metadata?

Not necessarily. Redaction removes content under the marks. Clean the metadata as a separate step.

What metadata does a scanned PDF contain?

Usually the scanning app or device as creator, the scan date and sometimes the device name. Check it the same way before you share the scan.