Free URL to JSON Converter
Turn a web page URL or HTML into structured JSON: title, meta description, Open Graph tags, headings, links, images, schema.org JSON-LD and the page text, in one object.
By the Scrapier team · Free · No signup · URL or HTML · JSON download · Last updated
Sample result
The Wikipedia article "JSON" on 24 Oct 2026 returned one JSON object in 120 ms: 1 H1, 16 H2 and 11 H3 headings, 785 internal and 185 external links, 15 images, 1 schema.org block and 5,019 words of text.
| Input URL | en.wikipedia.org/wiki/JSON |
| Mode | URL, main content |
| Fetch time | 120 ms |
| Headings | 1 H1, 16 H2, 11 H3 |
| Links | 785 internal, 185 external |
| Images | 15 |
| json_ld | 1 block, @type Article |
{
"metadata": {
"title": "JSON - Wikipedia",
"canonical": "https://en.wikipedia.org/wiki/JSON",
"language": "en",
"open_graph": { "title": "JSON - Wikipedia", "type": "website" }
},
"headings": {
"h1": ["JSON"],
"h2": ["Contents", "Naming and pronunciation", "Standards", "History", …]
},
"word_count": 5019,
"links": { "internal": 785, "external": 185, "items": [ … 200 … ] },
"json_ld": [{ "@type": "Article", "name": "JSON", … }],
"text": "From Wikipedia, the free encyclopedia\n\nData-interchange format…"
}
Excerpt, shortened with …. The download also has url, final_url, fetched_at, twitter, images and the first 20,000 characters of text. Run on .
How to use the url to json converter
- Paste the page URL, or switch to Paste HTML to convert HTML to JSON.
- Press Convert to JSON. The tool parses the page into named fields.
- Copy the JSON or download it as a .json file.
What you get
One JSON object per page, with the same named fields every time.
| Field | What it contains | Example |
|---|---|---|
| metadata | title, description, canonical, language, Open Graph and Twitter tags | "title": "JSON - Wikipedia" |
| headings | Every H1, H2 and H3, in order | "h2": ["Contents", "Naming and pronunciation", …] |
| links / images | Internal and external link counts and the first 200 links; up to 100 images with alt text | "internal": 785, "external": 185 |
| json_ld / text | schema.org blocks found on the page, and the main text | "@type": "Article" |
Main content
The text and word_count fields hold <main> or <article> only. Metadata, headings, links and images always come from the whole page.
Full page
The text field holds all visible text, menus and footers included. Pick it to audit every word on the page.
Who it is for
Developers and QA teams
Check what a page exposes (meta tags, canonical, structured data) and feed it into tests or monitoring as JSON.
Data and analytics teams
Turn pages into rows: one JSON object per URL, with the same fields every time.
SEO and content teams
Audit titles, descriptions, heading structure, Open Graph tags and schema.org markup on one screen.
Common uses
- Run an on-page SEO check: title length, meta description, canonical, H1 count and schema.org types in one view.
- Check how a page will look when shared: the Open Graph and Twitter card fields are listed together.
- Validate structured data: see every JSON-LD block a page ships, parsed.
- Seed a dataset: convert a list of pages into the same JSON shape and load them into a database or notebook.
- Give an LLM a compact, labelled summary of a page instead of raw HTML.
How it compares
This tool: Named fields for meta, headings, links, images and schema.org. Watch out for: Fixed fields; one page at a time. Other methods, and the case where each one fits:
Browser dev tools
Good at: Everything is there. Watch out for: Manual; nothing structured to export.
SEO crawlers
Good at: Whole-site audits. Watch out for: Desktop installs or paid plans.
Writing a parser
Good at: Exactly the fields you want. Watch out for: You maintain selectors as pages change. The same job in a few lines of Python, for when you need to run it on many pages.
import json, requests
from bs4 import BeautifulSoup
url = "https://example.com"
soup = BeautifulSoup(requests.get(url, timeout=15).text, "html.parser")
meta = lambda n: (soup.find("meta", attrs={"name": n}) or {}).get("content")
page = {
"title": soup.title.string if soup.title else None,
"description": meta("description"),
"headings": {h: [t.get_text(strip=True) for t in soup.find_all(h)] for h in ("h1", "h2", "h3")},
"links": [a["href"] for a in soup.find_all("a", href=True)],
"json_ld": [json.loads(s.string) for s in soup.find_all("script", type="application/ld+json") if s.string],
}
print(json.dumps(page, indent=2))Scrapier API for platform data
Typed JSON from 35 platforms at volume, or inside an AI agent: see Use the API instead below.
| Method | Pages | JavaScript pages | Named fields | Effort |
|---|---|---|---|---|
| This tool | 1 per run | No | Yes | None |
| Browser dev tools | 1 | Yes | No | Manual |
| SEO crawlers | Whole sites | Varies | Yes | Install or paid plan |
| Writing a parser | Many | Your code | Yes | Write and maintain |
Limits and tips
- The text field holds the first 20,000 characters of the main content; use the Website to Text Converter for the full text.
- Links are counted in full but only the first 200 are listed; the URL Extractor lists every link.
- Paste HTML to convert pages you can only reach when logged in.
- Reads the HTML a server sends. Pages that build their content with JavaScript in the browser can come back short or empty; paste the rendered HTML instead (in your browser: right-click, Inspect, copy the
<html>element). - Public pages only: no logins, paywalls or private content.
- Respects robots.txt. If a site asks automated tools not to fetch a page, the tool stops and says so.
- One page per run, up to 3 MB of HTML. 30 runs per hour per visitor.
Use the API instead
The free tool reads one page at a time. Scrapier's API returns typed JSON from Instagram, TikTok, Amazon, Google Maps and 31 more platforms: 199 endpoints, billed per successful call. It does not fetch arbitrary pages; it gives you the platform data directly, over REST or as an MCP tool inside an AI agent.
curl -G "https://proxy.scrapier.io/api/v2/linkedin-company-about/" \ -H "X-API-Key: YOUR_API_KEY" \ --data-urlencode "urls=https://www.linkedin.com/company/google" # → typed JSON, 1 credit per successful call; failed calls are free
import requests r = requests.get("https://proxy.scrapier.io/api/v2/linkedin-company-about/", headers={"X-API-Key": "YOUR_API_KEY"}, params={"urls": "https://www.linkedin.com/company/google"}) print(r.json())
"Get the industry, size and headquarters of these 5 companies from LinkedIn."
→ 5 successful calls, 1 credit each: 5 credits. Failed calls are free.
| Free tool | Scrapier API | |
|---|---|---|
| Reads | Any public web page, or HTML you paste | 199 endpoints on 35 platforms |
| Output | Page fields as JSON | Typed JSON per endpoint |
| Pages | 1 per run | Many, up to 3 parallel requests per key |
| Rate limit | 30 runs/hour per visitor, 3 MB per page | Your plan's credits; 429 with Retry-After if you go too fast |
| Signup | None | API key; a free tier is available |
| Price | Free, no signup | Per successful call, failed calls free. From $29/mo for 15,000 credits |
Safe and legal use
Fetching a public page is the same request a browser makes. The tool respects robots.txt, refuses private and local network addresses, and does not store the pages it reads or the HTML you paste. The site's terms and copyright govern how you reuse what you extract. Not legal advice; see our Terms of Use and Privacy Policy.
Frequently asked questions
Is the URL to JSON converter free?
Yes. No signup and no charge, up to 30 runs an hour per visitor.
What does the JSON include?
metadata (title, description, canonical, language, Open Graph and Twitter tags), headings (H1 to H3), links (counts plus the first 200), images (up to 100 with alt text), json_ld (schema.org blocks) and text (the main content).
Can I convert HTML to JSON?
Yes. Switch to Paste HTML and paste the source. The same fields are returned.
Can I choose my own fields?
Not in the free tool; the fields are fixed so every page returns the same shape. To pick fields, adapt the Python example on this page.
Does it work on JavaScript-heavy pages?
It parses the HTML the server sends and does not run JavaScript. Paste the rendered HTML for pages built in the browser.
Do you have JSON APIs for specific sites?
Yes. For Instagram, TikTok, Amazon, Google Maps and 31 more platforms, Scrapier's API returns typed JSON per platform: 199 endpoints, billed per successful call.
Structured data from 35 platforms, one key.
199 endpoints that return typed JSON. Billed per successful call; failed calls are free.