Graph builder

Schema Graph Builder (@graph)

Combine separate JSON-LD blocks into one connected @graph. Everything stays in this browser.

01

Set the site address

02

Add nodes

Saved from the generatorsNothing saved yet. Use Add to graph builder in any generator.
Add a site or page node
03

Review the nodes

No nodes yet. Add a node above.

    04

    Connect the nodes

    Add two or more nodes with @id values to see the connections that fit.

    Jump to the generated code
    05

    Combined @graph

    Add at least one node to build the graph.

    Add the code to your site

    Copying the code is half the job. Choose where your site is built to see where the code goes, which version to copy and what to check so you do not end up with two blocks describing the same thing.

    Before you paste, on any platform

    1. Open the live page, view its source and search for application/ld+json. Many themes, plugins and site builders already add markup.
    2. If a block already describes the same thing, correct that block or turn it off instead of adding a second one.
    3. Make sure every value in the code is also visible on the page.
    4. After you publish, test the live URL with the Schema checker and Google's Rich Results Test.

    Choose your platform. Use the arrow keys to move between platforms.

    WordPress block editor

    Copy the "With script tag" version.

    1. Open the page or post in the block editor.
    2. Add a Custom HTML block, paste the code and update the page.
    3. View the published page source to confirm the script element is there.
    4. For markup that belongs on every page, such as Organization, use a child theme or a site-specific plugin instead of a block on each page.

    WordPress removes script elements from the Custom HTML block for users without the unfiltered_html capability. On a single site, Administrators and Editors have it; on a multisite network, only Super Admins do.

    Read the WordPress schema guide

    06

    How to use this tool

    1. Enter the site address.
    2. Add nodes from the generators, by pasting code, or with the WebSite and WebPage buttons.
    3. Give every node an @id, then tick the connections that are true.
    4. Run Check this code, then replace the separate blocks on the page with this one.
    07

    What this tool does

    The builder places every node in one @graph and writes @id links between them. The check reads JSON syntax, schema.org names, and documented Google feature requirements.