HTML Meta Extractor
Extract the title, canonical URL, and every meta tag — description, viewport, robots, Open Graph, Twitter Card — plus h1 headings, from pasted HTML or a live URL.
Input
If set, the page is fetched server-side and takes priority over the pasted/uploaded HTML below.
Output
| Tag | Value |
|---|---|
| No data yet | |
Guides
The HTML Meta Extractor pulls the <title>, canonical URL, and every <meta> tag — description, viewport, robots, Open Graph, Twitter Card — plus h1 headings, out of an HTML document. Paste HTML, upload a file, or fetch a live URL directly.
How to use this tool
- Enter a URL to fetch it server-side, or paste an HTML document (or just a
<head>fragment) below, or upload an.htmlfile. The URL takes priority if both are filled in. - Click Extract tags.
- Review the extracted tags as a table, or copy/download the structured JSON output.
JSON output shape
{
"title": "IO Tools",
"description": "Free tools",
"canonical": "https://io-tools.com/",
"robots": "",
"headings": { "h1_count": 1, "h1_text": ["IO Tools"] },
"open_graph_tags": [{ "property": "og:title", "content": "IO Tools" }],
"twitter_tags": []
}
Why check meta tags?
- Title and description are what show up in Google's search results — missing or duplicate ones hurt click-through.
- Canonical URL tells search engines which version of a page to index.
- Robots controls whether the page is indexed and its links followed.
h1count — a page should generally have exactly oneh1; zero or several can be a signal of a heading-structure problem.- Open Graph / Twitter Card tags control how the page previews when shared on social media.
Privacy
A pasted or uploaded document never leaves your browser until you click Extract tags — the tool then runs server-side either way (parsing pasted HTML, or fetching the URL you supplied). Requests to private or local network addresses are blocked. To build these tags instead of extracting them, see the HTML Meta Tag Generator; to check just the social-preview tags on a live URL, see the Open Graph Checker.
Use it from code
From 3 credits per callREST API
curl -X POST https://api.iotools.cloud/v1/tool/html-meta-extractor \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"htmlSource": "<!DOCTYPE html>\n<html>\n<head>\n <title>Example D…"
}'Swap in your own key from your account. The tool's fields are the body — no wrapper.
Ask an AI agent
Use the IOTools `html-meta-extractor` tool (HTML Meta Extractor) on this input:
YOUR_INPUT_HEREPaste this at any agent connected to the IOTools MCP server, then add your input.