Heading Tag Analyzer
Paste your HTML or Markdown to see its headings as an indented outline, with the count at each level. The tool flags skipped levels and empty headings, which are problems a reader can notice, and adds notes about the H1 count that follow what Google and the W3C say. Everything runs in your browser.
- Google says that heading order and the number of headings do not matter for Search. Headings help readers and screen readers.
Related Tools
[4 suggestions]Keyword Density Checker
Count single words and 2 or 3 word phrases in your text and see the share of all words each one makes up.
SEO & MarketingMeta Tag Generator
Generate the HTML head tags for a page: title, meta description, canonical, robots, charset and viewport.
SEO & MarketingSERP Preview Tool
Preview a title and meta description as a Google search result, with the title measured in pixels so wide letters are flagged.
SEO & MarketingWord Counter
Count the words in any text, including Chinese and Japanese, with characters and unique words.
Analysis & CountingGuides for the Heading Tag Analyzer
- How to Check H1 and H2 Tags on Any Page
Three ways to check H1 and H2 tags on any page: View Source, a console snippet and a heading analyzer. We ran them on all 119 pages of our own site. (November 23, 2026)
- How to Convert HTML to Markdown Without Losing Lists, Tables or Code
Learn how to convert HTML to Markdown: what each tag becomes, why regex converters break lists and tables, and what Markdown can't keep. Tested on 2,000 pages. (November 4, 2026)
- Markdown to HTML: How It Works and What Trips Up Converters
Markdown to HTML explained: the CommonMark rules, what GitHub adds, and the mistakes simple converters make, tested on all 652 official examples. (October 31, 2026)
- Heading Tags (H1 to H6): How to Structure Them and What Google Says
How to use H1 to H6 heading tags: what Google and the W3C actually say about one H1 and skipped levels, plus how to check a page's headings. (October 30, 2026)
About the Heading Tag Analyzer
The Heading Tag Analyzer lists the h1 to h6 elements of a page in order and shows them as an outline. For HTML it reads the markup the way a browser does: it ignores headings inside comments, scripts, styles and templates, ends a heading at the first closing heading tag, closes a heading that was left open inside a div, decodes entities such as & and é, and uses the alt text of an image inside a heading. We compared it with Chromium's own parser on 4,000 random broken documents (it matched on all but 4) and on the headings of real pages. For Markdown it reads ATX headings (# Title) and setext headings (a line underlined with === or ---), skips code blocks and HTML blocks, and removes bold, links and code marks from the text. Headings inside list items and quotes are not listed. The tool reports two kinds of finding. Problems are things readers notice: empty headings and skipped levels, which the W3C advises against because they can confuse people who navigate by headings. Notes are information. Google's SEO Starter Guide says that heading order and the number of headings do not matter for Search, and Google has said that several H1 headings are fine, so a missing or repeated H1 is a note and not an error.
Can a webpage have more than one H1 heading?▾
Yes. HTML allows it, and Google has said that several H1 headings are not a problem for Search. Accessibility guidance such as the W3C tutorial treats the H1 as the main heading of the page, so use more than one only when it is intentional. The tool shows it as a note, not an error.
Why avoid skipping heading levels?▾
The W3C advises against it, for example an H2 followed directly by an H4, because people who use screen readers navigate by heading level and a gap can confuse them. Google says the order does not matter for Search, so this is about readers, not rankings.
Does Google need an H1 or a certain number of headings?▾
No. Google's SEO Starter Guide says it does not matter if headings are used out of order and that there is no ideal number of headings on a page. A clear main heading and headings that describe each section still help readers.
What HTML does the analyzer ignore?▾
Headings inside comments, script and style elements, templates and textareas are ignored, because a browser does not show them as headings. If your HTML is broken, such as an unclosed link in a heading, the tool ends the heading where a browser would.
Does it find headings in Markdown?▾
Yes, when the text has no HTML headings. It reads # headings with up to six levels and lines underlined with === or ---, and it skips fenced and indented code blocks. Headings inside list items and block quotes are not listed.