Go Back

How to edit PDF metadata on macOS

macOS ships with tools that can show a PDF's metadata, and one built-in automation action that can change it. None of them is a full metadata editor. This guide explains exactly what each option can do, so you do not spend time fighting Preview's Inspector.

The short answer

Preview shows the title, author, subject, keywords, creator, producer and dates in its Inspector, but the only field it lets you change is keywords. To change the title or author you need Automator, a command-line tool, or a dedicated editor.

MethodViewEdit title / authorEdit keywordsBatchXMP schemas
Preview InspectorYesNoYesNoNo
Finder Get InfoFile attributes and indexed metadata, read-onlyNoNoNoNo
Automator "Set PDF Metadata"NoYesYesSame values for many filesNo
ExifTool (Terminal)YesYesYesYes, via scriptingPartial
PDF Metadata EditorYesYesYesYesYes

What Finder's Get Info actually shows

Right-clicking a PDF and choosing Get Info shows the file on disk: its name, size, where it came from and when it was created and modified. The More Info section may show values that Spotlight indexed from the document, but there is no field to edit the PDF's internal title or author there.

This distinction matters. Most "the metadata is still wrong" reports come from editing the file name or the Finder comment and expecting the PDF's Title field to change. They are separate values.

Finder Get Info showing read-only document metadata under More Info

Method 1: edit keywords in Preview

  1. Open the PDF in Preview.
  2. Choose Tools → Show Inspector, or press Command-I.
  3. Open the Keywords pane.
  4. Add a keyword with the + button, edit one by double-clicking it, or remove one with −.
  5. Close the Inspector. Preview saves the change to the file.

The General Info pane shows the author and other properties. Those fields are read-only.

Method 2: change the title and author with Automator

Automator includes a Set PDF Metadata action. It rewrites the PDF in place, so work on a copy.

  1. Duplicate the PDF in Finder.
  2. Open Automator and create a new Quick Action.
  3. Set Workflow receives current to PDF files in Finder.
  4. Drag Set PDF Metadata from the library into the workflow.
  5. Fill in the title, author, subject, content creator and keywords you want.
  6. Save the Quick Action, then right-click a PDF in Finder and run it from Quick Actions.

The obvious limitation is that the values are typed into the action itself, so every file you run it on gets the same metadata. It is a good fit for stamping a company name on a set of documents and a poor fit for correcting individual files.

Apple has been moving automation from Automator to Shortcuts. If Automator is not available on your macOS version, use the Terminal method below.

Method 3: change metadata with ExifTool in Terminal

ExifTool is the standard command-line tool for file metadata and supports PDF well. Install it with Homebrew:

brew install exiftool

Then set the fields you need. Work on a copy:

cp report.pdf report-edited.pdf
exiftool -Title="Quarterly Report 2026" -Author="Jane Doe" report-edited.pdf

ExifTool writes the new values into the PDF and also updates the XMP block. Two caveats are worth knowing:

  • Its PDF edits are appended to the file. The previous values can remain recoverable inside the file. If that matters, rewrite the PDF afterwards with qpdf report-edited.pdf report-final.pdf, which drops unreferenced objects.
  • The command line is unforgiving about quoting and field names, and it is easy to set a field on the wrong file when using wildcards.

To read the current values:

exiftool report.pdf | grep -E "Title|Author|Subject|Keywords"

Method 4: edit metadata in PDF Metadata Editor on macOS

The desktop app exposes the Info dictionary and the XMP schemas in one window, handles batches, and includes a command-line interface.

The macOS assets on the download page are the DMG, an arm64 portable zip and the standalone JAR:

Download page with macOS selected, showing the DMG and the unsigned application warning
  1. Download the DMG and open it.
  2. Drag the app to Applications.
  3. The application is not code-signed, so the first launch is blocked by Gatekeeper. You will see a message like this:
macOS warning that the application cannot be opened
  1. Open System Settings → Privacy & Security, scroll to the bottom, and click Open Anyway next to the blocked application:
Privacy and Security settings with the Open Anyway button
  1. Confirm the dialog and enter your password if macOS asks for it. The app opens with the macOS menu bar and the metadata tabs ready:
PDF Metadata Editor running on macOS with the menu bar visible

The full walkthrough with every dialog is in App is damaged and can't be opened.

Once the app is running:

  1. Open the PDF.
  2. Edit the Document tab for the Info fields.
  3. Select Copy Doc to XMP in the on-save panel so both stores match.
  4. Click Save, or Save as to keep the original.

For folders of files, the batch editor applies the same change to every PDF. From Terminal, pmedit-cli is available with the desktop installation and works the same way as on Linux.

Which method should you use?

  • You only need to fix keywords. Preview is fine.
  • You need to stamp the same author on a handful of files. Automator works, but run it on copies.
  • You are comfortable in Terminal and need one file changed. ExifTool is quick and scriptable.
  • You need the title, author, subject, XMP rights or viewer options, or a whole folder. Use the desktop app. It is the only option here that edits the full set of XMP schemas and handles batches.

Frequently asked questions

Why can't Preview change the PDF title?

Preview's Inspector is designed for viewing document information and managing keywords. Apple's documentation describes keyword editing and viewing, not editing the title or author. Use Automator, ExifTool or a dedicated editor.

Does macOS have a built-in PDF metadata editor?

Automator's Set PDF Metadata action is the closest thing. It edits the main fields but not the XMP schemas, and it cannot apply different values per file in one run.

Is the app Apple Silicon native?

Yes. The release includes an arm64 portable build for Apple Silicon alongside the DMG. On an Apple Silicon Mac you can also run the DMG build, which macOS handles through its usual compatibility layer if it is not universal. See the download page for the current assets.

Can I avoid the Gatekeeper warning?

The build is not notarised, so the warning appears on first launch. You can also launch the app once via right-click → Open, which offers the same confirmation. After that, macOS remembers your choice.

Related guides