Skip to content

Ready

Enter a domain on the left and run the test. Results stream in here.

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.

How it works

  1. Enter Your URL

    Paste any URL. We fetch the live HTML to inspect the document for AMP signals.

  2. Detect AMP Status

    We check the html element for the amp attribute and look for a rel=amphtml link to classify the page as AMP, AMP-paired, or non-AMP.

  3. Run Core Checks

    For AMP pages we verify the runtime script, boilerplate, charset, viewport, and canonical, reporting any missing required pieces.

Frequently asked

What is AMP and is it still relevant?

›

AMP (Accelerated Mobile Pages) is an open framework for fast, restricted mobile pages. Since 2021 Google no longer requires AMP for Top Stories, removed the AMP badge and gives AMP no ranking boost. Many publishers still run it, and while they do, the pages need to stay valid and correctly paired.

How do I know if a page is an AMP page?

›

An AMP document has the amp or ⚡ attribute on its html tag. A regular page with an AMP version links to it with link rel='amphtml'. This tool detects both and labels the URL as AMP, AMP-paired or non-AMP.

Which requirements does this tool check?

›

For AMP documents it checks five: the AMP runtime script from cdn.ampproject.org/v0.js, the amp-boilerplate style, a UTF-8 charset, a viewport containing width=device-width, and a canonical link. These are the parts most often lost when templates or plugins change.

Does this tool fully validate AMP like the official validator?

›

No. It is a fast structural check of the skeleton. The official AMP validator also checks every allowed tag, attribute and CSS rule. After fixing anything flagged here, run the page through validator.ampproject.org or add #development=1 to the AMP URL and check the browser console.

What should the canonical be on an AMP page?

›

In a paired setup the AMP page's canonical points to the regular HTML page, and the regular page links back with rel='amphtml'. A standalone AMP page with no other version points its canonical to itself. A missing canonical is one of the most common AMP errors.

Can AMP and non-AMP versions cause duplicate content?

›

Not when they are paired correctly: the amphtml and canonical links tell Google they are the same content and the regular page is indexed as canonical. Problems appear when the AMP page lacks a canonical or self-canonicalises while a regular version exists.

Should I keep AMP or remove it?

›

If AMP pages work and are easy to keep valid, there is no urgency to remove them. For new projects, a fast regular page usually meets performance goals without AMP's restrictions. If you remove AMP, delete the amphtml links and 301-redirect each AMP URL to its regular page.

How do I remove AMP on WordPress without losing traffic?

›

Deactivating the AMP plugin stops the AMP pages, but old AMP URLs may still be linked from other sites and cached. Add 301 redirects from the AMP URL pattern (such as /amp/ or ?amp=1) to the regular page, then check a few with a redirect checker.

Related tools

More Technical SEO tools

See all Technical SEO tools · All free SEO tools

Related guides

↳ full site audit190+ checks · AI fix instructions · yearly plans