Mobile-First Indexing
Definition
Google announced the change in 2016, began moving sites across in 2018, and finished the job for every site by July 2024 — there is no desktop-first option left. Googlebot Smartphone fetches pages with a mobile user agent and renders them at a phone-sized viewport, and whatever it receives is what enters the index. For a responsive site, where one set of HTML adapts through CSS, nothing changes: the mobile and desktop versions contain the same words. The sites this hurt were those serving a cut-down mobile build with fewer paragraphs, collapsed detail and missing structured data, because the trimmed version quietly became the indexed one. Content tucked inside a tab or an accordion still counts in full, which is the part people most often get wrong.
Why It Matters
If text exists only in your desktop layout, for indexing purposes it does not exist. A site that dropped half its copy on small screens to keep pages short lost the ranking value of that copy outright — not a demotion, a deletion. The same goes for alt text, structured data and internal links: a navigation block that only renders above 768 pixels hides the links inside it, and pages reachable only through it can end up orphaned. Checking takes a minute with the URL Inspection tool, which shows the rendered mobile HTML Google is actually holding.
How It Works
Googlebot Smartphone requests the page with a Chrome-on-Android user agent string and renders it at a mobile viewport size. It takes whatever your server returns for that request: one responsive document, a separate m-dot address, or markup varied by user agent. Resources must stay reachable — if robots.txt blocks the CSS or script directory, the renderer cannot build the layout and may judge the page unusable. Mobile usability signals still apply on top: legible font sizes, tap targets that are not crammed together, no horizontal scrolling. The viewport meta tag is what tells both the browser and the renderer the intended width, so a page without it is judged on a layout nobody designed. Desktop visitors carry on seeing the desktop page; only the indexed copy changed.
Real-World Example
A photographer publishes a portfolio at studio-vale.99helpers.site where project descriptions are hidden below 640 pixels to keep the grid tidy. Because 99helpers serves the same HTML to every visitor, that text is still in the source and still indexed — the CSS only hides it from view. Had the site instead loaded those descriptions from a desktop-only file, they would have disappeared from the index entirely. One document that adapts is the fix; two documents that differ is the problem.
Common Mistakes
- ✕Serving a shortened mobile page to keep it fast — the short version is the indexed version, and the missing paragraphs are simply gone
- ✕Blocking the CSS or script directory in robots.txt — the renderer then cannot assemble the mobile layout and may flag the page as unusable
- ✕Reading it as a claim that mobile pages rank better than desktop ones — it describes which copy is indexed, not who is favoured
Related Terms
Responsive Design
Responsive design is building one page that adapts to whatever screen opens it, using flexible layout and CSS media queries, instead of maintaining separate mobile and desktop versions.
Viewport Meta Tag
The viewport meta tag is one line in the head of an HTML document that tells a mobile browser to lay the page out at the device's own width instead of pretending to be a desktop screen.
Page Speed
Page speed is how quickly a page becomes useful to the person who opened it — not one number, but a set of measurements covering when content appears and when the page responds to input.
Google Search Console
Google Search Console is Google's free tool for site owners. It reports which queries brought people to your pages, which pages Google has indexed, and what stopped it indexing the rest.
robots.txt
A plain text file at the root of a site that tells search engine crawlers which paths they may fetch. It is a request that well-behaved crawlers honour, not a lock on the door.
Put a file online in seconds
Drop in a document, an image, a page or a whole static website and share the link — free, with no build step and no server to set up.
Host a file free →