A quick structural check, not the full AMP spec
This AMP validator, also an AMP checker and quick AMP test, fetches a URL and answers two questions. First, is this page an AMP document, meaning its opening html tag carries the amp or ⚡ attribute? Second, if it is a normal page, does it point to an AMP version with a link rel="amphtml" tag? It labels the URL as AMP, AMP-paired (a regular page with an AMP twin) or non-AMP.
For AMP documents it then checks five required pieces: the AMP runtime script from cdn.ampproject.org, the amp-boilerplate style, a UTF-8 charset, a viewport with width=device-width, and a canonical link. These are the parts most often lost when a template or plugin changes. It does not check every allowed tag, attribute and CSS rule the way the official AMP validator does, so a pass here means the skeleton is in place, not that the page is guaranteed valid.
Where AMP stands for search now
AMP (Accelerated Mobile Pages) was created to make mobile pages load fast by limiting what they could contain and serving them from a cache. In 2021 Google stopped requiring AMP for the Top Stories carousel and removed the AMP badge from results; any page that meets Google's news content policies can appear there. AMP pages are not given a ranking boost, and Google evaluates them on page experience like any other page.
So AMP is now a choice, not a requirement. Many publishers still run it because their CMS produces it, and as long as it exists it needs to be valid and correctly paired. Broken AMP pages can still be indexed and shown, and a broken pairing can confuse which version Google treats as the main one.
How the two versions point at each other
In a paired setup the regular page links to its AMP version with rel="amphtml", and the AMP page links back with rel="canonical" pointing at the regular page. Google then indexes the regular page as the canonical and knows the AMP URL is an alternate of it. If the AMP page is the only version (a standalone AMP site), its canonical points at itself.
<!-- Regular page: https://www.example.com/news/story -->
<link rel="amphtml" href="https://www.example.com/news/story/amp" />
<!-- AMP page: https://www.example.com/news/story/amp -->
<!doctype html>
<html amp lang="en">
<head>
<meta charset="utf-8" />
<script async src="https://cdn.ampproject.org/v0.js"></script>
<title>Story headline</title>
<link rel="canonical" href="https://www.example.com/news/story" />
<meta name="viewport" content="width=device-width" />
<style amp-boilerplate>/* the official boilerplate CSS goes here */</style>
<noscript><style amp-boilerplate>/* noscript boilerplate */</style></noscript>
</head>The pairing has to be exact. The amphtml link should give the AMP URL as it resolves, and the AMP page's canonical should give the regular URL without tracking parameters. To confirm the canonical side in detail, run the AMP URL through our Canonical Tag Checker.
Reading the five requirement checks
Runtime script missing
Without https://cdn.ampproject.org/v0.js loaded with async, the page is not AMP at all, even if it has the attribute. This usually means a theme stripped scripts or a cache plugin rewrote the URL.
Boilerplate missing
The amp-boilerplate style hides the page until the runtime loads. Without it, the AMP validator fails the page. Copy the boilerplate exactly from amp.dev; edited versions also fail.
Charset or viewport wrong
AMP requires meta charset="utf-8" as the first child of the head and a viewport that includes width=device-width. The second one also matters for every mobile page, AMP or not; our Viewport & Charset Checker tests it on regular pages.
No canonical
Every AMP page needs a canonical, either to its regular twin or to itself. A missing canonical is one of the most common reasons AMP pages show errors in Search Console.
Keeping AMP valid on WordPress and other CMSs
WordPress
The official AMP plugin offers Standard (the whole site is AMP), Transitional (paired) and Reader modes. In Transitional and Reader modes it adds the amphtml and canonical links for you. When you install a new plugin that adds scripts or custom CSS, re-check a sample page, because the AMP plugin will remove what it cannot convert and may change how the page looks.
Other CMSs
Publishing platforms that generate AMP from templates usually break in the same places: a new analytics script, an ad slot or an embed that is not an AMP component. Test one URL per template after each release.
Retiring AMP without losing traffic
Many sites now remove AMP and invest in a fast regular page instead. Do it in this order: make sure the regular pages are fast on mobile (check them with the Core Web Vitals Checker), remove the amphtml links from the regular pages, then 301-redirect each AMP URL to its regular twin. Redirecting matters because AMP URLs may still be linked from other sites and cached in Google's AMP cache. If you use the WordPress AMP plugin, deactivating it is not enough; add the redirects as well. Our redirects guide covers choosing the right status code.
After the structural check passes
Once all five pieces are present, run the page through the official AMP validator at validator.ampproject.org, or add #development=1 to the AMP URL and open the browser console. Those catch the detailed problems this tool does not look for, such as disallowed tags, oversized inline CSS and invalid component attributes. Then check Search Console's AMP report, if your property has one, to see whether Google found errors across the site.