AMP Validator
Loading Google's AMP validator (about 4 MB, only the first time)…
Google can serve this page from the AMP cache. Warnings do not stop that, but are worth fixing.
AMP Validator
AMP pages only load from Google's AMP cache when they follow the AMP rules exactly: the right boilerplate, no custom JavaScript, AMP components instead of plain images and iframes, and CSS under the size limit. One mistake and the page falls back to a normal link. This tool runs the official AMP validator, the same one AMP's own tools use, in your browser. Enter a URL (a normal page that links to its AMP version works too) or paste the HTML, and you get a pass or fail with every error and warning, the line it is on and a link to the documentation that explains the fix. It also validates AMP for Email and AMP ads.
How to use AMP Validator
- Enter the address of an AMP page, or switch to Paste HTML.
- Click Validate AMP. The validator loads the first time (about 4 MB).
- Fix the errors first: each one shows the line and a "How to fix" link.
- Validate again until it passes, then ask Google Search Console to recheck the page.
When it comes in handy
- Fixing "AMP page is invalid" errors in Google Search Console.
- Checking AMP templates after a theme or plugin update.
- Testing AMP for Email messages before sending them.
Frequently asked questions
Does Google still use AMP?
What is the difference between errors and warnings?
Why check the AMP version of a normal page?
<link rel="amphtml">. Enter the normal page and the tool follows that link.Is my HTML sent to Google?
Related guides
-
On-Page SEO Checklist: 15 Things to Check Before You Hit Publish
A practical, no-jargon checklist for getting a single page right: titles, descriptions, headings, images, links, indexing and structured data.
-
Schema Markup for Beginners: What JSON-LD Does and Which Types to Use
A beginner-friendly explanation of structured data and JSON-LD, the schema types most sites need, and how to add and test them.
-
301 vs 302 Redirects: Which One to Use, and How to Check Them
The difference between permanent and temporary redirects, how each affects SEO, common redirect mistakes, and how to set up and test them.