Start a project

Tool 21 of 29 · SEO

JSON-LD Schema Generator

Fill in a short form and get valid JSON-LD for your local business, articles, products, events or FAQs, with checks for the fields search engines need.

JSON-LD Schema Generator

Your details

Checks

    Based on Google's structured data guidelines. Schema helps search engines understand a page; it doesn't guarantee a rich result.

    Your schema

    Paste into the page's HTML
    JSON only

    01

    What it does

    Structured data for local businesses, FAQs, articles, products and events, with hints from Google's guidelines.

    • LocalBusiness and nine more specific types
    • FAQPage, Article, Product and Event
    • Opening hours, address, offers and ratings
    • Required and recommended field checks

    02

    Private by design

    Everything happens in your browser. Nothing you type, paste or upload is sent anywhere, and it keeps working offline once the page has loaded.

    03

    What you get

    JSON-LD, with a Copy and a Download button on every result.

    • JSON-LD
    • Schema.org
    • SEO

    Why it matters

    Structured data tells search engines exactly what a page is about: the business's address and opening hours, an event's date, a product's price. It's how sites qualify for rich results such as product prices and event listings in Google, and it helps AI assistants answer questions about you correctly.

    JSON-LD is the format Google recommends, but it's easy to get a field name or date format wrong. This generator writes it for you and checks it against Google's published requirements, flagging what's missing before you publish.

    How to use it

    1. Choose the type of page.
    2. Fill in the fields. Required ones are marked; the checks update as you type.
    3. Fix anything flagged in red, and add the recommended fields where you can.
    4. Paste the script tag into the page, then test it with Google's Rich Results Test.

    FAQ

    Will this get me rich results?

    It makes the page eligible, but Google decides when to show them. Since 2023, FAQ rich results only appear for well-known government and health sites, though the markup still helps search engines and assistants understand the page.

    Where do I put the code?

    Anywhere in the page's HTML, usually the <head>. It doesn't change what visitors see.

    Can I add more than one type?

    Yes. Add a separate script tag for each, or combine them in an @graph array.

    Can I add reviews and ratings?

    Only real ones shown on the page. Marking up ratings you've written yourself breaks Google's guidelines, and fake reviews are illegal in the UK.

    Work with me

    Want a site that gets these right?

    I build fast, accessible websites and web apps that pass these checks from day one. Tell me about your project and I'll reply personally with honest next steps.

    All developer tools · Back to leej.uk