1. SEJ
  2.  ⋅ 
  3. News

Find and Fix Errors in AMP Markup Code With Google’s New Testing Tool

amp testing tool

Google’s new Accelerated Mobile Pages (AMP) testing tool, accessible via Search Console, gives site owners the opportunity to find and fix errors associated with AMP markup.

Ideally, this is what you’ll want to see after a page through the AMP testing tool:

amp testing tool good

That means the AMP markup code is valid and Google will be able to indicate it as being an AMP page in search results.

Testing a page with invalid AMP markup code will return a screen that looks like the following:

amp testing tool bad

Of course, no site owner wants to hear their code is invalid and the page is not showing up in search results as intended. However, this is a more user-friendly error screen than what was offered before.

This an enhancement of Google’s existing AMP testing tool, in which some notable changes have been made.

With the new AMP testing tool, Google points out the exact errors that are preventing the preventing the page from being AMP-friendly, as well as how many instances of the error appear on the page.

A drop-down button next to the error indicates the exact line(s) of code the error was found on, so there’s no guesswork involved in determining what needs to be fixed.

Other notable changes include a mobile friendly design, which is appropriate considering the nature of what’s being tested. In addition, the testing tool now analyzes live versions of pages with the actual Googlebot.

Analyzing pages with the real Googlebot leads to the actual process taking a little longer than it did before, but in the end, the results can end up being more accurate.

The process is also delayed slightly by a captcha that you’ll have to click/tap on for every single page you run through the tool. Although it adds another step to the process it will prevent the tool from getting abused by bots or scripts.

The tool is available now and can be used whether or not you’re signed in to a Google account.

Category News Mobile SEO
SEJ STAFF Matt G. Southern Senior News Writer at Search Engine Journal

Matt G. Southern, Senior News Writer, has been with Search Engine Journal since 2013. With a bachelor’s degree in communications, ...

Find and Fix Errors in AMP Markup Code With Google’s New Testing Tool

Subscribe To Our Newsletter.

Conquer your day with daily search marketing news.