Heading Structure Analyzer
See every heading on a page as an indented tree, find the structural mistakes, then fix the outline by dragging levels and wording and copy it as Markdown or HTML.
Runs in your browser. Your files never leave your device. See how to check
…
How to do it
- 1Paste the page
Paste HTML, page source or Markdown, or open a file.
- 2Set options
Add a target keyword and adjust the long and thin limits.
- 3Read the tree
Look at the coloured headings and the issue list.
- 4Auto-fix
Press Auto-fix and edit outline to get a corrected structure.
- 5Edit
Raise, lower, rename, reorder or add headings until the score is high.
- 6Export
Copy the outline as Markdown, HTML or a numbered list.
About this tool
Headings are the table of contents of a web page. Screen reader users jump between them, search engines use them to understand which part of a page answers which question, and skimming readers decide in seconds whether to stay. A clean structure has one H1 that names the page, H2s for the main sections and deeper levels only inside those sections, without jumping from H2 straight to H4. Paste a page source, an article in HTML or a Markdown draft. The analyzer lists every heading in document order as an indented tree, with the word count of the text under each one, and colours the headings that have problems. A score from 0 to 100 summarises the structure, and a count shows how many headings exist at each level. Switch on Main content only to ignore headings in the site header, navigation and footer.
What is checked
A missing H1, more than one H1, a first heading that is not the H1, levels that skip (H2 followed by H4), empty headings, very short headings, headings longer than the limit you set (70 characters by default), duplicate headings, headings typed in capitals and sections thinner than the word count you set. With a target keyword, it also reports whether the H1 contains it and whether the keyword is overused across H2s.
Editing the outline
Auto-fix builds a corrected outline: the first H1 moves to the top, other H1s become H2s and skipped levels are closed up. On the Edit outline tab, each heading has buttons to raise or lower its level, a text box to rewrite it, arrows to reorder and a delete button. New headings can be added for missing sections. The outline is re-scored as you edit, and undo and redo cover every change.
Export
Copy the outline as Markdown with hash marks, as HTML heading tags, as a numbered outline (1, 1.1, 1.2) for briefs, or as an indented list.
Limits
The analyzer reads the text you paste; it does not open pages and does not run JavaScript, so headings added by scripts after load are missed unless you paste the rendered HTML. It does not change your site; you apply the new outline in your editor or CMS. Heading levels for visual size are a design matter, not structure, so style headings with CSS rather than picking a level for its font size.
Worked example
A coffee grinder buying guide is pasted with its theme header. The analyzer finds 8 headings: two H1s, four H2s, one H3 and one H4. It reports the extra H1 Buy now, a first heading at H3 from the menu, a jump from H1 to H4 at Burr grinders, a duplicate H2 Blade grinders and an H2 in capitals, and scores the page 54. Auto-fix moves Coffee grinder buying guide to the top, turns Buy now into an H2 and lifts Burr grinders to H3. The fixed outline scores 90, and renaming the duplicate to Cleaning a blade grinder raises it to 98.
Quick facts
- Category: Business & Work
- Works in your browser, no sign-up, no upload.
- Your input stays on your device.
- Available in English.
- Content last reviewed:
- Official source: W3C WAI tutorial: page structure, headings; Google Search Central SEO starter guide
Frequently asked questions
Is more than one H1 wrong?
HTML allows it, but one H1 that names the page is clearer for users and search engines, and it is what most style guides and accessibility checkers expect.
Why do skipped levels matter?
Screen reader users navigate by level. Jumping from H2 to H4 suggests a missing section and makes the outline harder to follow.
Does keyword use in headings help ranking?
A keyword in the H1 and a few H2s helps make the topic clear. Repeating it in every heading reads badly and adds nothing.
What is a thin section?
A heading with very little text under it before the next heading. The default limit is 40 words, and you can change it or set it to zero.
Can I check a Markdown draft?
Yes. Lines starting with hash marks and underlined headings are read as headings, with the text under each counted.
Is my text saved?
It stays in this browser's local storage so you can return to it. Nothing is uploaded.
