We use cookies to keep this site working and, with your permission, to remember your preferences, understand site traffic and support advertising. You can change your choice at any time. Cookie Policy

SEO Tool Orbit
Technical SEO

How to Make PDFs Searchable and SEO-Friendly

Guides, menus, manuals and reports often live in PDFs. Search engines can index them — if the text is real, the file is labelled and you control what should and shouldn't appear.

By SEO Tool Orbit7 min read

Illustration of a PDF document with text lines and a heading, examined by a magnifying glass, with a tag label and a check mark
A PDF can be found in search when its text is real and it's clearly labelled. · Original illustration by SEO Tool Orbit

A lot of useful content lives in PDFs: product manuals, menus, timetables, white papers, forms, annual reports. Search engines can index them, and they do appear in results. But many PDFs are hard to find and hard to use — scanned images with no text, a title of "Document1", a 20 MB download on a phone. A few habits fix most of that.

In short: Google indexes the text in PDFs, so make sure yours contain real, selectable text rather than scanned images. Give each file a meaningful title in its document properties and a descriptive filename. Use tagged, accessible PDFs, keep files reasonably small, and link to them from relevant pages with descriptive anchor text. Control indexing with an X-Robots-Tag header, and if a PDF duplicates an HTML page, decide which one should be the canonical. For content you want to rank and update often, an HTML page is usually the better home, with the PDF as a download.

Does Google index PDFs?

Yes. Google lists PDF among the file types it can index. Its published guidance on PDFs says:

  • it indexes the text of PDFs unless they're password-protected or encrypted
  • where text exists only as images, it may extract it with OCR — so don't count on it
  • links inside PDFs can pass signals like links in HTML, but you can't mark them nofollow
  • the title it shows usually comes from the file's title metadata and the anchor text of links pointing to the file

PDF or HTML page?

Use a PDF when…Use an HTML page when…
People need to print, sign or keep a fixed layout (forms, contracts, certificates)You want the content to rank and attract new visitors
It's a long document read offline (manuals, reports)The content changes often (prices, timetables, menus)
It's an official record that mustn't changeMost readers are on phones

Often the best answer is both: an HTML page with the key information, and the PDF offered as a download for printing. If you do that, decide which version should appear in search (see "Duplicates" below).

1. Make sure the text is real text

A PDF exported from a word processor or design tool contains real text. A scanned document is a picture of text: it can't be searched, copied or read aloud by a screen reader. Test yours by trying to select and copy a sentence in a PDF viewer — if you can't, the text isn't there.

The fix is to export from the original file. If all you have is a scan, recover the text with OCR — the Image to Text tool extracts text from images of pages — check it carefully, and republish the document from the corrected text.

2. Set the title and other document properties

Every PDF has a title field, separate from its filename and from the first line of text. Many files leave it empty or carry over something meaningless, such as "Microsoft Word – Draft v3". Set it before exporting:

  • Title: what the document is, written like a page title — "Trail Runner X Size Guide".
  • Subject or description: one sentence on what's inside.
  • Author: your organisation.
  • Language: the document's language, which also helps screen readers.

In most word processors these are in the file's properties or info panel; check that the export settings keep them. Name the file descriptively too: trail-runner-x-size-guide.pdf rather than scan_0047.pdf.

3. Structure it for people and machines

An accessible PDF is also an easier one for search engines to interpret. Export a tagged PDF, which records headings, lists, tables and reading order:

  • Use your editor's real heading styles, not bold text made bigger.
  • Add alternative text to meaningful images and charts — the same principles as on web pages, described in our image SEO and accessibility guide.
  • Use real tables for tabular data, with header rows.
  • Keep a logical reading order, especially in multi-column layouts.

PDF/UA is the international standard for accessible PDFs if you need to meet a formal requirement.

  • Link to the PDF from the pages it relates to, with anchor text that describes it: "Download the Trail Runner X size guide (PDF, 1.2 MB)". That anchor text also helps search engines understand the file. Stating the format and size is a courtesy to readers on mobile data.
  • Link from the PDF back to relevant pages on your site with descriptive anchor text, so readers who arrive from search can continue to your site.

5. Keep files and documents manageable

