Inspect a Markdown document outline
This tool lists Markdown heading levels, plain heading text and one-based source lines. Paste source into Markdown source and select Inspect Markdown. It helps review an outline without rendering the whole document or altering its headings.
Example: two heading syntaxes
Load example (replaces input) inserts three headings. Main title is H1 on line 1. Introduction is H2 on line 3 because its following line uses Setext dashes. A bold detail is H3 on line 6; emphasis markers are removed from its text. The result follows document order and does not sort by level.
Interpret the outline accurately
Both ATX headings using hash marks and Setext headings using an underline are recognized by the Markdown parser. Heading-like text inside fenced or indented code is excluded. An escaped hash mark is ordinary prose. Inline code text, link labels and image alternative text contribute to the plain heading label; raw HTML is not rendered into a heading.
Repeated labels remain repeated. A jump from H1 to H3 is reported as written rather than automatically repaired or marked as an SEO failure. This report does not create anchor IDs: slug generation and duplicate-anchor rules depend on the site that eventually renders the document. It also does not inspect HTML heading tags, document accessibility or search ranking.
Export and troubleshoot
A document with no parsed headings produces an empty report, not an error. If a heading is missing, check indentation, escaping, surrounding code fences and whether its syntax is valid Markdown. The table displays up to 200 rows; JSON copy and download include the complete report. Input supports 50,000 UTF-16 code units, at most 20,000 syntax nodes and 100 nesting levels. Pasted line endings may normalize in the browser. Changing source clears old output.
For documentation that embeds examples, use Markdown Code Fence Extractor. To inventory the destinations cited by sections, use Markdown Link Extractor.





