# Fill in PDF titles and metadata

- Check 17.13 · Videos, PDFs and multimedia · Complementary
- Source: https://checklist-seo-geo.com/en/videos-pdfs-multimedia/fill-pdf-titles-metadata
- Fill in the title, author, subject and language of your PDFs from Word, LibreOffice or Acrobat, or in bulk with ExifTool and pikepdf, then check with pdfinfo.
- Updated on 2026-11-25
- Licence: CC BY 4.0. Credit “Checklist SEO & GEO” with a link to https://checklist-seo-geo.com/en/videos-pdfs-multimedia/fill-pdf-titles-metadata.
- Plugin checklist-seo-geo: 1.3.1 · https://github.com/maximegaul/checklist-seo-geo

## In short

A PDF carries its own metadata: title, author, subject, keywords, language. It is often empty or inherited from a draft (“Document1”, “PowerPoint Presentation”, the name of the employee who created the template). The task is to fill in at least a descriptive title, the author or organization, and the language of each public PDF, and to have the title displayed when the file opens. Expected result: `pdfinfo` shows a correct title for every file.

## Why it matters

A PDF has no `<title>` tag. To choose the title shown in results, Google has explained that it uses two main elements: the title stored in the file's metadata and the anchor text of links pointing to the PDF. That explanation dates from 2011 and Google does not document the current rule any more precisely; in practice, an empty title leaves the search engine to fall back on the content or the file name, often with unappealing results.

The title is also used elsewhere:

- PDF viewers display it in the title bar or tab when the option to display the title is enabled;
- screen readers announce it when the file opens, which makes it an accessibility criterion (W3C technique PDF18);
- generative engines and monitoring tools that retrieve the file may reuse it to name the source. Their vendors do not document this.

Finally, default metadata raises a brand image and confidentiality problem: an employee's name, the software name, the title of an old project or of a client.

## What it improves

- **Click-through rate**: a clear title in results instead of “Microsoft Word - devis_v3”.
- **Accessibility**: the title and language are announced correctly by screen readers.
- **Brand image**: the author is the organization, not an employee or a contractor.
- **Confidentiality**: forgotten names and internal titles are removed.
- **Ranking**: no proven direct effect. The “Keywords” field has no documented role in ranking.

## How to check

With `pdfinfo` (Poppler package: `brew install poppler` or `sudo apt install poppler-utils`):

```bash
pdfinfo guide-entretien-chaudiere.pdf | grep -E "^(Title|Author|Subject|Keywords|Creator|Producer|Tagged)"
```

Compliant result:

```txt
Title:           Gas boiler maintenance guide
Subject:         Steps, frequency and cost of annual servicing
Author:          Plomberie Garnier
Creator:         Microsoft Word
Producer:        Microsoft Word
Tagged:          yes
```

A missing `Title` line means no title has been filled in. To check an entire folder:

```bash
for f in *.pdf; do printf '%s\t%s\n' "$f" "$(pdfinfo "$f" 2>/dev/null | sed -n 's/^Title: *//p')"; done
```

Without the command line: open the PDF in Acrobat Reader, `File > Properties`, “Description” tab.

## How to implement

### Before you start

Which values to write:

| Field | Content | Example |
|---|---|---|
| Title (`Title`) | What the document contains, in natural language, roughly 50 to 80 characters | Gas boiler maintenance guide |
| Author (`Author`) | The organization, or the actual author for a signed publication | Plomberie Garnier |
| Subject (`Subject`) | A one-sentence summary | Steps, frequency and cost of annual servicing |
| Keywords (`Keywords`) | Optional, a few terms for internal search | boiler, maintenance |
| Language | The document's language code | `fr-FR` |
| Title display | Show the title rather than the file name | Enabled |

