Skip to main content

HTML Meta Extractor

Third-party service

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.

Drop a file or browse
One file · text
Or

Output

Extracted tags
TagValue
No data yet
JSON
 
Was this helpful?

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

  1. Enter a URL to fetch it server-side, or paste an HTML document (or just a <head> fragment) below, or upload an .html file. The URL takes priority if both are filled in.
  2. Click Extract tags.
  3. 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.
  • h1 count — a page should generally have exactly one h1; 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.

meta tagsog tagsopen graphtwitter cardseohtml parserhead tags

Use it from code

From 3 credits per call

REST 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_HERE

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

Love the tools? Lose the ads.

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