Skip to main content

Why saving a PDF in macOS Preview can destroy its tags

Preview · Mac · Last updated

Part of training module 19: Keeping a PDF accessible after it is finished: what strips tags

Saving a tagged PDF in the Mac Preview app may remove its tags, so do not use Preview to edit or re-save a PDF you have made accessible.

Steps

Mac

  1. Treat Preview as a viewer only for any PDF that is meant to be accessible. Apple does not document any tag or alt text feature in Preview, and its guide does not say what saving does to tags.
  2. Do not use Preview to save, annotate, combine, reorder, crop or reduce the size of a tagged PDF. An older report says that merely saving a tagged PDF in Preview drops the tags without warning, and Apple's guide says nothing about tags for the other actions. Those reports are several years old and were not re-tested on the newest macOS, so assume the risk applies to all of them.
  3. Make all edits in the source file, such as Word or Pages, then export a fresh PDF with tagging turned on.
  4. If you must change the PDF itself, use a PDF editor that documents tag editing, then look at the result: see Open and read the Accessibility tags panel in Acrobat.
  5. If someone already saved the file in Preview, check the result before you share it, using the checks below.

Check it worked

  • Open the PDF in Acrobat and look at the tags panel. If it is empty or missing, the tags are gone.
  • Run the accessibility check described in Run the Accessibility Check in Acrobat. A missing structure tree will be reported.
  • Compare with your last known good copy. If you kept the original export, use that file instead.

Common mistakes

  • Using Preview to fill in a quick change, such as rotating a page or adding a note, on a finished PDF. Make the change in the source and export again.
  • Using the print dialog's Save as PDF option as a shortcut. Apple does not say it keeps tags, so test the result before you trust it.
  • Assuming a file is still accessible because it looks the same on screen. Tags are invisible, so you must check them.
  • Believing Preview can fix a PDF. Apple documents no accessibility report, tag editor or image description tool for it.

The same task in other applications