Zahid Awais Get a free audit

Free structured data extractor

Paste the HTML source of a page and see every JSON-LD block, microdata item and RDFa item it contains, with each error pinned to a line.

By Zahid Awais · Schema generators · Free, private, no sign-up

The sample page is made up and has one deliberate mistake. Paste the source, not the URL: the tool never fetches anything and the HTML stays in your browser. Markup added later by JavaScript only appears in the rendered HTML, so copy that from your browser's developer tools if needed.

Result
0JSON-LD blocks
0Parse errors
0Schema types
    Types found
      Microdata items
        RDFa items
          Structured Data Extractor: what it does and an example result

          The free structured data extractor reads the HTML source of a page and lists every JSON-LD block, microdata item and RDFa item in it, with the schema types, how the entities nest and the exact line of any JSON error. It runs in your browser and fetches nothing.

          Quick answer

          A structured data extractor pulls the schema markup out of a page's HTML: JSON-LD script blocks, microdata (itemscope, itemtype, itemprop) and RDFa (typeof, property). It shows which types the page declares, how they nest and where a block fails to parse. Use it before Google's Rich Results Test, which checks eligibility for rich results.

          What is a structured data extractor?

          A structured data extractor is a tool that finds the machine readable markup inside a web page and shows it in a readable form. Google's introduction to structured data lists the three formats Google Search supports, JSON-LD, Microdata and RDFa, and says "Google recommends using JSON-LD for structured data if your site's setup allows it." A real page often mixes them, for example JSON-LD from an SEO plugin plus old microdata left in a theme.

          This extractor reads all three from pasted source code. Each JSON-LD block is parsed with a strict JSON reader, so a trailing comma, a curly quote or a missing bracket is reported with its line and column in your HTML, not just "invalid JSON". It then lists every @type and nested entity, so you can see at a glance whether the Article has an author, whether the publisher has a logo, or whether two plugins print the same type twice. To check a single JSON-LD snippet in more depth, use the JSON-LD validator.

          How do you use the Structured Data Extractor?

          How to use the Structured Data Extractor: enter details, see the result and copy it
          Real screenshot of the Structured Data Extractor with the example input from this page.
          1. Open the page in your browser, choose View page source, select everything and copy it.
          2. Paste the source into the box. The tool reads it straight away; nothing is uploaded or fetched.
          3. Read the counters: JSON-LD blocks, parse errors and the number of distinct schema types.
          4. Fix any error in the list. Each one names the block, the line and column in your HTML and the likely cause, such as a trailing comma.
          5. Check the entity tree and the microdata and RDFa lists for duplicates or missing pieces, then copy the JSON-LD or the full report.

          Why does the extractor show different markup from the live page?

          Because View source shows the HTML the server sent, while some sites add structured data later with JavaScript. Google says it can read JSON-LD that JavaScript injects, and its guide to generating structured data with JavaScript recommends testing with the URL input of the Rich Results Test rather than the code input. If a block is missing here, copy the rendered HTML from the Elements panel of your browser's developer tools and paste that instead.

          What causes a JSON-LD parse error?

          A parse error means the text between the script tags is not valid JSON, so no search engine can read any of the block. The usual causes are a comma after the last item in a list or object, curly quotes pasted from a word processor, single quotes instead of double quotes, a missing comma between two properties and an unclosed bracket. Search Console reports these pages under Unparsable structured data. This tool points to the exact character, so the fix normally takes one edit.

          Should a page use JSON-LD, microdata or RDFa?

          Use JSON-LD for new markup. Google supports all three formats and says they are equally fine when valid, but recommends JSON-LD where your setup allows it because it sits in one block apart from the visible HTML. Mixing formats is allowed. The real risk is duplication: a theme printing microdata for a Product while a plugin prints a JSON-LD Product with different prices. The types list shows each type with the format it came from, which makes such clashes easy to spot.

          Quick reference

          FormatHow it appears in HTMLWhat the tool reports
          JSON-LD<script type="application/ld+json"> blockPretty printed JSON, @types, nesting, errors by line and column
          Microdataitemscope, itemtype and itemprop attributesEach top level item with its properties and nested items
          RDFavocab, typeof and property attributesEach typeof item with its properties and nested items
          Wrong script typetype="application/json" holding schemaA warning, because it is not read as JSON-LD
          Open Graph<meta property="og:...">A count only, as these are social tags, not schema.org entities

          Worked example

          Example

          Example: the made up sourdough page in the box has 2 JSON-LD blocks, 1 microdata item and 1 RDFa item. The Article block parses and shows Article with author Person and publisher Organization, whose logo is an ImageObject. The BreadcrumbList block fails with "Trailing comma: remove the comma before ]" at line 26, column 113, which is the comma after the second ListItem. The microdata gives LocalBusiness with a nested PostalAddress, and the RDFa gives an Event. That makes 7 schema types and 1 parse error; the og:title tag is noted but not counted. Delete that one comma and the BreadcrumbList and its two ListItems appear too.

          Learn more

          Frequently asked questions

          Can the tool fetch a URL for me?

          No. It runs only in your browser and never makes network requests, so it cannot load other sites. Open the page yourself, copy the source with View source or from developer tools, and paste it in.

          Does a clean result mean Google will show a rich result?

          No. This tool checks syntax and structure, not Google's feature rules. Google's guidelines say it does not guarantee that structured data will show up in search results. Use the Rich Results Test for Google's eligibility checks.

          Why is a nested object marked without @type?

          The object has properties but no @type, so a reader cannot tell what it is. Schema.org values like an address work best as typed objects, for example PostalAddress. Add the type unless the property only expects plain text.

          Does it understand @graph and @id references?

          Yes. Items inside an @graph array are listed as separate top level entities, and an object that only holds an @id is shown as a reference, so you can follow how a WebSite points to its publisher Organization.

          Is my HTML stored or sent anywhere?

          No. Parsing happens in your browser with JavaScript. The HTML is never uploaded, logged or stored, so you can safely check staging pages, client sites and pages that are not live yet.

          Why does the tool say Open Graph tags are not counted?

          Open Graph tags use the RDFa property attribute but describe how a page looks when shared on social networks. They are not schema.org entities and do not feed Google's rich results, so the tool counts them separately.

          Sources

          Checked 23 Oct 2026. Facts checked against these official pages. Read how I check facts in my editorial policy.

          Related free tools

          All free tools

          JSON-LD Validator

          A JSON-LD validator is a tool that checks structured data written in JSON for Linked Data. It first parses…

          Article Schema Generator

          An article schema generator is a tool that writes schema.org Article structured data in JSON-LD. It collects…

          Product Schema Generator

          A product schema generator is a tool that writes schema.org Product structured data. It combines product…

          Want a full audit instead?

          Send your website and I will check it for you, free.

          Get my free audit
          Chat on WhatsApp
          Free updates

          Get new tools, guides and coupons first

          One short email when something new goes live: articles, free SEO tools, package updates, discounts and price alerts. No spam, unsubscribe in one click.