How to Build a Clean Heading Structure from H1 to H6
Why heading levels matter for readers, screen readers and search, the structural mistakes to look for, and how to rebuild a messy outline step by step.

Headings are the skeleton of a web page. Sighted readers skim them to decide whether to stay. Screen reader users press a key to jump from heading to heading, much like flipping through a table of contents. Search engines use them to understand which part of a page covers which subtopic. When the skeleton is crooked, all three audiences have a harder time.
What a clean structure looks like
A clean page has one H1 that names its topic. Main sections are H2s. Subsections inside a main section are H3s, and so on down. Levels are never skipped on the way down: an H2 is followed by H3s, not H4s. Going back up is fine, so an H4 can be followed by a new H2.
Headings describe the content below them in a few words. They are not chosen for their font size; visual size belongs in CSS. A heading that exists only to make a word bigger confuses the outline.
The mistakes that creep in
Themes and page builders cause most structural problems. A site header uses an H3 for the shop menu, so the first heading on the page is not the H1. A promo block adds a second H1 near the bottom. A writer picks H4 because it looks right, skipping H3. Sections are duplicated during edits and two H2s end up with the same text. Someone types a heading in capitals, which some screen readers spell out letter by letter.
Content problems show up too: headings so long they read like sentences, very short ones that say nothing, and sections with a heading but almost no text under it.
Seeing the tree
The Heading Structure Analyzer reads pasted HTML, a page source or a Markdown draft and shows every heading in order as an indented tree, with the number of words under each one. Problem headings are coloured, and a score from 0 to 100 summarises the structure. Counts per level show at a glance whether a page has two H1s or no H3s at all.
The checks cover a missing H1, extra H1s, a first heading that is not the H1, skipped levels, empty, very short or very long headings, duplicates, all-capitals headings and thin sections. Both the long-heading limit and the thin-section word count can be adjusted. With a target keyword, the analyzer reports whether the H1 contains it and warns when it is repeated in most H2s, which reads as stuffing.
If your source includes the whole page, switch on main content only to skip headings in the header, navigation and footer.
Fixing the outline
Auto-fix produces a corrected outline: the H1 moves to the top, any further H1s become H2s and skipped levels are closed up. From there the outline is fully editable. Each heading has buttons to raise or lower its level, a text box for rewording, arrows to reorder and a delete button, and new headings can be added for missing sections. The score updates with every change, and undo and redo work throughout.
The finished outline can be copied as Markdown, as HTML heading tags, as a numbered outline for a content brief, or as an indented list for a planning document.
An example
A coffee grinder buying guide is pasted with its theme header. The analyzer finds eight headings including two H1s, a menu H3 at the very top, a jump from the H1 straight to an H4, an H2 in capitals and a duplicate H2. The score is 54. Auto-fix moves the guide's title to the top, turns the stray Buy now H1 into an H2 and lifts the H4 to an H3, which brings the score to 90. Renaming the duplicate section to Cleaning a blade grinder raises it to 98. The writer then changes the capitals in the CMS and the outline is ready.
Good habits
Write the outline before the article. Check that each H2 could stand alone as an answer to a question a reader has. Keep headings short and specific. Use one keyword in the H1 and related phrases in a few H2s rather than the same phrase everywhere. And check the structure again after a theme change, because templates are where most stray headings come from.
Limits
The analyzer reads the text you paste. It does not open pages or run scripts, so headings added after load are missed unless you paste the rendered HTML. It suggests an outline but does not edit your site; you apply the changes in your editor or CMS.



&c=%23991b1b&k=business)