Start a project

Tool 101 of 244 · 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 at a glanceIllustration: 1, Business details; 2, processed in your browser; 3, JSON-LD.JSON-LD Schema Generator1Business details</>3JSON-LD2In yourbrowser
1 Business details 2 processed on your device 3 JSON-LD

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 it works

    1. InputA form for the type you choose
    2. In your browserschema.org JSON-LD assembled and checked
    3. OutputA script tag ready for the page head

    Where it fits in a designer's workflow

    1. Plan
    2. Design
    3. Build
    4. Test
    5. Launch
    During build, once the page content is settled.

    By the numbers

    Most-used schema.org types in leej.uk's own JSON-LDListItem: 396; Question: 231; Answer: 231; Person: 102; WebPage: 102; BreadcrumbList: 101; DefinedTerm: 84; WebApplication: 64ListItem396Question231Answer231Person102WebPage102BreadcrumbList101DefinedTerm84WebApplication64
    Counted across every page on this site at build time. Structured data is mostly lists, people, pages and FAQs: the same handful of types the generator covers. Source: schema.org; Google Search Central: structured data.
    Show the numbers as a table
    @typeTimes used
    ListItem396
    Question231
    Answer231
    Person102
    WebPage102
    BreadcrumbList101
    DefinedTerm84
    WebApplication64

    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