Skip to the content

Contact usFree tools · No signup · Files stay on your device

SEO & Marketing

HTML Outliner: the complete guide to heading structure for SEO

HTML Outliner: the complete guide to heading structure for SEO

A good page has a clear skeleton: one main heading, sections under it, sub-sections under those. Search engines and screen readers both read that skeleton before anything else. Our free HTML Outliner shows it to you: paste your HTML, open a file or fetch a live page, and you get the h1 to h6 outline, the text under each heading, a list of structural problems and a short SEO check of the page's head. It is made for site owners, SEO writers, developers and anyone who maintains a WordPress or hand-coded site.

This guide walks through every panel, explains each warning and shows how to export the result.

What HTML Outliner does

The tool reads the HTML and builds three things from it:

  • The heading outline: every h1 to h6, plus any element with role="heading", in the order they appear.
  • The landmark structure: the regions of the page such as the header, navigation, main content, sidebar and footer.
  • A list of checks: missing or duplicate h1, skipped levels, empty headings, sections with no text, and more.

It also adds a card of SEO basics from the page head: title, meta description, canonical link, robots tag, language, viewport and Open Graph tags.

It does not run scripts, render CSS or judge your keywords. Hidden headings are detected only from attributes and inline styles, such as hidden, aria-hidden="true" or style="display:none", not from stylesheet rules.

How to use HTML Outliner, step by step

  1. Open HTML Outliner.
  2. In the Source panel, choose an Input method: Paste HTML, Fetch a URL or Open a file.
  3. For Paste HTML, put your code in the box labelled "HTML source". A full page or just a fragment both work. The outline updates as you type.
  4. For Fetch a URL, enter the address under "Page URL" and press Fetch & outline.
  5. For Open a file, pick a .html, .htm, .xhtml, .shtml, .php or .txt file.
  6. Start with the Summary panel. The coloured label says "Good structure" or "N issues to review", and Top issues lists the most important problems. Press one to jump to the heading it is about.
  7. Read the full list under Issues & checks, then the SEO basics card.
  8. Use the Outline panel to browse the headings, and the Export panel to save them.

To see how problems are reported, press Load sample: it loads a small page with common mistakes built in.

The Summary panel

The Summary shows a count of errors, warnings and notes, then a row of numbers: Headings, Words, Paragraphs, Reading time, Landmarks and Issues. If the page has hidden headings or hidden text, two extra numbers appear. A small chart called "Headings by level" shows how many h1, h2, h3 and so on the page has. After a fetch, the panel also shows the final address, the HTTP status, the redirects, the size and the character set, and a Copy link button gives you a link that runs the same check again.

Issues & checks: what each warning means

Problems are grouped as Errors, Warnings and Notes, and a collapsed "Passed checks" list shows what is fine.

Errors

  • "No <h1> found." The page has headings but none is a level-1 heading in the content.
  • "N empty headings." A heading with no text, for example <h3></h3>. Screen readers announce it as just "heading".
  • "N visible <main> landmarks." A page should have only one visible main.
  • "The page has no headings at all." Or every heading is hidden.

Warnings

  • "N <h1> headings found." More than one h1 in the content. See how many h1 tags a page should have for what this really means for SEO.
  • "Heading levels are skipped N times." For example an h2 followed directly by an h4.
  • "The first heading of the content is an H2, not an H1." The page's content opens at a lower level.
  • "The only <h1> is in the site header, menu or footer." A logo or site name is not the page's topic.
  • "No <main> landmark." Screen-reader users cannot jump straight to the content.
  • "N navigation landmarks, N without a distinct accessible name." Give each nav its own aria-label.
  • "N headings have no text under them." The heading introduces nothing.

Notes

  • Headings longer than 70 characters.
  • Headings repeated at the same level.
  • A heading identical to the page <title>.
  • Main (h1 or h2) sections under 40 words.
  • A heading followed by more than 300 words with no sub-heading.
  • A page with fewer than 150 words in all.

Each item has a "Fix:" line and a "Show N affected" list. Press an affected item to see it in the outline.

The SEO basics card

This card reads the head of the page and gives each item a tag: Good, Check, Fix or Note.

  • Title: a missing title is a Fix. More than 60 characters, or fewer than 15, is a Check.
  • Meta description: missing, under 70 or over 160 characters is a Check. About 120 to 160 is the target.
  • Canonical: whether it is present, a full URL, and the same as the page address.
  • Robots: noindex is a Fix, nofollow a Check. For fetched pages the X-Robots-Tag header is read too.
  • Language and viewport: the lang attribute and the mobile viewport tag.
  • Open Graph: og:title, og:description and og:image, which decide how a shared link looks.
  • Title and H1: whether they share at least one key word.

Lengths are counted in characters, not pixels, so treat them as a guide. For a deeper look at link-preview tags, use the Meta Tag Checker.

The Outline panel

The Outline has three views, chosen with the Outline view switch.

Headings

One row per heading, with an H1 to H6 badge, the heading text, and the start of the text under it with a paragraph and word count. Press "Show all text" to read every paragraph, list item and image description in that section. Small labels show problems such as "skips from H2", "empty", "long" or "hidden", and an L-number shows the source line.

Above the list you can search by heading text, limit the Levels (All, H1 only, Up to H2, Up to H3, Up to H4) and tick Issues only. Press a heading to copy its text. Show text and Show hidden are checkboxes in the panel header. On a page with more than 100 headings the text under each one starts hidden to keep the list quick.

