Skip to content

URL Metadata Extractor

Extract OG tags, canonical URLs, meta descriptions, and JSON-LD from pasted HTML

URL Metadata Extractor

Output

Working…

Updated . Provided as is. Check the output before you rely on it in production.

How to use URL Metadata Extractor

  1. 1

    Paste the page HTML

    Paste a page's full HTML, from view-source or curl, or load the sample.

  2. 2

    Run the extractor

    It reads the <title>, meta description, canonical URL, Open Graph and Twitter tags, and every JSON-LD block.

  3. 3

    Check the warnings

    A missing <title> or missing Open Graph tags are flagged so you can fix them before the page is shared.

  4. 4

    Copy the JSON

    Copy the structured result into a ticket or SEO audit.

Questions and answers

Does it fetch the URL?
No. You paste the HTML; the extractor parses it in your browser and never requests the page.
What does it extract?
Title, meta description, canonical URL, Open Graph tags, Twitter card tags and parsed JSON-LD structured data.

Use it as an API

URL Metadata Extractor is also callable as a free HTTP JSON API at https://aidevhub.io/api/url-metadata-extractor/ — GET with query parameters or POST with a JSON body, no authentication, CORS enabled, fair use (abusive traffic is throttled at the edge; there is no per-request quota header). Responses return { ok, tool, result, meta }.

curl -s -X POST https://aidevhub.io/api/url-metadata-extractor/ \
  -H "Content-Type: application/json" \
  -d '{"html":"<html><head><title>Example</title><meta property=\"og:title\" content=\"Example OG\"><link rel=\"canonical\" href=\"https://example.com\"></head><body>Hello</body></html>"}'

Machine-readable contract: /api/tool/url-metadata-extractor.json All API endpoints: /agents/ LLM site index: /llms.txt

For AI agents: how to call this tool

Machine-readable contract, endpoints and examples. Humans can ignore this section.

Best Path For Builders

Dedicated API endpoint

Deterministic outputs, machine-safe contracts, and production-ready examples.

Dedicated API

https://aidevhub.io/api/url-metadata-extractor/

OpenAPI: https://aidevhub.io/api/openapi.yaml

GET /api/url-metadata-extractor/ GET url-metadata-extractor
POST /api/url-metadata-extractor/ POST url-metadata-extractor

Unified Runtime API

https://aidevhub.io/api/tools/run/?toolId=url-metadata-extractor&a=%3Chtml%3E%0A%20%20%3Chead%3E%0A%20%20%20%20%3Ctitle%3EExample%3C%2Ftitle%3E%0A%20%20%20%20%3Cmeta%20propert

GET and POST are supported at /api/tools/run/ with identical validation and limits.

Limit: 10 req / 60s, input max 512 KB.