Google can index more than 40 file types, including HTML, PDF, Microsoft Word, Excel, PowerPoint, plain text, image formats like JPEG, PNG, WebP and AVIF, and video formats like MP4 and WebM. That is the official word from Google Search Central, whose Google indexable file types documentation was last updated on February 3, 2026. The list sounds generous until you see what gets left out. ZIP archives, executables, password protected files and scanned PDFs without a text layer never reach the index. This guide covers every supported format, how Googlebot identifies each one, and one detail about PDF links that surprises most site owners.

Key Takeaways

  • Google indexes 40+ file types across three groups: flat text files (HTML, CSV, source code), encoded documents (PDF, Word, Excel, PowerPoint, EPUB) and media formats (images and video).
  • Googlebot identifies a file by its Content-Type HTTP header first, then falls back to the file extension, so a wrong MIME type silently blocks indexing.
  • PDFs are fully indexable and can win featured snippets, but Google treats every link inside a PDF as nofollow.
  • Google stopped indexing Flash (SWF) in October 2019, and raw audio files like MP3 and WAV are not on the official supported list.
  • The search operator site:yoursite.ca filetype:pdf shows exactly which of your files Google has indexed.
  • AVIF joined Google’s supported image formats, alongside BMP, GIF, JPEG, PNG, SVG and WebP.
  • For content that needs to rank, HTML beats every other format because it supports structured data, internal links and clean mobile rendering.

What Are Google Indexable File Types?

Google indexable file types are the file formats Googlebot can crawl, parse and store in the Google index so they appear in search results. Google Search Central splits them into two technical groups: flat files, where content sits in plain unencoded text (HTML, XML, CSV, TXT, source code), and encoded files, which are binary containers that need a dedicated parser to extract readable text (PDF, DOCX, XLSX, PPTX, EPUB). Image and video formats form a third practical group with their own indexing rules.

Being on the list is the entry ticket, not a ranking guarantee. A file in a supported format still competes on relevance, quality and links like any HTML page. And a supported file served the wrong way, behind a login or with a broken header, stays invisible. If a page or file that should rank keeps underperforming, our breakdown of why your optimized page won’t rank walks through the usual suspects.

Why File Type Matters for SEO and AI Search in 2026

File type decides whether Google can read your content at all, how it appears in search results, and whether AI search engines can quote it. A format choice made once in a CMS upload dialog follows that content for years.

The stakes grew in 2026. Google AI Overviews, ChatGPT search and Perplexity all pull answers from indexed documents, and PDFs get cited alongside HTML pages. A whitepaper trapped in a ZIP download earns zero citations. The same content published as a text-based PDF, or better, an HTML page, can feed both classic rankings and AI answers. We cover the citation mechanics in our guides to Google AI Overviews and how to show up in ChatGPT search.

Five factors shift with file type:

FactorWhat it means
CrawlabilityCan Googlebot fetch the file at all, or is it blocked, gated or oversized?
ExtractabilityCan Google pull the text and structure out of the file with its parsers?
Semantic understandingCan NLP systems read entities, intent and context from the extracted text?
Ranking potentialHow well the format competes in SERPs on relevance, preview and CTR.
SERP presentationSnippet, file type label, preview and rich result eligibility.

A Mississauga accounting firm we audited in March 2026 had published 38 tax guides as scanned PDFs. Not one ranked, because none had a text layer Google could read. After converting the 12 highest value guides to HTML pages, the site picked up 61 new first-page keywords within 9 weeks. Same content, different container.

Pro Tip Before uploading any non-HTML file, ask one question: does this content need to rank, or only to exist? If it needs to rank, publish an HTML version and offer the file as a download. If it only needs to exist (a printable form, a spec sheet), a clean text-based PDF is fine.

So what exactly is on Google’s list this year? Here is the full breakdown, category by category.

The Official Google Indexable File Types List (2026)

Google’s documentation, refreshed on February 3, 2026, groups supported formats into flat files and encoded files, plus separate lists for images and video. Here is the complete list in one place.

Categories of Google indexable files

Flat file types (plain text formats)

Flat files store content as plain, unencoded text, sometimes with markup tags. Google reads these directly, no special parser needed:

  • HTML (.htm, .html): the backbone of the web and the strongest format for ranking.
  • XML (.xml): crawled and indexed as plain text; tags are not followed as links.
  • CSV and TSV (.csv, .tsv): plain data tables, indexed as text.
  • TXT (.txt, .text) including source code in common languages: Basic (.bas), C and C++ (.c, .cc, .cpp, .h), C# (.cs), Java (.java), Perl (.pl) and Python (.py).
  • TeX and LaTeX (.tex): academic typesetting files.
  • SVG (.svg): vector graphics that double as markup, indexed in both web and image search.
  • KML, KMZ and GPX: Google Earth and GPS exchange formats, useful for local and travel sites.

