Skip to content

Heading outliner. H1 to H6. Warnings in context.

Browser-only · nothing leaves this device
§ 01 · load example
§ 02 · paste HTML

Source or snippet.

Paste just the HTML with headings, or the full page source.

§ 03 · outline
0
H1
0
H2
0
H3
0
H4
0
H5
0
H6
§ · written guide

How to use the Heading Structure Outliner

This outliner reads the H1 to H6 headings in HTML you paste and draws them as an indented outline. It counts each level and flags the common problems: no H1, more than one H1, a first heading that is not an H1, skipped levels and empty headings. Use it to check a page or template before it ships, for accessibility and for search.

Step by step

  1. Paste your HTML

    Paste a snippet or a whole page source into the box under paste HTML. A clean example is loaded when the page opens, so select it all and replace it. The outline updates as you type or paste.

  2. Get the source of a live page

    The tool does not fetch web addresses. Open the page in your browser, view its source, copy it and paste it in. If your headings are added by JavaScript, copy the rendered HTML from your browser's developer tools instead.

  3. Try the examples

    Press Clean example to see a well nested page, Broken example to see every warning at once, or Clear to empty the box.

  4. Read the outline and warnings

    Check the six counters for H1 to H6, then the outline, where each level is indented one step further. Problems are marked on the row itself and listed again under the outline. Skipped levels and empty headings also give their position.

  5. Copy the outline

    Press Copy outline to put a plain text version on your clipboard, with each heading indented by level and a closing line counting the H1, H2 and H3 tags.

Reading the result

  • A green line reading Clean hierarchy, no warnings means the page has exactly one H1, starts with it, never skips a level going down and has no empty headings. The clean example gives 1 H1, 3 H2 and 7 H3 with no warnings.
  • Skipped levels are flagged when a heading goes down more than one step, for example H1 straight to H3. Going back up, such as H4 to H2, is fine and is not flagged.
  • Position numbers count headings in the order they appear, so position 5 is the fifth heading in your HTML, not a line number.
  • The broken example shows the full set: a first heading that is H2, two H1 tags, three skipped levels and one empty H2.

Tips and common mistakes

  • Fix a skipped level by changing the tag, not the look. If an H3 should look smaller, style it with CSS and keep it an H3.
  • Headings inside HTML comments are still counted, because the tool matches tags in the text. Remove commented out blocks before you paste if they skew the counts.
  • Text inside a heading is shown without its inner tags, so a heading that holds only an image counts as empty, even when the image has alt text.
  • Paste the whole page, not just the article body, to catch an H1 in the site header or extra headings in sidebars and footers.

Privacy and limits

The HTML is read by your browser and nothing is uploaded or saved, so reloading the page brings back the clean example. The tool only finds standard h1 to h6 tags, not elements given a heading role by attributes. Copy outline only writes the outline to your clipboard.

Back to the tool

§ 04 · the outline

Headings are the spine.

Every well-structured page is a nested outline. One H1 names the page; H2s name major sections; H3s name sub-sections; H4-H6 handle deeper nesting when needed. Screen readers treat this outline as the primary navigation structure, and search engines infer topic hierarchy from it. When levels skip (H1 to H3, no H2) or duplicate (two H1s), both audiences lose the thread. The outliner above flags every problem with the specific position in the document.

Four heading rules. One, exactly one H1 per page naming the primary topic. Two, no skipped levels (H2 always before H3, H3 always before H4). Three, no empty headings (content only, no decorative tags). Four, avoid relying on visual CSS to communicate hierarchy; use the semantic tag that matches the content's level in the outline. All four are WCAG 1.3.1 requirements.

Tools in the same cluster: Website Audit for the full Lighthouse SEO and accessibility score. Color Contrast Checker for WCAG color compliance. Meta Tag Generator for the head-tag layer.

§ 05 · questions

Five answers.

Why does heading hierarchy matter?

Two reasons. One, screen readers use heading levels to build a page outline users navigate with keyboard shortcuts; skipping from H1 to H3 with no H2 breaks that navigation. Two, search engines use heading hierarchy to infer page structure and relative importance of content blocks; a correctly nested outline correlates with better ranking and richer featured-snippet eligibility. WCAG 2.1 Success Criterion 1.3.1 requires programmatically determinable structure, which heading nesting is the main way to provide.

Should I have only one H1 per page?

One H1 per page is the traditional recommendation and the safest default. HTML5 introduced sectioning elements (section, article) that in theory allow nested H1 tags per section, but browsers and screen readers have never fully adopted that model. Google has stated multiple H1s do not hurt rankings but single H1 remains the convention for clarity. The outliner flags pages with zero or more than one H1.

What counts as a skipped heading level?

Going from H1 directly to H3 without an H2 between them skips a level. Going from H2 to H4 also skips. Screen readers interpret this as a broken outline. Occasionally designers jump levels for visual weight; the fix is CSS, not markup. Style an H3 to look like an H2 if needed, but keep the semantic hierarchy correct. The outliner flags every skip with the specific levels involved.

Does this tool fetch URLs?

No. Paste HTML source directly. Same-origin browser security (CORS) blocks client-side tools from fetching arbitrary URLs, and routing fetches through a Digital Heroes server would defeat the zero-server-state privacy promise. View page source in your browser, copy the relevant markup, and paste it in.

Does this tool save my data?

No. Every value you enter lives in memory for this browser tab only. Nothing is transmitted to a server, stored in a database, or synced. Close the tab and the data is gone.

§ 06 · ship clean HTML

Broken outline across templates?

Our SEO engagements audit every template (home, product, blog, collection, landing) for heading hierarchy plus content-SEO hygiene and ship correct semantic markup end-to-end.

Published · Last updated .

Priya sent you a message Online now

Talk to a Developer Now

Share your name and email to reply.

Reply