WebSite Schema Generator

Fill in your site's name, alternative name and home page, and get WebSite structured data in JSON-LD for your home page, so search engines show the right site name.

  • Free daily uses
  • Runs in your browser
  • No sign-up needed

Last updated

Plan: FreeView packages →

Made in your browser. What you type is not uploaded.

100 of 100 copies left today
WebSite
Details
The address of your search results, with {search_term_string} where the search words go.
Checks2 to fix
  • Details: Site name is required.
  • Details: Home page URL is required.
JSON-LD code

Paste the code into the <head> of the page it describes (or anywhere in its <body>), then test it with Google.

Guide

How to create WebSite structured data

Three steps from a filled-in form to code you can paste into your page.

  1. Fill in the form

    Fill in the fields for your page. Fields marked Required are needed for Google's rich results; Recommended ones make the result richer. Click Fill in an example to see a complete WebSite.

    The WebSite form filled in with an example.The WebSite form filled in with an example.
  2. Check the problems

    The Checks box lists anything to fix in red, such as a missing field or a web address without https://, and suggestions in amber. When everything is right, it turns green.

    The Checks box listing problems to fix and suggestions.The Checks box listing problems to fix and suggestions.
  3. Copy the code

    Click Copy code and paste it into the HTML of your page, then test the page with Google's Rich Results Test.

    The JSON-LD code for the WebSite, with the Copy code and Download buttons and links to Google's Rich Results Test and the Schema.org validator.The JSON-LD code for the WebSite, with the Copy code and Download buttons and links to Google's Rich Results Test and the Schema.org validator.

Good to know

  • Nothing is uploadedThe code is made in your browser. What you type never leaves your device.
  • Daily usesEach copy or download of new code counts once. Copying the same code again is free.
  • Match the pageOnly mark up information that visitors can see on the page itself.

Frequently asked questions

What does WebSite markup do?

It tells Google the preferred name of your site, which Google may show above your results instead of the domain. Add it to your home page only.

Is the search box (SearchAction) still useful?

Google removed the sitelinks search box from its results in 2024, so the search URL is optional. It is still valid schema.org, and other services may use it.

What should the search URL look like?

The address of your search results page, with {search_term_string} where the search words go, such as https://example.com/search?q={search_term_string}.

Where do I put the code?

Paste the whole <script type="application/ld+json"> block into the HTML of the page it describes, ideally in the <head>; the <body> works too. In WordPress, use your SEO plugin's custom schema box or a plugin that adds code to the head of one page. Then check the page with Google's Rich Results Test.

Does structured data guarantee rich results?

No. Correct structured data makes a page eligible, but Google decides whether to show a rich result. The information in the code must also be visible on the page itself: don't mark up questions, prices or reviews that visitors can't see.

Is what I type uploaded or stored?

No. The code is made in your browser and nothing you type leaves your device. When you copy or download the code, our server only records that one use happened, so the daily limit can be applied. Copying the same code again is free.

More schema generators