Check the heading structure of a page

Paste the HTML of a page or an article in Markdown. The checker shows its headings as an outline and marks what makes the page harder to scan: no H1 or more than one, skipped levels, and headings that are empty or repeated.

Paste the page source or an article in Markdown. The outline updates as you type.

Outline

The checker needs JavaScript to run in your browser.

    Checks

      Runs in your browser. Nothing you paste here is sent anywhere.

      How to use it

      1. Paste the page

        Copy the HTML from the page source in your browser or from your CMS, or paste a Markdown file. The checker detects the format, or you can choose it.

      2. Read the outline

        Each heading is indented under the one before it, so a heading at the wrong level stands out.

      3. Fix what the checks list

        Start with the H1, then the skipped levels. Each heading should name the section below it.

      What the checks are based on

      • One H1 that names the page

        HTML allows more than one H1. MDN's HTML reference says this is not considered best practice and that a page should generally have a single H1 describing its content. Google's guide to title links gives putting the page title in the first visible H1 as one way to make the main title clear.

      • No skipped levels

        The W3C tutorial on accessible headings says skipping heading ranks can be confusing, for example an H2 followed directly by an H4. Going back up is fine: an H2 can start a new section after an H4.

      • Headings that say something

        Browsers and assistive technologies use headings for in-page navigation. An empty heading leaves a gap there, and two sections with the same heading are hard to tell apart.

      • Google doesn't need a perfect order

        Google's SEO Starter Guide says headings in semantic order are fantastic for screen readers, but that from Google Search's perspective it doesn't matter if they are out of order. The checks are there for your readers.

      Questions

      Does Google penalize several H1 headings or skipped levels?

      Google's SEO Starter Guide says the order of headings doesn't matter from Google Search's perspective and that there is no ideal number of headings for a page. A clear outline helps the people who scan your page or use a screen reader.

      Which headings does the checker read?

      In HTML, the h1 to h6 elements, including the text of links and the alt text of images inside them. Comments, scripts and styles are skipped. In Markdown, lines that start with one to six # signs and underlined headings. Code blocks are skipped.

      Can I check a live page by its address?

      No. The checker works only with what you paste. Open the page in your browser, view its source and copy the HTML.

      Is the text I paste sent anywhere?

      No. The checker runs in your browser and doesn't send your text to our servers.

      All free tools

      Get the articles written for you

      Ranketto writes and publishes a checked article on your website: every day on Pro and Agency, every second day on Start. Each article gets internal links to your own pages, an FAQ and structured data.