Skip to main content

URL Heading Extractor

Third-party service

Fetch any live URL and extract its complete H1-H6 heading hierarchy — see every heading in document order with its level, for SEO audits and content-structure checks.

Input

The page is fetched server-side and every H1-H6 tag is extracted in document order.

Output

Summary
LevelCount
No data yet
Headings
LevelText
No data yet
Was this helpful?

Guides

What this tool does

Enter a live URL and this tool fetches the page server-side and pulls out every <h1> through <h6> heading tag, in the order they appear on the page, along with a per-level count summary. It's a fast way to audit a page's heading structure — whether it has exactly one H1, whether headings skip levels, and how many subheadings sit under each section — without opening dev tools.

How to use it

  1. Enter the page's URL.
  2. Click Extract headings.
  3. Read the level-by-level summary, then the full list of headings in the order they appear on the page.
  4. Copy or download the results as a CSV file.

Frequently asked questions

Why does this run on the server instead of my browser? Browsers block cross-origin page fetches (CORS) for most sites, so extracting headings from an arbitrary URL has to happen server-side. Only the requested page is fetched; nothing else is stored.

What if I already have the page's HTML instead of a URL? Use the HTML Meta Tags Extractor for meta tags and a page's single H1, or paste the HTML into HTML to Markdown Converter — Markdown headings (#, ##, …) mirror the same H1-H6 hierarchy.

Does it check whether the headings are semantically correct? No — it reports exactly what's on the page. Deciding whether the hierarchy is "good" (one H1, no skipped levels) is left to you; this tool gives you the raw structure to make that call.

seo auditheading hierarchyh1 h2 h3content structureoutlinewebpage headingsscraping

Use it from code

From 3 credits per call

REST API

curl -X POST https://api.iotools.cloud/v1/tool/url-to-headings \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://example.com"
  }'

Swap in your own key from your account. The tool's fields are the body — no wrapper.

Ask an AI agent

Use the IOTools `url-to-headings` tool (URL Heading Extractor) on this input:

YOUR_INPUT_HERE

Paste this at any agent connected to the IOTools MCP server, then add your input.

Part of a workflow

All collections

Love the tools? Lose the ads.

One payment clears every ad from your account, for good. No subscription, no tracking.