Accelerated Mobile Pages

AMP Validator

Paste AMP markup or point at a live AMP page to catch validation errors before Google does.

Input Method
amp-page.html

About this tool

Comprehensive documentation & audit utility guide
Verified Utility

AMP (Accelerated Mobile Pages) has strict markup rules — a single missing attribute can make a page invalid. This tool runs Google's own official amphtml-validator library against your markup, the same validation logic AMP-aware crawlers and Search Console use, so you catch issues before they show up there.

How it works
1
Provide AMP markup

Paste raw AMP HTML, or point at a live AMP page's URL.

2
The official validator runs

Google's amphtml-validator library checks it against the AMP spec.

3
Fix what it flags

Click an error to jump straight to the offending line.

What it checks
Mandatory AMP tags and attributes
Disallowed HTML/CSS/JS patterns the AMP spec forbids
Errors vs. warnings, each with exact line and column numbers