AMP Test

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.



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.

If the page is not a valid AMP page, it might not appear in Google Search results with all possible features. For example, it might not appear with a graphical image, or in a carousel.

AMP errors

In addition to standard AMP errors, the report can expose the following additional error types.

Google-specific AMP errors
Error Description
Content mismatch

There is a difference in content between the AMP page and its canonical web page.

The content of the AMP page and its canonical web page should be essentially the same. The text need not be identical, but the topic should be the same, and users should be able to accomplish the same tasks on both the AMP and the canonical page.

A mismatch can also occur when a robots.txt file blocks significant resources on one or the other. Open the Blocked Resources Report to see whether either page has blocked resources.

To fix:

  • Ensure that the AMP is referencing the correct canonical web page.
  • Ensure that the general content of the AMP and canonical page are the same.
  • Check that Google's view of the page is not different from the user's view of the page by using the Fetch as Google tool for both the AMP and the canonical page.
Missing embedded video The canonical web page has an embedded video that is missing in the AMP page. It is usually best to include all the same important content resources in your AMP page as in the canonical web page. Note that the video is detected by URL; if you have two different URLs pointing to the same video, you will see this warning.

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 report.

More AMP resources

Here are some more resources about AMP:

  • - Open-source project homepage: contains full AMP documentation, as well as the open-source AMP code.
  • Google Search AMP 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.
Was this article helpful?
How can we improve it?