Structure

The same headings, nested inside their landmarks: header, nav, main, aside, footer and named sections. Greyed chips are elements that browsers do not expose as landmarks, such as an unnamed section. Expand all and Collapse all help on long pages.

Text

A plain, indented outline, like a table of contents.

Export the outline

In the Export panel, choose Plain text, Markdown or JSON, then Copy or Download. Files are named after the site or file, for example example-com-outline.md. Plain text and Markdown include the text under each heading when Show text is on.

Download CSV gives one row per heading with these columns: Level, Tag, Heading, Words, Section words, Issues, Hidden, Where and Line. It opens in Excel or Google Sheets, so you can sort by problems or brief a writer.

What it accepts and its limits

  • Fetch a URL: reads up to 2 MB of HTML, follows redirects, and allows 20 checks a minute. A larger page shows "The page is larger than 2 MB, so only the first 2 MB was read."
  • Open a file: up to 10 MB. A bigger file shows "That file is 12.40 MB. The limit is 10.00 MB."
  • Paste HTML: no set limit.
  • Long lists: the first 2,000 rows are shown, with a Show all button.
  • Not HTML: if a URL returns something else, such as a PDF, the message says so.

Privacy

Paste HTML and Open a file work entirely in your browser. Nothing you paste or open is uploaded.

Fetch a URL is different. The address goes to our server, which downloads the page and sends the HTML back so your browser can analyse it. We do not run the page's scripts. When you fetch a page, the address you typed is also placed in your browser's address bar as ?url=, so you can share the result as a link. Do not fetch private addresses you would not want in a link.

A worked example

Take this small page:

<!doctype html>
<html lang="en">
<head><title>Dhaka Coaching Centre</title></head>
<body>
<header><h1>Dhaka Coaching</h1></header>
<main>
  <h1>SSC and HSC batches</h1>
  <p>Classes run six days a week.</p>
  <h4>Fees</h4>
  <p>The fee for each batch is Tk 1,500.</p>
  <h2>Teachers</h2>
  <p>Every subject has its own teacher.</p>
  <h3></h3>
</main>
</body>
</html>

The h1 in the header is a site name, so the tool treats it as part of the page chrome and does not count it. The page's own h1 is "SSC and HSC batches", so the check "Exactly one <h1>" passes.

Two real problems appear. The h4 "Fees" comes straight after an h1, which the Warnings list as a skipped level (it skips H2 and H3). And the empty h3 is an Error. The Summary therefore reads "2 issues to review" with a red tone. A few Notes about short sections appear as well, because the sample is tiny. The fix is to change "Fees" to an h2, give "Teachers" and "Fees" the same level, and delete or fill the empty h3.

Tips to work faster

  • Export a CSV before a content refresh and sort by "Section words" to find thin sections.
  • For a page behind a login, copy its HTML and use Paste HTML.
  • Use Word Counter for a deeper look at the text itself.

Common problems and how to fix them

"This page is built with JavaScript"

The HTML the server sends is an almost empty shell, and scripts add the content later. The tool does not run scripts, so it skips the checks instead of reporting fake problems. Open the page in a computer browser, press F12, right-click the top html line in the Elements panel, choose Copy, then Copy outerHTML, and paste it under Paste HTML.

"This site blocked our check"

Some sites answer our server with a "please enable JavaScript" or "prove you're human" page. The tool shows the same copy-from-your-browser steps and lists no problems for that challenge page.

"The server answered 404"

The outline is of the error page that came back, not your content. Check the address.

No line numbers

L-numbers are hidden when the HTML is minified, because every heading would say L1. Paste the version with real line breaks instead.

Quick checklist

  • One clear h1 in the main content that names the page.
  • Go down one level at a time: h2, then h3, never h2 straight to h4.
  • No empty headings and no heading without text under it.
  • Pick heading levels by meaning; use CSS for size.
  • Recheck after every template or plugin change.

Frequently asked questions

Does HTML Outliner run JavaScript on the page?
No. When you fetch a URL it reads the HTML that the server sends, not the page after scripts have run, so headings added by JavaScript will not appear. If the page is an empty app shell, the tool says so instead of listing fake problems.
Is my HTML uploaded when I use the tool?
Pasted HTML and files you open are analysed in your browser and never uploaded. Only the Fetch a URL option sends the address to our server, which downloads the page for you.
Why are the headings in my header or menu not counted as the page's h1?
A logo or site name in the header does not say what this page is about. The tool looks for the page's own h1 in the main content and warns you if the only h1 sits in the header, a menu or the footer.
How big a page can it handle?
A fetched page is read up to 2 MB, a file you open can be up to 10 MB, and pasted HTML has no set limit. Lists show the first 2,000 rows and a Show all button for the rest.
Can I save the outline?
Yes. Copy or download it as plain text, Markdown or JSON, or download a CSV with one row per heading for Excel or Google Sheets.
Found this useful? Share it

Tools in this guide

Main tool

HTML Outliner

Paste HTML, upload a file or fetch a URL to see its heading outline with the text under every heading, word counts and landmark structure.

Open tool

Meta Tag Checker

Enter a URL to see every SEO-relevant tag on the page, how it will look in Google and on social media, and exactly what to fix.

Open tool

Word Counter

Paste or type any text to get live word and character counts, reading and speaking time, a readability score and the keywords you use most.

Open tool

HTML Minifier

Make HTML pages smaller without breaking them.

Open tool

Back to all guides & blog