Passing on a phone is the floor, not the goal
Google's index is mobile-first. The mobile version of your page is what gets crawled, evaluated, and ranked. Content or links that are missing or broken on mobile may never be seen by Google, and a poor mobile experience loses visitors. Passing a mobile-friendly check is the baseline, not the finish line.
This tester checks the three basics that decide whether a page is usable on a phone: viewport configuration, touch target sizing, and font readability. Google used to offer its own Mobile-Friendly Test and a Mobile Usability report in Search Console, but it retired both in December 2023. Mobile-first indexing did not go away, so checking these basics is now up to you. This free mobile-friendly test is an independent alternative that fills that gap.
The one-line viewport tag that fixes most failures
Without <meta name="viewport" content="width=device-width, initial-scale=1">, mobile browsers render your page as if it were 980 pixels wide and zoom out to fit the screen. Text becomes unreadably small. Layouts break. You can confirm the tag is present and correct with the Viewport and Charset Checker.
The viewport tag must be in the head and appear before any other content-affecting tags. Setting initial-scale to anything other than 1 (especially scale=0.5 or fixed scales) is also flagged. Using user-scalable=no breaks accessibility (users cannot zoom in for readability), and iOS Safari has ignored it since iOS 10.
Tap targets: the 48-pixel guideline
Touch targets (buttons, links, form controls) need to be at least 48 by 48 CSS pixels. Smaller targets are hard to tap accurately on phones, especially for users with mobility challenges. Targets too close together (under 8 pixels apart) cause mistaps.
Common offenders: navigation menus with tiny tap zones, dense link clusters in footers, social media icons crammed side-by-side. Even if the visible icon is small, you can pad the click area with CSS so the touch target meets the minimum even if the visual stays compact.
Text that is readable without pinch-zoom
Body text well below 16 pixels is what Google's old small-text warning used to catch, and it forces mobile users to pinch-zoom. A sensible minimum for body text is 16 pixels (approximately 1rem with default browser settings). Larger sites use 18 pixels for better readability.
Be careful with em or rem units when the user has changed browser default font size. Pages that look fine at default settings can fail mobile-friendly tests when a user has bumped their default to 20 pixels for accessibility.
Sideways scroll, pop-ups and other phone-only problems
Horizontal scrolling caused by fixed-width elements. Tables with fixed pixel widths, images with hardcoded width attributes, and pre-formatted code blocks without overflow handling are the usual suspects. Wrap them in containers with overflow-x: auto or use responsive table patterns.
Tap-blocking interstitials. Cookie banners, newsletter popups, and app-install prompts that cover the top portion of the page are penalized as intrusive interstitials. They affect rankings directly. Use bottom-anchored banners or smaller, dismissable bars.
Flash content. Google deprecated Flash years ago and modern browsers no longer support it. If anything in your stack still outputs Flash (extremely rare today but it happens with legacy CMSs), it fails mobile-friendly entirely.
Reading the verdict and the phone-width render
A mobile-friendly test returns a pass-or-fail verdict, but the verdict is only the headline. The value is in the individual checks underneath it: did the page declare a viewport, is the body text large enough, are tap targets sized and spaced correctly, does content fit the screen without horizontal scroll. Read each one. A single failed check is usually a fast, isolated fix, while a cascade of failures often points to one root cause, such as a missing or broken viewport tag, knocking everything else over.
Pay attention to how the page renders, not just whether it passes. The most informative part of a mobile test is seeing the page laid out at phone width. Elements that overflow the viewport, text that is clearly too small, and buttons stacked on top of each other show up instantly in that view even when the automated checks technically pass. Your eyes catch usability problems that a yes-or-no signal never will.
One important caveat: a test can only evaluate what it can fetch and render. If your page relies heavily on JavaScript to lay itself out, and that script fails or times out for the testing crawler, the page may look broken to the tool even though it works in a real browser. That is not a false alarm to dismiss. Googlebot renders much the same way, so a layout that only appears after slow client-side scripting is a layout Google may also fail to see.
Where failing pages usually go wrong
After a missing viewport tag, the single most frequent failure is content wider than the screen. One stubborn element, a wide image with a fixed pixel width, an embedded video, a data table, or a long unbroken string like a URL, forces the whole page wider than the phone and creates horizontal scroll. The fix is to constrain that one element with a max-width of 100% and let it shrink, rather than rebuilding the whole layout.
Tap targets that are technically present but visually tiny are the next offender. Designers shrink buttons and links to fit a tight mobile header, then users miss them and rage-tap. Padding the clickable area without enlarging the visible icon solves this and keeps the design clean. Spacing matters as much as size: two correctly sized buttons jammed together still cause mistaps.
Text that depends on zoom is a quieter failure. If your base font is set in fixed pixels below 16, or if a CSS reset shrinks it, mobile users must pinch to read. Worse, some sites set a fixed font size in the viewport tag or disable zooming entirely, which both fails the test and locks out users who need to enlarge text for accessibility.
A mobile-ready starting point
The snippet below covers the fixes for almost every failure this test reports: the viewport tag, a base font size that follows the user's settings, media and tables that cannot burst out of the screen, and an icon link with a full-size tap area. Drop the CSS into your main stylesheet and adjust the class names to match your theme.
<!-- In the <head>: the one line every mobile page needs -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
/* Readable base text that respects the user's own font setting */
html { font-size: 100%; } /* usually 16px */
body { font-size: 1rem; line-height: 1.6; }
/* Stop one wide element from causing sideways scrolling */
img, video, iframe { max-width: 100%; height: auto; }
.table-wrap { overflow-x: auto; } /* wrap wide tables in this */
pre, a { overflow-wrap: anywhere; } /* long URLs and code */
/* Small icon, comfortable tap area */
.social-icon { display: inline-flex; min-width: 48px; min-height: 48px;
align-items: center; justify-content: center; }
</style>WordPress
Any modern theme outputs the viewport tag already, so if it is missing, the theme is very old or a child theme has overridden header.php. Switch to a current theme or restore the tag in the header template. Add the CSS under Appearance, Customize, Additional CSS (classic themes) or the Site Editor's custom CSS (block themes). Pop-up and cookie plugins are the usual source of intrusive interstitials, so set them to a small bottom bar on mobile.
Shopify
Shopify theme-store themes include the viewport tag in layout/theme.liquid. Check that an older or custom theme has not removed it or added maximum-scale=1. Wide product-description tables pasted from suppliers are the classic overflow cause; wrap them in a div with overflow-x: auto or rebuild them as simple lists.
Custom sites and frameworks
Next.js adds the viewport tag by default; other frameworks and hand-built sites need it in the base layout. Test at 360 pixels wide in your browser's device mode first, then on a real phone.
Pages that pass the checks but still hurt on mobile
A page can pass every automated check and still be a poor mobile experience. The classic example is the intrusive interstitial: a cookie wall, newsletter popup, or app-install banner that covers the content the moment the page loads. The viewport, fonts, and tap targets are all fine, so the basic test passes, but Google treats the interstitial as a separate ranking penalty and users bounce.
Another is hidden mobile content. Some teams ship a stripped-down mobile version that removes sections present on desktop. Under mobile-first indexing, Google indexes the mobile version, so any content you hide on mobile is effectively content you have removed from your SEO. The page is mobile-friendly and simultaneously thinner in Google's eyes than the desktop version you were proud of.
Speed and stability on mobile
Passing the mobile-friendly test is the bare minimum. Google's page experience signals layer in Core Web Vitals (LCP, INP, CLS), HTTPS, no intrusive interstitials, and several others. A site can pass mobile-friendly while still losing to faster, smoother competitors.
Run this test alongside the Core Web Vitals Checker and the Page Speed Test (which simulates a mid-range phone) for a fuller picture. The mobile-friendly test confirms the basics; CWV confirms the experience is competitive. Both must pass for sustainable mobile ranking.
Why the mobile version is the one AI reads
Mobile-friendliness has quietly become an AI-search signal too, for a structural reason. Under mobile-first indexing, the mobile rendering of your page is the canonical version Google stores, and increasingly it is the version that feeds AI Overviews and other generative answers. If your mobile layout hides sections, collapses content behind tap-to-expand widgets that never open for a crawler, or fails to render without heavy JavaScript, then the version an AI engine reads is the thin one, not the rich desktop one you wrote.
The practical takeaway is to make sure your mobile page contains the same substantive content as desktop, present in the HTML rather than lazily injected on interaction. A page that is genuinely mobile-first, readable, complete, and fast, is also the page most likely to be parsed cleanly and cited by AI systems, because those systems lean on exactly the mobile rendering Google already prefers.
Fix order: viewport, overflow, then the details
Fix failures in order of blast radius. The viewport tag comes first because its absence breaks every other check at once; adding one correct line in the head often turns a wall of red into a pass. Next, resolve any horizontal overflow, since one rogue wide element ruins the experience on every screen size below it. Then tidy tap targets and font sizes, which are real but more localized.
After the automated checks pass, do the human test. Open the page on an actual phone, not just a resized desktop window, and try to complete the main task: read an article, add to cart, submit a form. Resized browser windows miss touch behavior, real network speed, and on-screen keyboards covering form fields. The tool gets you to a passing baseline; a real device tells you whether the page is genuinely pleasant to use, which is what keeps visitors from bouncing back to the search results.
Build mobile-friendliness into your templates rather than fixing it page by page. Almost every failure this test catches, the viewport tag, base font size, tap-target sizing, overflow handling, lives in a layout or theme file that is shared across thousands of pages. Fixing it once at the template level resolves it everywhere and prevents the same problem from creeping back the next time someone publishes content. Re-run the test after any redesign, theme update, or new third-party widget, since those are the moments a previously passing site quietly starts failing again on a phone. For the bigger picture, read our mobile SEO guide.