Validating your AMP HTML

Whenever you create an AMP page, you should always validate that your AMP HTML is correct. There are several methods that you can use to validate your AMP pages. In this tutorial, we'll enable the AMP Validator by turning on the developer mode. To turn on the developer mode, add the following fragment identifier to your URL and reload the page:


For example:


Open the Developer Console in Chrome (or your preferred browser), and verify there are no AMP errors. You might need to refresh your browser to see validation messages. If your page is free of errors, you should see the message:

 AMP validation successful.