One correction worth making since so many lists get it wrong, including an earlier version of this article: CSS, JavaScript and JSON files are fetched by Googlebot so it can render your pages, but they do not rank as standalone search results. Blocking them in robots.txt still hurts you, because Google then renders your pages blind.

Encoded document formats

Encoded files are binary containers. Google runs a dedicated parser against each one to extract readable text:

  • PDF (.pdf): the most indexed non-HTML format on the web, in Google’s index since 2001.
  • Microsoft Word (.doc, .docx).
  • Microsoft Excel (.xls, .xlsx).
  • Microsoft PowerPoint (.ppt, .pptx).
  • OpenOffice / LibreOffice (.odt, .ods, .odp).
  • Rich Text Format (.rtf).
  • EPUB (.epub): ebooks with readable text layers.
  • PostScript (.ps) and Hancom Hanword (.hwp).

Image formats Google indexes

Google indexes seven image formats for Google Images: BMP, GIF, JPEG, PNG, SVG, WebP and AVIF. AVIF is the newest addition and typically compresses 30 to 50 percent smaller than JPEG at the same visual quality, which helps Core Web Vitals too. Remember that Google reads the pixels for recognition but leans heavily on alt text, file names and surrounding copy for meaning. An image sitemap helps Google discover images that load late, especially if you are lazy loading images in WordPress.

Video formats Google indexes

The supported video list is long: 3GP, 3G2, ASF, AVI, DivX, M2V, M3U, M3U8, M4V, MKV, MOV, MP4, MPEG, OGV, RAM, RM, VOB, WebM and WMV. In practice, MP4 (H.264) and WebM cover 95 percent of real-world use. Video ranking depends far more on the hosting page, its VideoObject schema, transcript and thumbnail than on the container format itself.

Knowing the list is half the job. The other half is understanding how Googlebot decides what kind of file it is looking at, because that decision happens before a single word gets indexed.

How Google Detects a File Type Before Indexing

Google identifies a file by the Content-Type HTTP header your server returns, and only falls back to the file extension when that header is missing or wrong. In some cases Google re-parses the file with a different parser if the declared type does not match what it finds inside.

How Google detect file type

Think of the Content-Type header as the shipping label on a parcel. If the label says application/pdf, Google routes the file straight to its PDF parser. If the label says application/octet-stream, the generic binary label many misconfigured servers slap on everything, Google has to guess, and files that need guessing get indexed slower or not at all.

A Toronto SaaS client came to us in January 2026 with 214 documentation PDFs stuck in the Discovered, currently not indexed bucket. Their CDN served every PDF as application/octet-stream. One header fix later, 187 of the 214 files entered the index within 3 weeks. If your files sit in limbo like that, our guide to crawled currently not indexed explains how to read the Search Console signals, and our technical SEO service handles fixes like this at the server level.

Pro Tip Check any file’s header in 5 seconds: run curl -I https://yoursite.ca/file.pdf in a terminal and read the Content-Type line. It should say application/pdf for PDFs, image/webp for WebP, text/html for pages. Anything generic is a red flag.

With detection out of the way, let’s tackle the format that generates the most questions by far.

Does Google Index PDF Files?

Yes. Google has indexed PDFs since 2001 and holds hundreds of millions of them. A text-based PDF gets crawled, indexed, ranked and can even appear as a featured snippet, something Google has done with PDFs since 2019.

Three PDF behaviors matter for SEO:

  • Links inside PDFs are treated as nofollow. Google follows them for discovery but passes no PageRank through them, because a PDF cannot declare link attributes. A PDF is a link authority dead end: value flows in, nothing flows out.
  • PDFs refresh slowly. Google assumes PDFs are stable documents and recrawls them far less often than HTML. An update you publish today can take weeks to show in the snippet.
  • Image-only PDFs depend on OCR. Google can run optical character recognition on scanned pages, but extraction is unreliable. If you cannot select the text with your cursor, treat it as unindexed.

You might be thinking: my competitor’s PDF outranks real web pages, so PDFs must be great for SEO. Yes, and there is a but. PDFs win on technical, academic and specification queries where users actually want a document, think datasheets, standards and manuals. A North York industrial supplier we work with holds position 2 with a torque specification PDF precisely because engineers searching for it want the printable sheet. For commercial and informational queries, HTML wins on mobile experience, structured data and internal linking almost every time. If you are chasing position zero, see our guide on how to rank in featured snippets.

If the same content exists as both a PDF and an HTML page, point a canonical at the HTML version with a Link HTTP header so the two don’t compete. Our canonical URL guide covers the syntax.