Fictitious example. The title must match the actual content and stay consistent with the anchor text of links pointing to the PDF and with the title of the associated HTML page. The length is a readability convention, not a rule. Also take care of the **file name** (`guide-entretien-chaudiere.pdf`), which appears in the URL: see [optimize public PDFs](https://checklist-seo-geo.com/en/videos-pdfs-multimedia/optimize-public-pdfs).

The best method is to fill in the properties in the source file, before exporting: they will carry over to every new version.

### Word

- **Windows**: `File > Info`, properties column on the right, “Title” field; “Show All Properties” gives access to the author, subject and keywords. Also check the text language (`Review > Language`).
- **Mac**: `File > Properties`, “Summary” tab.
- **Export**: `File > Save As`, PDF type, `Options`: leave “Document properties” and “Document structure tags for accessibility” checked.

Remove leftover personal information with the Document Inspector (`File > Info > Check for Issues > Inspect Document`) before exporting.

### LibreOffice

`File > Properties`, “Description” tab: Title, Subject, Keywords. The author is set in `Tools > Options > LibreOffice > User Data`, or cleaned up in the “General” tab of the properties (“Apply user data”).

When exporting (`File > Export As > Export as PDF`): in the “General” tab, check “Tagged PDF (add document structure)”; in the “User Interface” tab, check “Display document title”.

### Google Docs

Google Docs offers no metadata field: name the document precisely (the name at the top left), download it with `File > Download > PDF Document`, then check the resulting title with `pdfinfo`. If it is not right, fix it with ExifTool or pikepdf (see below).

### Adobe Acrobat Pro

1. `File > Properties`, “Description” tab: Title, Author, Subject, Keywords.
2. “Initial View” tab, Window Options section: in the “Show” list, choose “Document Title”.
3. “Advanced” tab, Reading Options: choose the language.
4. Save with `File > Save As` to rewrite the file cleanly.

Acrobat Reader lets you read these fields, not edit them.

### ExifTool, on the command line

ExifTool, which is free, edits metadata without reopening the source document. Write both the PDF's information dictionary and the XMP metadata, which some viewers favor:

```bash
exiftool -overwrite_original \
  -PDF:Title="Gas boiler maintenance guide" \
  -XMP-dc:Title="Gas boiler maintenance guide" \
  -PDF:Author="Plomberie Garnier" \
  -PDF:Subject="Steps, frequency and cost of annual servicing" \
  guide-entretien-chaudiere.pdf
```

ExifTool appends changes to the end of the file without erasing the old values, which remain recoverable. To really remove them (essential if the old title or author is confidential), rewrite the file with qpdf:

```bash
qpdf --linearize guide-entretien-chaudiere.pdf guide-entretien-chaudiere-propre.pdf
```

Linearization, useful for progressive display on the web, is lost after an edit with ExifTool: the qpdf step restores it.

### pikepdf, for batch processing

To fill in the title, language and title display on dozens of files, a Python script with the pikepdf library (`pip install pikepdf`) is enough. Prepare a `titres.csv` file:

```txt
fichier;titre;auteur
guide-entretien-chaudiere.pdf;Gas boiler maintenance guide;Plomberie Garnier
fiche-technique-pac-8kw.pdf;8 kW air-to-water heat pump: technical data sheet;Plomberie Garnier
```

Then:

```python
import csv
import pikepdf

with open("titres.csv", newline="", encoding="utf-8") as f:
    for row in csv.DictReader(f, delimiter=";"):
        with pikepdf.open(row["fichier"]) as pdf:
            with pdf.open_metadata() as meta:
                meta["dc:title"] = row["titre"]
                meta["dc:creator"] = [row["auteur"]]
            pdf.Root.Lang = pikepdf.String("fr-FR")
            pdf.Root.ViewerPreferences = pikepdf.Dictionary(DisplayDocTitle=True)
            pdf.save("sortie/" + row["fichier"])
```

By default, `open_metadata()` synchronizes the XMP metadata with the PDF's information dictionary. Create the `sortie/` folder before running the script, and check the result with the `pdfinfo` loop from the “How to check” section.

### WordPress

Versions: WordPress 6.4 to 7.1, Enable Media Replace 4.

The “Title” entered in the WordPress Media Library is the title of the media item, not of the PDF. Fix the file before uploading it. To replace an already published PDF without changing its URL, use a media replacement plugin such as Enable Media Replace, with the simple replace option. The same logic applies on Shopify, Wix or Webflow: metadata is set in the file, never in the CMS.

### After the update

Replace the file at the same URL, purge the CDN cache, then request a recrawl through URL inspection in Search Console. The title shown in results can take several weeks to change, and Google may choose another text if it considers the title unrepresentative. Also check the anchor text of internal links to the PDF: it counts as much as the metadata.

## Common mistakes

- **Title inherited from the template**: “PowerPoint Presentation”, “Quote template 2019”, the name of a former client.
- **The same title for every PDF** in a collection (“Technical data sheet”): impossible to tell them apart in results.
- **Stuffing the title or keywords**: no effect on ranking, and an unreadable title lowers clicks.
- **Only fixing the name in the CMS**, believing it changes the PDF.
- **Leaving an employee's name** in the Author field, or old values that remain recoverable after an ExifTool edit without a rewrite.
- **Forgetting the language**: screen readers read a French document with English pronunciation.

## Frequently asked questions

### Does Google use a PDF's metadata title?

Google explained in 2011 that it mainly relies on two elements to choose the title shown for a PDF: the title stored in the file's metadata and the anchor text of links pointing to it. It does not document the current rule any further and may choose another text. So fill in a descriptive title in the document properties and use consistent anchor text in your links.

### How can I change a PDF's title without Acrobat Pro?

To change a PDF's title without Acrobat Pro, the simplest way is to fix the properties in the source file, Word or LibreOffice, then re-export. Without a source file, ExifTool, which is free, changes the title on the command line, and the Python library pikepdf handles batches of files. After ExifTool, rewrite the file with qpdf if the old title must no longer be recoverable.

### Does a PDF's Keywords field help SEO?

No. No search engine documents using the Keywords field of PDFs for ranking, just as Google ignores the meta keywords tag on HTML pages. This field can help internal search on an intranet or in a document management system. Focus on the title, the subject, the language, the document's actual text and the anchor text of links pointing to it.

### Why does my PDF show the file name instead of the title?

A PDF viewer shows the file name when no title is filled in or when the option to display the document title is not enabled. Fill in the title in the properties, then enable its display: in Acrobat Pro, in the Initial View tab of the properties; in LibreOffice, in the User Interface tab of the PDF export; in bulk, with the DisplayDocTitle option in pikepdf.

## Resources

- [W3C: technique PDF18, specifying the document title](https://www.w3.org/WAI/WCAG22/Techniques/pdf/PDF18)
- [Google Search Central (blog, 2011): PDFs in Google search results](https://developers.google.com/search/blog/2011/09/pdfs-in-google-search-results)
- [ExifTool: PDF tags and reversible updates](https://exiftool.org/TagNames/PDF.html)
- [pikepdf: metadata](https://pikepdf.readthedocs.io/en/latest/topics/metadata.html)
- [LibreOffice: PDF export user interface options](https://help.libreoffice.org/latest/en-US/text/shared/01/ref_pdf_export_user_interface.html)
- [Microsoft: create accessible PDFs](https://support.microsoft.com/en-us/office/create-accessible-pdfs-064625e0-56ea-4e16-ad71-3aa33bb4b7ed)

Next steps: [offer an HTML version of critical resources](https://checklist-seo-geo.com/en/videos-pdfs-multimedia/offer-html-version-critical-resources) and [check that PDFs contain selectable text](https://checklist-seo-geo.com/en/videos-pdfs-multimedia/check-that-pdfs-contain-selectable-text).
