Skip to main content

Schema markup generator

Create JSON-LD structured data for your pages. Pick a type, fill in the form, and copy the finished script tag.
Choose a schema type

Pick the schema type that matches your content

Enter your data
Fill in the fields to generate your schema.
Generated code
Copy this code into the <head> section of your website
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Organization",
  "address": {
    "@type": "PostalAddress",
    "addressCountry": "US"
  }
}
</script>
Test your schema
Check the generated code with the official tools.

Create schema markup with the generator

  1. Choose the type your page describes, for example Article for a blog post.
  2. Fill in the form. The tool leaves empty fields out of the code.
  3. The code appears immediately as a finished script tag.
  4. Copy it with the Copy button.

Which type fits which page?

TypeUse it forWhat you enter
OrganizationCompany page or home pageName, URL, logo, contact details, and address
LocalBusinessA business people can visitAlso business type, price range, and opening hours
ArticleBlog postHeadline, author, publisher, publish date, and update date
ProductProduct pagePrice, currency, availability, and SKU. Ratings only with a value and a count
FAQQuestions and answers (Google shows a rich result for them only on well-known government and health sites)Any number of pairs. The tool skips pairs where the question or answer is empty
EventEventStart, end, venue, organizer, and price
PersonAuthor or profile pageJob title, employer, and profile links, separated by commas

Add the markup and test it

The tool outputs the code inside a script tag with the type application/ld+json. Paste it into the head or the body of your page. In WordPress, use an HTML block in the post or add it through your theme.

Then check the result with Google's Rich Results Test and the Schema.org validator. Links to both are on this page.

You can generate several codes for one page, such as Article and FAQ, and add them one after the other. The tool writes dates as YYYY-MM-DD in the code. For events, the time is added. The tool does not add a time zone, so the time is written as entered, for example 2026-12-10T09:00. If Google should read it in a specific time zone, add the offset in the code yourself, for example +01:00.

What to know before you use it

  • The code has to match the visible content of the page. Describe only what visitors can see there.
  • The tool does not check your input for completeness. Google's test shows which fields a specific rich result needs.
  • For events, the tool uses US dollars unless the price field contains another currency symbol such as € or £.
  • You can type prices with a period or a comma, for example 19.99, 19,99, or 1,299.00. The tool outputs them with a period, as schema.org requires. For an ambiguous value like 1,299 and for an end date before the start date, it shows a note above the code.
  • Only enter ratings if the page shows real reviews.
  • Whether Google shows a rich result for your data is Google's decision. There is no guarantee.

Frequently asked questions

Everything about JSON-LD and structured data
What is JSON-LD?
JSON-LD stands for JavaScript Object Notation for Linked Data. It is a format for describing a page's content in a way search engines can read. Google recommends it for structured data.
Why would I add structured data?
Structured data tells search engines what a page is about, such as a product, an article, or an event. Google can use it for rich results, for example star ratings or prices. Since August 2023, Google shows FAQ rich results only for well-known government and health sites. Elsewhere, FAQ markup at most helps Google understand the page. Whether Google shows a rich result is Google's decision.
Where do I put the JSON-LD code?
Paste the script tag into the head or the body of your HTML page. In WordPress you can add it through an HTML block in the post, through your theme, or through an SEO plugin that accepts custom code.
Which schema type should I use?
Use the type that matches the page. Organization fits a company page, LocalBusiness a shop or office people can visit, Article a blog post, Product a product page, FAQ a list of questions and answers, Event an event, and Person an author or profile page.
How do I test the generated code?
Use Google's Rich Results Test at search.google.com/test/rich-results and the Schema.org validator at validator.schema.org. Both links are on this page. This tool does not validate the code itself.
Can I type prices with a decimal comma?
Yes. 19,99, 19.99, 1.299,00, and 1,299.00 all work, and the tool outputs the price with a period as schema.org requires. A value like 1,299 is read as 1299, and the tool shows a note above the code so you can check it.
Are my inputs sent anywhere?
No. The tool builds the code entirely in your browser. Your inputs are not sent to our server or to third parties.
Is the schema markup generator free?
Yes. It is free and needs no sign-up. You can use the generated code on your own site without restrictions from this tool.

Related tools

All tools

Changelog

Latest updates and improvements to the schema markup generator
v1.3.0

November 20, 2026

English version, numbers in ratings, FAQ note

  • • Added this English version of the tool
  • • Fixed: the rating value and the number of reviews were output as text. They are now output as numbers, as schema.org expects
  • • Fixed: a product's availability was missing from the code when no price was entered. It is now output without a price too
  • • Corrected: Google has shown FAQ rich results only for well-known government and health sites since August 2023. The FAQ and the guide now say so
  • • The FAQ explains that everything runs in your browser and nothing is sent
v1.2.0

November 18, 2026

Prices, currency, and notes

  • • Prices written with a decimal comma, such as 19,99, 1.299,00, or 19,99 €, are output with a period (19.99), as schema.org requires. The same applies to the rating
  • • The currency is output as a three-letter ISO 4217 code ("eur" becomes "EUR"). For events, a currency symbol in the price field decides the currency, otherwise the default currency is used
  • • Added a note above the code for ambiguous or invalid amounts, a different currency in the price, and an end date before the start date
v1.1.0

November 17, 2026

Guide and changelog correction

  • • Added a guide with instructions and use cases below the tool
  • • Added related tools at the end of the page
  • • Removed "code validation" from the v1.0.0 changelog, because the tool does not validate code
Show older versions
v1.0.0

December 8, 2025

Launch

  • • Organization schema generator
  • • LocalBusiness schema generator
  • • Article schema generator
  • • Product schema generator
  • • FAQ schema generator
  • • Event schema generator
  • • Person schema generator
  • • Live preview