Large PDFs are slow to open and often abandoned on phones. Compress images before exporting rather than after, and avoid embedding full-resolution photos where a smaller image would do. Then shape the document itself:

  • Very long document? Consider separate chapters. Split PDF extracts page ranges or splits a file into parts.
  • Several short related documents? Merge PDF combines them into one file in the order you choose.
  • Blank, duplicate or out-of-order pages? Organize PDF reorders or removes them.
  • Hard to cite or navigate? Add Page Numbers to PDF numbers the pages, with options for position and a skipped cover.

These tools process the file in your browser, so the document isn't uploaded.

6. Control what gets indexed

A PDF has no <head>, so it can't carry a meta robots tag or a canonical link element. You control it with HTTP headers instead.

Keep a PDF out of search results

Send an X-Robots-Tag: noindex header with the file. On Apache, for example:

<FilesMatch "\.pdf$">
  Header set X-Robots-Tag "noindex"
</FilesMatch>

Or on Nginx:

location ~* \.pdf$ {
  add_header X-Robots-Tag "noindex";
}

Apply it only to the files you want excluded, not every PDF on the site. Blocking PDFs in robots.txt is not the same thing: it stops crawling, but a blocked file can still be indexed from links, and Google can't see a noindex it isn't allowed to fetch. Our robots guide explains the difference.

Duplicates: a PDF and an HTML page with the same content

Google recommends serving a single copy of your content where you can. When both versions must exist, indicate which one you prefer. To make the HTML page canonical, send a Link header with the PDF:

Link: <https://example.com/guides/trail-runner-size-guide>; rel="canonical"

The canonical tags guide covers how canonicals work alongside your other signals. To confirm that the header is actually being sent, check the file's URL with Get HTTP Headers.

7. Sitemaps and stable URLs

Include important PDFs you want indexed in your XML sitemap, and leave out any you've set to noindex — our XML sitemap guide explains what belongs there. When you update a document, replace the file at the same URL instead of uploading guide-v2-final.pdf alongside the old one; links and any search visibility stay with the address. If a file must move, redirect the old URL to the new one.

A worked example

Suppose a gym publishes its class timetable as an 18 MB PDF: a scan of a printed sheet, titled "Scan 2026-03-01", uploaded each month under a new filename. Members on phones complain that it won't open, and the timetable never appears when people search for classes. The fix: put the timetable on an HTML page that's easy to update and read on a phone; export the printable version from the source document as a small, tagged PDF with real text and the title "Riverside Gym Class Timetable"; keep it at one permanent URL, replacing the file each month; and link to it from the timetable page as "Download the printable timetable (PDF, 300 KB)".

Checklist

  • Real, selectable text — no image-only pages
  • Meaningful title, subject, author and language in the document properties
  • Descriptive filename
  • Tagged structure, real headings, alt text for images
  • Reasonable file size
  • Linked from relevant pages with descriptive anchor text, and linking back to the site
  • Noindex by X-Robots-Tag where needed; canonical header where it duplicates a page
  • Stable URL, and in the sitemap if it should be indexed

Frequently asked questions

Can a PDF rank as well as a web page?

PDFs can and do rank. But a web page is usually easier to read on a phone, easier to update and easier to link within your site, so for content you want to attract visitors with, HTML is normally the better choice.

Can Google read scanned PDFs?

Google says it may use OCR on text that exists only as images, but that's not something to rely on. Real text is searchable, accessible and copyable.

How do I stop a PDF appearing in Google?

Serve it with an X-Robots-Tag: noindex HTTP header. For a file that's already indexed and needs to disappear quickly, Search Console's Removals tool can hide it temporarily while the noindex takes effect.

Should PDFs go in my sitemap?

Include the ones you want indexed. Leave out PDFs that are noindexed or that duplicate a page you've chosen as canonical.

Next step

List the PDFs your site links to most. Open each one and check three things: can you select the text, does the title field say what the document is, and is the file small enough to open on a phone? Fix those first, then decide whether any of them would work better as a web page.

Illustration of a crawler choosing between an open route marked with a check and a blocked route marked with a red barrier

Technical SEO

Robots.txt vs Meta Robots vs X-Robots-Tag

Robots.txt controls crawling; meta robots and X-Robots-Tag control indexing. Mixing them up is one of the most common ways sites accidentally disappear from search.

5 min read

Illustration of a structured hierarchy of URL cards branching from a single sitemap root

Technical SEO

How to Create an XML Sitemap for a Website

An XML sitemap tells search engines which pages you want found. Here's what to include, how to structure it for large sites, and how to keep it accurate.

5 min read