AMP checker: basic checks for an AMP page and its canonical link

This AMP checker runs 10 basic checks on an AMP page, or on the AMP version a page links to with rel="amphtml". It is not the official AMP validator. For full validation, use validator.ampproject.org.

  • Free
  • No sign-up
  • Checked on our server

Loading the tool…

Checked on our server: the address or domain you enter is sent over HTTPS to run the check. We don't keep it or the results.

How to use AMP Checker

  1. Type or paste the URL of the page. It can be the normal page or the AMP page itself. If you leave out the scheme, https:// is added.
  2. Press the check button.
  3. If the page links to an AMP version, read which AMP URL was checked and whether its canonical points back to your page.
  4. Go through the 10 checks and the list of findings, then confirm the result in the official AMP validator.

Features

  • Follows link rel="amphtml" and checks the AMP URL, or checks the page directly if it is already AMP
  • Checks that the canonical of the AMP page points back to the page you entered
  • Checks for the doctype, the ⚡ or amp attribute on html, the utf-8 charset meta and the viewport with width=device-width
  • Checks for the AMP runtime script https://cdn.ampproject.org/v0.js
  • Checks for the AMP boilerplate: style[amp-boilerplate] and noscript > style[amp-boilerplate]
  • Checks that there is no author JavaScript, only AMP scripts and JSON, ld+json or text/plain scripts
  • Checks that custom CSS is at most 75 000 bytes in a single style[amp-custom]
  • Gives a warning for tags that AMP replaces or prohibits, such as img, iframe, object and embed
  • Links to the official AMP validator
  • Requests use the User-Agent OneVixaBot/1.0 and send no cookies

Examples

InputResult
https://example.com/article with link rel="amphtml" to https://example.com/amp/articleThe AMP URL is fetched and checked. The canonical of the AMP page must point back to https://example.com/article. — Placeholder host.
An AMP page with an img tag instead of amp-imgWarning: a tag that AMP replaces or prohibits was found (img).
An AMP page with a script that is not the AMP runtime or an amp componentFinding: author JavaScript is not allowed in AMP.

Limitations

  • This is not the official AMP validator. It runs only 10 basic checks. Use validator.ampproject.org for full validation.
  • JavaScript is not run. Only the raw HTML is checked.
  • Only one URL per check. Only http:// and https:// on ports 80 and 443. Private, local and reserved addresses are refused.
  • Each request has a 10-second limit and only the first 2 MB of HTML is read.
  • The URL is sent to the OneVixa server, which makes the request. URLs are not logged or stored. Limit of 30 checks per minute.

Learn more

AMP is a web component framework for building fast pages with a restricted subset of HTML. A page is valid AMP only if it follows the rules of the AMP HTML specification, for example loading the AMP runtime, including the boilerplate styles, using its own components instead of some standard tags and avoiding author JavaScript.

Sites that publish both a normal and an AMP version link them in two directions. The normal page points to the AMP version with rel="amphtml", and the AMP page points back with a canonical link. This checker follows that relationship and tests the AMP page for ten of the basic requirements.

Passing these ten checks does not prove that a page is valid AMP. The official validator tests every rule in the specification and is the tool to rely on. Use this checker for a quick first look, then validate in the official tool.

Frequently asked questions

Is this the official AMP validator?

No. It runs 10 basic checks only. For full validation, use the official AMP validator at validator.ampproject.org.

What does rel="amphtml" do?

It is a link in the head of a normal page that points to its AMP version. The AMP page should point back with a canonical link.

Why is author JavaScript flagged?

AMP pages may only run the AMP runtime and AMP components. Other scripts are not allowed, apart from JSON data scripts.

Is there a limit on the CSS in an AMP page?

Yes. The AMP HTML specification limits custom CSS to 75 000 bytes, in a single style element marked amp-custom.

Sources

Last reviewed: October 1, 2026