Accelerated mobile pages (AMP) is a standard for creating fast-loading pages that look good on mobile devices. Having a mobile-friendly website is a critical part of your online presence. In many countries, smartphone traffic now exceeds desktop traffic. You can use the AMP Test to check the validity of an AMP page, and to verify that it has the proper configuration to appear in Google Search results. Note: If you want to confirm whether your AMP pages are indexed correctly, we recommend using the URL inspection tool instead of the AMP Test tool.
Run the test
The AMP test is easy to run: simply type in the full URL of the web page that you want to test. Any redirects implemented by the page will be followed by the test.
Review the results
If there are errors, expand the individual error and click the line number to open the code explorer pane for that error.
If the page has structured data, click the structured data link to open the Structured Data Testing Tool to test and explore the structured data.
AMP errors
In addition to standard AMP errors, the report can expose the following additional issues (errors or warnings).
Connectivity errors
These connectivity errors can also occur during a live AMP test:
- DNS server unresponsive: Often this is a transient problem that resolves itself in a few minutes.
- DNS error: Host unknown: Your DNS server did not resolve your URL. This might be a transient problem that resolves itself in a few minutes.
- DNS error: Private IP provided: Your DNS returned an IP that is in a special/private excluded range, such as RFC 1918 private IP (for example, 10.0.0.1)
- Server connection error: Server was unreachable, refused connection or failed to connect. Read more.
- Server invalid response: Server does not support requested protocol the response or headers were truncated; or the response could not be parsed (for example, if the response data was incorrectly compressed). Read more.
- Invalid server SSL certificate: Your site's SSL certificate is invalid. Google won't test an HTTPS URL on the site unless the certificate is valid.
- Robots.txt unreachable: Google won't crawl a website if the robots.txt file is present but not reachable. You can check your robots.txt availability in the Crawl Stats report.
- Hostload exceeded: Your site seems to be at maximum capacity for Google crawling or inspection requests. Google can't run tests until your traffic load (as estimated by Google) drops.
Next steps
If you are a verified site owner in Search Console, explore combined statistics for all your site's AMP pages using the AMP Status report.
More AMP resources
Here are some more resources about AMP:
- www.ampproject.org - Open-source project homepage: contains full AMP documentation, as well as the open-source AMP code.
- AMP on Google Search (for developers) - Additional AMP information specific to Google Search. Includes a few additional requirements to enable your AMP pages to appear in Google Search with all possible search features.