Can Google Index Word, Excel and PowerPoint Files?

Google indexes all classic Microsoft Office formats: .doc, .docx, .xls, .xlsx, .ppt and .pptx. It converts each file to HTML internally, which is what you see when you click the cached or preview version. Indexability is not the issue; ranking value is.

FormatIndexabilitySEO reality
.doc / .docxFully indexableRanks occasionally, but converting to an HTML page performs better in nearly every test we run.
.xls / .xlsxContent extractedVery limited SERP visibility. Publish key tables as HTML and offer the sheet as a download.
.ppt / .pptxIndexable, limited previewBetter as a gated or downloadable asset than a ranking play.
Google Docs / Sheets / SlidesOnly if publicMust be shared as public on the web with no access restrictions; anything link-only or private stays out.

The pattern across every document format is the same: Google can read it, users rarely click it, HTML converts better. Which raises the opposite question: what will Google never index, no matter how well you optimize it?

File Types Google Cannot Index

Google skips archives, executables, image-only scans, anything behind authentication, discontinued formats and raw audio. No amount of optimization changes this; the only fix is changing the container.

Indexable vs non-indexable file types
FormatWhy Google skips it
.zip / .rar / .7zGoogle does not open archives, so the content inside is invisible. The URL itself can appear, the contents never do.
.exe / .apk / .dmgExecutables are a security risk and carry no extractable text.
Scanned PDF without OCR text layerNo selectable text means nothing reliable to extract.
Files behind login or paywallGooglebot does not log in. Restricted access means no index entry.
Flash (.swf)Google dropped Flash indexing in October 2019, and Adobe killed the player in December 2020. Any list still calling SWF indexable is at least 7 years out of date.
Raw audio (.mp3, .wav)Audio formats are not on Google’s supported list. Podcasts surface through their hosting pages, transcripts and schema, not the audio file itself.

You might be thinking: I have seen MP3s in Google results. What ranks in those cases is the HTML page hosting the file, carried by its title, transcript and surrounding text. The audio itself contributes nothing. The same logic applies to content locked inside iframes: Google attributes it to the source page, so anything critical belongs directly in your page HTML.

Here is the contrarian take most file type lists miss: non-indexable is sometimes exactly what you want. Lead magnets, premium research and internal documents should stay out of the index deliberately, and there is a right and a wrong way to do that. More on that in a moment. First, let’s verify what Google has already picked up from your site.

How to Check Which of Your Files Google Has Indexed

Two free methods show you every indexed file in under a minute: the filetype search operator and Google Search Console.

  1. Run a filetype query. Search site:yoursite.ca filetype:pdf in Google. Swap pdf for docx, xlsx or any extension. This lists every indexed file of that type on your domain.
  2. Inspect individual URLs. Paste the file URL into the URL Inspection tool in Search Console. It reports crawl status, detected Content-Type and index status.
  3. Review the Page indexing report. Non-HTML files show up here with reasons when excluded: Discovered, currently not indexed usually points to crawl priority or header problems.
  4. Audit against your sitemap. Files worth indexing belong in an XML sitemap. Our walkthrough on how to create a sitemap covers adding PDFs and media files so nothing depends on link discovery alone.

Run the filetype check on your own site right now. Most site owners find at least one surprise: an old proposal, a pricing sheet, a draft that was never meant to be public. Which is the perfect segue.

How to Keep a File Out of Google’s Index

The reliable way to deindex a non-HTML file is the X-Robots-Tag noindex HTTP header, because you cannot place a meta robots tag inside a PDF or spreadsheet.

  • X-Robots-Tag: noindex. Set it at the server or CDN level for the file or folder. Google drops the file from the index on the next crawl and keeps it out.
  • Password protection. Anything Googlebot cannot fetch cannot be indexed. Strongest option for confidential material.
  • Robots.txt, with a warning. Disallowing a file blocks crawling, not indexing. Google can still index the bare URL from external links, showing it in results with no description. If a file is already indexed, blocking it in robots.txt actually freezes it there, because Google can no longer crawl the noindex signal. Full details in our robots.txt guide.

A Vaughan law firm learned this the hard way in 2025: they blocked a folder of client-facing fee schedules in robots.txt after the PDFs were indexed, then spent 4 months wondering why the URLs still appeared in search. Removing the disallow, serving X-Robots-Tag noindex, and requesting recrawl cleared all 23 URLs in 11 days.

HTML vs PDF: Which Format Should You Publish In?

Publish in HTML whenever the content needs to rank, convert or update; reserve PDF for content users genuinely want as a document. Here is the head-to-head:

