Schema Markup Generator

Build valid JSON-LD structured data for rich results — no code required.

Runs in your browserUpdated Built and maintained by Leon and Henrik

Pick a schema type, fill in a short form, and copy ready-to-paste JSON-LD structured data — built entirely in your browser, no code needed. Free. No sign-up. Runs in your browser, nothing is uploaded.

Schema Markup Generator

Schema type

Pick the type that matches your page, then fill in the fields below. Empty optional fields are left out of the output.

Questions & answers

Question 1
Question 2

Generated JSON-LD

Add at least one complete row to generate JSON-LD. Google needs more fields for rich results, so fill in as many as you can.

Paste this block into your page's <head> (or anywhere in the HTML). Then confirm it with Google's Rich Results Test. Everything is built locally — nothing is uploaded.

Runs in your browser
Nothing is uploaded

Choose a type, fill in the form, and copy a <script type="application/ld+json"> block that is ready to paste into your page. Empty optional fields are left out, the JSON is indented and escaped so it cannot break your HTML, and you can download it as a small .html snippet.

Before you spend time on markup, though, check which types still earn something visible in Google. That list has shrunk a lot since 2023.

Which schema types still get rich results in Google (2026)

Type in this generatorGoogle rich result todayWorth adding?
Article (as BlogPosting)Yes, ArticleYes for news and blog posts: helps Google pick up headline, image, author and dates
ProductYes, product snippets with price, availability and ratingsYes for any page that sells one item
LocalBusinessYes, local business detailsYes, alongside a Google Business Profile
EventYesYes for concerts, talks, webinars with a fixed date
RecipeYesYes, the recipe features depend on it
BreadcrumbListYes, breadcrumb path in the resultYes, cheap and stable
OrganizationYes, logo and organisation detailsYes on your home or about page
FAQPageNo, ended 7 May 2026Optional; valid markup but no Google snippet
HowToNo, retired in 2023Optional; no Google snippet
WebSite with SearchActionNo, the sitelinks search box was retired in 2024Add WebSite for your site name, skip the search URL
PersonNot on its ownUseful as the author inside an article or on a profile page

Google's search gallery is the authority here and it does change: check it before building a strategy around one feature.

Field formats that trip people up

Most validation errors come from formats, not from missing fields:

  • Dates must be ISO 8601. An article date is 2026-11-30; an event start is 2026-09-01T19:30, and adding the UTC offset (2026-09-01T19:30+01:00) removes any doubt about the time zone. "30 Nov 2026" or "7.30pm" will not validate.
  • Durations for recipes and how-tos are ISO 8601 durations: PT15M is 15 minutes, PT1H30M is 90 minutes. Writing "15 minutes" is the most common recipe error.
  • Prices are plain numbers with a dot: 19.99, not $19.99 or 19,99. The currency goes in its own field as a three-letter code such as USD, EUR or GBP; the generator upper-cases it for you.
  • Availability can be typed in plain words ("In stock", "pre-order", "sold out") and is turned into the full schema.org URL. Unrecognised text is dropped rather than written as an invalid value.
  • Opening hours use the compact schema.org text form Mo-Fr 08:00-18:00. It is valid schema.org; Google's local business documentation uses the more detailed openingHoursSpecification, which this form does not generate, so add that by hand if your hours are complicated.
  • URLs for images, logos and pages must be absolute, starting with https://.

Worked example: a product with an offer and a rating

Fill in Product name "Acme Wireless Mouse", Price 24.99, Currency usd, Availability "In stock", Average rating 4.6 and Review count 128. The generator outputs a Product with a nested Offer (price "24.99", priceCurrency "USD", availability https://schema.org/InStock) and an AggregateRating. Leave the currency empty and the whole offer disappears from the output, because an offer without a currency is not something Google can use. That is deliberate: a missing property is better than a guessed one.

Two rules keep the rating safe. The numbers must match reviews that visitors can actually read on the page, and ratings a business collects about itself on its own LocalBusiness or Organization page are not shown as stars by Google. Product pages are where ratings belong.

For the list-based types the form grows with your content. Breadcrumbs get a position number per level automatically (Home is 1), and a crumb with an empty URL is written without an item, which is correct for the current page at the end of the trail. FAQ rows without both a question and an answer are skipped, and how-to steps without text are ignored, so half-filled rows never reach the output.

Typical combinations per page

Most pages need one main block and a breadcrumb. Separate script blocks on the same page are fine; Google reads them all.

PageBlocks
Home pageOrganization (logo, social profiles) and WebSite (site name)
Blog post or news articleBlogPosting and BreadcrumbList
Product pageProduct with offer and rating, and BreadcrumbList
Shop, restaurant or practiceLocalBusiness on the contact or home page
Event pageEvent and BreadcrumbList
RecipeRecipe and BreadcrumbList

Before you paste anything, check what your CMS already outputs. SEO plugins and many themes write Article, Organization and BreadcrumbList markup on their own. Adding a second, hand-made BlogPosting then gives search engines two descriptions of the same article, often with different dates or authors. View the page source, search for application/ld+json, and only add what is missing.

Testing before you publish

Paste the URL or the code into Google's Rich Results Test to see which features the page is eligible for, and into the Schema.org validator to check the vocabulary itself, including types Google does not use. After launch, Search Console reports errors per feature as Google recrawls.

Structured data sits beside your title and description in the result, so get those right too: the meta tag generator writes the head tags, and the SERP snippet preview shows how the title and description will be cut on desktop and mobile.

Frequently asked questions