Validate any page as true AMP HTML in seconds
Paste a live URL or raw HTML and get a line-by-line report of every AMP spec error and warning — powered by Google's own official AMP validator engine, running right in your browser.
Validation results
Run a validation above to see your AMP HTML report here.
More free tools while you're here
Everything you need to ship valid AMP
Built for developers and SEOs who need accurate, real validation — not guesswork.
Official AMP engine
Runs Google's own public amphtml validator.js library — the identical engine behind amp.dev's validator.
Validate by URL or source
Check a live page instantly, or paste and upload raw HTML you're still working on — no publishing required.
Line-level error detail
Every error and warning includes the exact line, column, and a link to the relevant AMP spec rule.
Real-time input checks
Field-level listeners catch malformed URLs or incomplete HTML before you even hit validate.
Privacy-first fetching
URLs are fetched server-side over a locked-down proxy with SSRF protection — nothing is stored afterward.
Copy & export reports
Copy your results to the clipboard or download a plain-text report to share with your team.
How the AMP Validator works
Three simple steps to a full validation report.
Add your page
Enter a live URL, paste raw AMP HTML, or upload a .html file.
Run validation
Click Validate — the AMP spec engine checks every tag, attribute, and script.
Read the report
See a pass/fail status with every error and warning listed by line number.
Fix & re-check
Update your markup and re-run instantly until your page passes clean.
What is an AMP Validator, and why does it matter?
Accelerated Mobile Pages, better known as AMP, is an open-source HTML framework that Google helped create to make webpages load almost instantly on mobile devices. An AMP validator is simply the tool that checks whether a page's markup actually follows the strict AMP HTML rulebook — because AMP only delivers its speed benefits when every tag, script, and style follows the spec exactly. Even a single disallowed attribute or an extra inline style can knock a page out of valid AMP status, which is why testing webpage for AMP compliance before publishing is such a routine part of technical SEO.
So what is AMP validation actually checking? At a high level, the validator parses your HTML the same way Google's own systems do, then compares it line by line against the official AMP specification: required boilerplate, allowed custom elements, permitted CSS size, and dozens of other structural rules. If you've ever searched "amp google validator" or wondered how to test AMP pages before deployment, the answer is the same either way — run the markup through a validator like this one, read the line-level errors, fix them in your codebase, and validate again until the report comes back clean.
How to use an AMP validator in practice is straightforward. Most developers either paste a URL and let the tool fetch the live page, or paste raw HTML straight from their editor when a page hasn't been published yet. A typical AMP validator example workflow looks like this: build the page using amp-img, amp-video, or other AMP components in place of standard tags, run it through the validator, resolve any amp html validation errors it surfaces — often missing canonical tags, disallowed JavaScript, or malformed amp-boilerplate — and re-test. Usage patterns like this repeat constantly during development, since even small template changes can introduce a new spec violation.
Getting this right carries real weight for both SEO and user experience. Search engines and AI-driven answer engines increasingly favor pages that load quickly and render predictably across devices, and valid AMP HTML is one of the more reliable signals of a well-optimized, mobile-first page. Whether you're debugging a single landing page or auditing an entire AMP-powered site, a fast, accurate accelerated mobile pages validator turns a guessing game into a checklist — helping teams ship pages that are genuinely fast, not just labeled that way.
Frequently asked questions
An AMP Validator checks a webpage's HTML against Google's Accelerated Mobile Pages specification and reports any errors or warnings that would prevent the page from being treated as valid AMP.
Enter the live URL of your page or paste its HTML source into the validator above and click Validate. The tool checks the markup against AMP HTML rules and lists any issues found, with line and column numbers.
Yes, this AMP Validator is completely free to use with no signup, account, or payment required.
Yes. Validation runs using Google's official, publicly available amphtml validator.js library — the same engine that powers the AMP Project's own validator tool.
Common causes include missing required boilerplate CSS, disallowed custom JavaScript, invalid or oversized inline styles, and missing canonical or amp-image fallback tags. The report lists the exact line and rule for each issue.
Explore more free SEO & AI tools
Keep optimizing beyond AMP — from technical SEO checks to AI-powered content tools, all in one place.