CriteriaHTML pageText-based PDF
Ranking strengthStrongest: full structured data, heading hierarchy, internal linksRanks, but headings are guessed from font sizes
Link value flowPasses PageRank through linksAll outgoing links treated as nofollow
Mobile experienceResponsivePinch and zoom; higher bounce
Recrawl frequencyFastSlow; updates lag for weeks
AnalyticsFull pageview and event trackingNo pageviews without server logs or workarounds
AI citation potentialHigh: clean extraction for AI OverviewsModerate: cited for technical and research queries
Best useAnything that must rank or convertManuals, datasheets, printable forms, gated research

The decision rule we apply on client sites: if a piece of content deserves a keyword target, it deserves an HTML URL. The PDF can live one click away as the download. Working with a team like our SEO service in Toronto means this call gets made once, as policy, instead of file by file.

8 Ways to Optimize Non-HTML Files for Search

Once the right files are in the right formats, these eight practices decide how well they perform:

  1. Serve the correct MIME type. application/pdf for PDFs, image/webp for WebP. Wrong headers are the number one silent indexing killer we find in audits.
  2. Fill in document metadata. PDF title, author and keywords via XMP metadata become your SERP title source. An untitled PDF shows its file name in results, and untitled-final-v3.pdf earns no clicks.
  3. Keep files lean. Files over 5 to 10 MB burn crawl budget and load slowly on mobile. Compress, or split giant documents into chapters.
  4. Use readable layouts. Multi-column PDFs and heavy nested tables scramble text extraction. Single column, real text, logical reading order.
  5. Declare canonicals for duplicates. When a PDF mirrors an HTML page, send a Link rel=canonical HTTP header pointing at the HTML version.
  6. Meet accessibility basics. Alt text on images, tagged PDF structure, captions and transcripts on video. Accessibility signals double as extraction signals.
  7. Serve everything over HTTPS. Mixed-content files on plain HTTP index unreliably and trigger browser warnings.
  8. List files in an XML sitemap. PDFs, images and videos all belong in sitemaps so discovery never depends on internal links alone. Watch for the common sitemap errors that quietly exclude files.

Expert insight “Google indexes formats, but it ranks answers. The container only decides whether your answer is readable; the content decides whether it wins.” That is the one-line summary our team gives every new client asking about file formats.

Teams that treat file formats as a policy decision, not an afterthought, consistently pull more value from the same content. A reliable SEO agency in North York builds that policy into publishing workflows from day one.

The Bottom Line on Indexable File Types

Google’s index is broad enough to accept almost any text-bearing file you publish, from HTML and PDF to spreadsheets, EPUBs and source code. The formats that fail are predictable: archives, executables, scans without text and anything Googlebot cannot fetch. Knowing the 2026 list means you stop losing content to container mistakes and start choosing formats deliberately.

The practical rule holds across every site we manage: match the format to the job. HTML for anything that must rank and convert, text-based PDF for genuine documents, correct Content-Type headers everywhere, and a sitemap that tells Google every file worth finding. Get those four things right and file type stops being a ranking problem at all.

FAQ: Google Indexable File Types

What file types does Google index best?

HTML pages index and rank best, followed by text-based PDFs and public Microsoft Office files. HTML wins because it supports structured data, internal linking, responsive design and fast recrawling, none of which other formats fully match.

Does Google index PDF files?

Yes. Google has indexed PDFs since 2001, and text-based PDFs can rank and even earn featured snippets. Scanned PDFs without a selectable text layer are effectively invisible, and all links inside any PDF are treated as nofollow.

Can Google index images and videos directly?

Google indexes 7 image formats (BMP, GIF, JPEG, PNG, SVG, WebP, AVIF) and 19 video formats including MP4 and WebM. Meaning and ranking come mostly from context: alt text, file names, surrounding copy, transcripts and schema markup on the hosting page.

Why is the Content-Type header important for indexing?

The Content-Type (MIME) header is the first signal Google uses to identify a file. A wrong or generic header like application/octet-stream forces Google to guess, which delays indexing or blocks it entirely. Check yours with curl -I on any file URL.

How do I stop Google from indexing a PDF?

Serve the PDF with an X-Robots-Tag: noindex HTTP header, since you cannot put a meta tag inside a PDF. Do not rely on robots.txt alone: it blocks crawling, not indexing, and can leave an already-indexed URL frozen in the results.

Find Out What Google Actually Indexed on Your Site

Run the 60-second check from this guide: search site:yourdomain.ca filetype:pdf and see what comes back. If the results include files that should rank but don’t, files that should be private but aren’t, or nothing at all where your documents should be, that is a fixable technical problem. Request a free SEO audit and we will map every indexable file on your site, flag the broken headers and orphaned documents, and show you exactly which formats are costing you traffic.

Share

Leave a comment

Your email address will not be published. Required fields are marked.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

The reCAPTCHA verification period has expired. Please reload the page.