Skip to content
ToolsOnDuty - free online tools

Search tools

Loading tool search...

Web & SEO

HTML SEO Extractor

Extract metadata, H1s, links and image attributes from pasted HTML.

Free browser toolRuns in your browserNo sign-up
Extracted SEO data
{
  "title": "",
  "description": "",
  "canonical": "",
  "robots": "",
  "h1": [],
  "links": [],
  "images": []
}

About the HTML SEO Extractor

HTML SEO Extractor converts key on-page elements into structured JSON: title, description, canonical, robots, H1s, links and image source/alt pairs.

The result is useful for audits, comparisons and handoff without running arbitrary page scripts.

Title/description/canonical/robots use the first matching element, while H1s, links and images are lists. Link and image attributes remain as written, so /about is not resolved against a domain and a missing alt can appear as null.

This is extraction, not SEO validation: it does not inspect HTTP X-Robots-Tag headers, fetch destinations, detect every duplicate tag or judge whether metadata is useful. Compare the JSON with the supplied source and review empty/raw values explicitly.

Key features

  • Title and description extraction
  • Canonical and robots extraction
  • H1 and link lists
  • Image source and alt pairs

How to use

  1. 1Copy the complete source HTML.
  2. 2Paste it into the extractor.
  3. 3Copy the structured JSON for review or comparison.

Examples

Use the HTML SEO Extractor
Input: <title>Demo</title><h1>Start</h1><a href="/about">About</a><img src="p.png">
Output: {"title":"Demo","description":"","canonical":"","robots":"","h1":["Start"],"links":["/about"],"images":[{"src":"p.png","alt":null}]}

The UI pretty-prints this data. /about stays relative; alt is null because the attribute is absent.

Frequently asked questions

Does it execute page JavaScript?
No. It parses the supplied markup as HTML without executing scripts.
Why might rendered metadata differ?
Client JavaScript can alter the DOM after the original source loads; supply rendered HTML when that matters.
Is my data uploaded?
No. Analysis and generation happen entirely in your browser.

Open a related tool to prepare your files or refine the finished result.