S
SCRAWL

AMP Validator — Check Accelerated Mobile Pages for Errors

Validate AMP pages for markup errors, missing components, and boilerplate issues. Ensure your AMP pages are cached by Google. Free AMP checker tool.

What is an AMP Validator?

The AMP Validator fetches any URL implementing Accelerated Mobile Pages and validates the HTML against the AMP specification: mandatory boilerplate code, valid AMP component usage, correct component script tags, and prohibited HTML tags or attributes. Errors are shown with line references so you can locate the exact issue in your source code rather than hunting through the markup manually.

When Should You Use AMP Validator?

Use this when implementing AMP for the first time, after any template or CMS update that affects AMP pages, or when an AMP page stops appearing in the Top Stories carousel or other AMP-specific features in Google Search. AMP validation errors prevent Google from caching and serving the AMP version, causing it to fall back to the standard HTML version — which defeats the purpose of maintaining AMP pages in the first place.

How to Read AMP Validator Results

Errors are categorised by severity. Required boilerplate errors — missing AMP script, missing meta charset, missing canonical link to the non-AMP version — prevent the page from being recognised as valid AMP at all and must be fixed first. Component errors indicate incorrect usage of AMP-specific elements. Most errors include a description of the expected versus actual value and a reference to the relevant AMP documentation.

What Should You Know Before Using AMP Validator?

Note that AMP's strategic value has shifted significantly since Google removed it as a requirement for Top Stories eligibility. For publishers targeting Top Stories today, a fast standard page that meets Core Web Vitals thresholds achieves the same result without the maintenance overhead of a parallel AMP implementation. If you are maintaining AMP pages, validate after every template update and monitor Google Search Console's AMP Enhancement report for new errors that appear after site changes — these can silently remove pages from AMP-specific features without any obvious signal.

Frequently Asked Questions

What is AMP and do I still need it?

AMP (Accelerated Mobile Pages) is an open-source framework for building fast-loading mobile web pages, originally required by Google for Top Stories eligibility. Google removed this requirement in 2021 — any fast page that meets Core Web Vitals thresholds can appear in Top Stories. AMP remains useful for publishers who already maintain it, but new implementations are rarely justified.

What errors prevent an AMP page from being validated?

Critical errors include missing AMP JavaScript boilerplate, missing required meta charset and viewport tags, missing canonical link to the non-AMP version, use of prohibited HTML elements (script, form, iframe without AMP equivalents), and incorrect AMP component script URLs. The AMP Validator shows each error with a line reference and link to the relevant documentation.

How do I know if my AMP pages are cached by Google?

AMP pages cached by Google appear with an AMP icon in search results and load from the Google AMP cache domain. You can check whether a specific URL is cached by prepending the AMP cache URL format. Google Search Console's AMP Enhancement report also shows which AMP pages are valid, invalid, or have warnings that prevent caching.

What is the difference between AMP and a standard fast page?

AMP enforces a restricted subset of HTML, CSS, and JavaScript to guarantee fast load times on any connection. A standard fast page achieves speed through optimisation techniques (image compression, code splitting, caching) without restricting what HTML or JavaScript you can use. Standard pages are more flexible; AMP pages guarantee a performance floor but limit functionality.

Can I validate an AMP page without the AMP Validator tool?

Yes. You can validate AMP directly in Chrome DevTools by appending #development=1 to the URL and checking the console for AMP validation messages. Google's web-based Rich Results Test also validates AMP. However, the AMP Validator tool consolidates all errors into a single view with clear prioritisation, which is faster for regular auditing.