Zahid Awais Get a free audit

Free JSON-LD validator

Paste JSON-LD schema to catch syntax errors and missing properties before you publish.

By Zahid Awais · Developer and web tools · Free, private, no sign-up

Result
0Typed items
0Errors
0Warnings

    Offline syntax check only. Confirm eligibility in Google's Rich Results Test.

    JSON-LD Validator: what it does and an example result

    The free json ld validator runs in your browser, needs no sign-up and never sends what you type anywhere.

    Quick answer

    This JSON-LD validator parses your structured data in the browser, points to the exact line of any syntax error, and checks @context, @type and the properties Google commonly expects for types like Article, Product, FAQPage and BreadcrumbList. Rule of thumb: fix every syntax error here, then confirm eligibility in Google's Rich Results Test.

    What is a JSON-ld validator?

    A JSON-LD validator is a tool that checks structured data written in JSON for Linked Data. It first parses the code as strict JSON, then walks every object to confirm it has a schema.org @context, a @type and the key properties for that type.

    How do you use the JSON-LD Validator?

    How to use the JSON-LD Validator: enter details, see the result and copy it
    Real screenshot of the JSON-LD Validator with the steps marked.
    1. Paste your JSON-LD, with or without the surrounding script tag.
    2. Read the result box: a syntax error shows the line and column to fix.
    3. Review the warnings for missing @context, @type or recommended properties.
    4. Copy the cleaned, formatted JSON-LD back into your page.
    5. Run the live URL through Google's Rich Results Test to confirm eligibility.

    How do I validate JSON-LD for Google?

    Check the syntax first, then test the page in Google's Rich Results Test, which shows which rich result types are eligible. The Schema Markup Validator checks general schema.org usage. Google's structured data guidelines also require the markup to match visible page content.

    Why is my JSON-LD invalid?

    The most common causes are trailing commas, curly quotes pasted from a word processor, missing commas between properties and unescaped double quotes inside text. JSON also does not allow comments or single quoted strings. Any one of these stops the whole script from being read.

    Does valid JSON-LD guarantee rich results?

    No. Valid markup only makes a page eligible, and Google decides whether to show a rich result based on quality, relevance and its policies. Content must be visible to users, and some types such as FAQ rich results are now shown only for a limited set of sites.

    Quick reference

    Schema typeProperties checkedNote
    Article / BlogPostingheadline, image, author, datePublishedRecommended by Google, not strictly required
    Productname plus offers, review or aggregateRatingGoogle needs at least one of the three
    FAQPagemainEntity, Question name, acceptedAnswer textMust match the visible FAQ
    BreadcrumbListitemListElement, position, name, itemLast item may omit item
    Organization / LocalBusinessname, url, logo or addressUse absolute URLs
    Event / JobPostingstartDate, location / title, datePosted, hiringOrganizationDates in ISO 8601

    Worked example

    Example

    Example: a pasted Product block has a trailing comma after "price": "49.00", so parsing stops with an error on the next line. After removing the comma, the validator finds 2 typed items (Product and its Offer), confirms the key properties are present, and warns that image should be an absolute URL instead of /img/shoe.jpg.

    Frequently asked questions

    What is the difference between JSON-LD and Microdata?

    JSON-LD places structured data in a separate script block, while Microdata adds attributes to the visible HTML. Google supports both, plus RDFa, and says it generally recommends JSON-LD because it is easier to add and maintain without touching page layout.

    Can I paste the whole script tag?

    Yes. The validator removes an opening script tag with type application/ld+json and the closing tag before parsing. If you paste several script blocks, validate them one at a time, because each block must be valid JSON on its own.

    Does this tool check every schema.org property?

    No. It checks JSON syntax, @context, @type and a short list of properties that Google documents for common rich result types. It is an offline first pass, so always confirm with the Rich Results Test and the official documentation for your type.

    Should @context use http or https?

    Both http://schema.org and https://schema.org are accepted by Google. Using https://schema.org is the common modern choice. The validator only warns if @context is missing or points somewhere other than schema.org.

    How do I handle multiple items with @graph?

    Put the shared @context at the top and list each entity inside a @graph array, linking them with @id references. This validator reads @graph arrays and plain arrays, and counts each typed object separately in the results.

    Is my markup sent to Google or anyone else?

    No. Parsing and checks run entirely in your browser with JavaScript, and nothing is uploaded or stored. That makes it safe for unreleased pages, but it also means it cannot fetch a live URL for you.

    Sources

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

    Related free tools

    All 104 tools

    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…

    JSON Formatter

    A JSON formatter is a tool that parses JavaScript Object Notation text and prints it back with consistent…

    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.