Document properties

How to change a PDF’s title, author and metadata

A PDF’s title and author are document properties, separate from its filename and visible text. This example replaces four properties while keeping all three pages unchanged.

By StackPDF4 min read

08Beyond the filenameNew properties. Same pages.Update the details, then inspect the saved document.
An unchanged PDF page beside its title, author and subject propertiesThe page content remains separate from a properties card. This editorial illustration distinguishes document metadata from visible text.ORIGINAL ACONTENT UNCHANGEDDOCUMENT PROPERTIESTitleAuthorSubjectKeywords

Separate document properties from page content

A PDF can have a title, author, subject and keywords stored inside the file. Renaming the file does not necessarily update these properties. Likewise, changing the title property does not replace a heading printed on page 1.

The practice PDF below has the title Draft practice packet and author Sample Editor. Its visible pages are labeled Original A, Original B and Original C. We will change the properties while preserving that page content.

Enter the values you want to replace

Open Edit PDF Metadata in StackPDF and choose the practice PDF. The editable fields start empty; they do not display the current values from your file. If you need to inspect existing properties first, open the source PDF in a viewer with a document-properties dialog.

For the supplied example, enter these values and select Save metadata:

  • Title: Workshop practice packet
  • Author: StackPDF Example Team
  • Subject: Page organization exercise
  • Keywords: workshop, PDF practice

An empty field keeps the existing value

StackPDF changes a property only when you enter a non-empty value. Leaving Author blank keeps the previous author; it does not remove it. A field containing only spaces also leaves the existing value alone.

To change only the title, fill in Title and leave the other fields empty. To replace keywords, separate the new keywords with commas. Leading and trailing spaces are removed, and empty comma-separated entries are ignored.

This tool cannot clear a property by submitting an empty field. If your goal is to remove identifying information, do not assume a blank form has removed it.

Verify the downloaded file in a PDF viewer

Save the output under a distinct filename and open that downloaded file. In a viewer such as Adobe Acrobat, inspect Document Properties and its description fields. Confirm the new title, author, subject and keywords against the values above.

Then inspect all three pages. Their order should still be A, B, C, and the printed text should match the original. A browser tab may show a filename or a document title depending on the viewer, so the tab label alone is not a reliable properties check.

Troubleshoot an unexpected result

If you still see the old author, first confirm that you opened the newly downloaded file rather than the original tab. Then check whether you actually supplied a non-empty Author value. Changing Title alone deliberately preserves the source author, subject and keywords.

Use the practice pair to separate a viewer issue from a file-selection issue. The original title is Draft practice packet; the replacement is Workshop practice packet. Both documents have the same three visible pages, so looking only at the page preview cannot tell you which version you opened. Inspect the properties themselves.

For keywords, enter a comma between separate terms. PDF practice is one phrase in the example, while workshop is a separate keyword. Viewers can display the saved list with different separators. Verify the terms, rather than relying on punctuation in the viewer’s presentation.

Understand what this edit does not remove

Editing these four properties does not redact page content, remove every hidden record, or sanitize attachments, comments and embedded metadata streams. A separate XMP metadata stream can hold additional or different values. Use a workflow designed for sanitization if that is your purpose, and inspect the resulting file.

Metadata editing runs on your device in the browser. The web Free plan includes one PDF export per day. The two practice PDFs below are ordinary downloads and let you inspect the original and replacement properties without running an export.

Try the before-and-after files

These small, synthetic PDFs contain no personal information. The reference output was produced with the same PDF engine used by the StackPDF browser tool. Downloading the examples does not run a tool or use an export.

  • Download the three-page practice PDF (PDF, 3,314 bytes)

    Three US Letter pages labeled Original A, Original B and Original C, in that order.

  • Download the expected result (PDF, 3,327 bytes)

    The same A, B, C pages with title Workshop practice packet, author StackPDF Example Team, subject Page organization exercise, and keywords workshop and PDF practice.

Put the checklist to work

Start with a tool that matches your task. Browser tools work on your device. Cloud tools have separate availability, consent and Premium requirements; check the tool page before relying on them.

Sources and further reading

These primary references explain the underlying document behavior. They are not endorsements of StackPDF.