Create WebSite structured data

Site owners and content creators can use this before publishing a page or preparing it for sharing. Create WebSite structured data.

Create WebSite structured data. The result appears instantly in your browser, ready to copy, with no account, upload or storage involved.

How to use

  1. Enter the site name on the first line of the field, exactly as it should appear in the structured data.
  2. Put the site address on the next line, then the description on the third line.
  3. Run the generator and the JSON-LD output appears, ready to be added to a page.
  4. Copy the block into the head of your page, following whatever method your content management system recommends.
  5. Check the markup with a structured data testing tool before you publish the page.

Example

The sample describes a demonstration site with its address and a short presentation. After generating, compare the output values with what you typed: the name, the address and the description should appear unchanged in the block produced.

Input

Example site
https://exemple.com
A few demonstration pages used for testing.

Output

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "WebSite",
  "name": "Example site",
  "url": "https://exemple.com/",
  "description": "A few demonstration pages used for testing."
}
</script>

Limits and formats

Where processing happens

Generation takes place in your browser from the few lines you type. Nothing is sent anywhere and nothing is kept once the page is closed, even when you are describing a site that has not been announced yet.

Frequently asked questions

Where should I put the generated code?

The JSON-LD block belongs in the head of the page it describes, usually through a dedicated field in your content management system or theme. Check your platform documentation for the exact procedure.

Can I describe several pages with one block?

This block describes the site as a whole rather than one specific page. Content such as articles or product sheets needs other kinds of structured data suited to the nature of each page.

How can I tell whether my markup is correct?

Paste the output into a structured data testing tool, which reports missing or badly formed fields. Also read the values yourself: a wrong address passes syntax checks while staying wrong.

Tools in the same category