JSON-LD generator

Service Schema Generator (JSON-LD)

Enter the service details shown on the service page. The JSON-LD updates as you work and stays in this browser.

01

Enter the details

Start with the page

Add the details that identify what this page describes.

Provider and service areaName the business that provides the service and where it is offered.
ProviderThe business that provides the service.
Areas servedAdd the cities, regions, or service areas named on the page.
Price and availabilityAdd the price and availability shown on the page.
PriceAdd a price only when the page shows one.
What each engine usesReview the documented search feature requirements that apply to this business type.

No Google feature rule in this tool covers Service. The markup still describes the page with schema.org, and other search engines and AI systems can read it.

Jump to the generated code
02

Live JSON-LD output

This code still contains example values. Replace them with details that appear on your page.
Google has no rich result for Service. Service is valid schema.org and describes what a business offers to any system that reads the page.

Most plugins and code fields want the version with the script tag. Use JSON-LD only when a field asks for the JSON by itself.

schema-service
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Service",
  "name": "Example Backpack Repair",
  "serviceType": "Backpack repair",
  "description": "A fictional repair service used to demonstrate Service JSON-LD fields.",
  "url": "https://example.com/services/backpack-repair/",
  "image": "https://example.com/images/backpack-repair.jpg",
  "provider": {
    "@type": "LocalBusiness",
    "name": "Example Works",
    "url": "https://example.com/"
  },
  "areaServed": [
    "Springfield"
  ]
}
</script>

How to add this code to WordPress, Shopify, Wix and other sites

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

03

How to use this generator

  1. Replace every example value with details shown on the service page.
  2. Name the business that provides the service and the areas it serves.
  3. Run Check this code and correct any errors.
  4. Paste the script-tag version into the page for this one service.

Where this code goes

Paste the script-tag version into the HTML of the page it describes, in the head or the body. Most site builders have a custom code or header field for this.

04

What this generator does

The form builds one Service JSON-LD node. The check reads JSON syntax and schema.org names. It cannot confirm indexing or promise a displayed search result.