Schema Markup Generator (JSON-LD)
Pick a schema type, fill in the fields and copy ready-made JSON-LD for your page. The generator covers the types most sites need: Organization, LocalBusiness, Article, FAQPage, BreadcrumbList, Person and Product with an Offer. Empty fields are left out, and warnings flag missing essentials. Always test the result in Google’s Rich Results Test before publishing.
Schema Markup Generator (JSON-LD)
Your JSON-LD
Paste the code into the page’s <head> or <body>, then test it with Google’s Rich Results Test and the Schema Markup Validator. Markup must describe content users can see on the page.
Runs in your browser. Nothing you enter is uploaded or saved.
How to use this tool
- Choose a type. Select the schema type that describes the main content of the page.
- Fill in the fields. Enter details exactly as they appear on the page. Add rows for FAQs or breadcrumb levels.
- Copy the code. Copy the generated script block and paste it into the page’s HTML.
- Test it. Run the URL or code through the Rich Results Test and the Schema Markup Validator, and fix any errors.
Why JSON-LD?
JSON-LD sits in a <script type="application/ld+json"> block, separate from your HTML, so it is easy to add and maintain. Google recommends it over Microdata and RDFa where your setup allows.
Markup must match the page
Structured data should describe content that users can actually see. Marking up hidden text, fake reviews or prices that differ from the page breaks Google’s guidelines and can lead to a manual action.
Valid markup is not a guarantee
Passing the Rich Results Test makes a page eligible for rich results, but Google decides whether to show them. Markup also helps search engines and AI systems understand entities on the page.
Frequently asked questions
Where should I put the JSON-LD code?
In the page’s head or body. Many CMSs and SEO plugins provide a field for custom code; check the plugin is not already outputting the same type.
Can a page have more than one schema type?
Yes. For example, an article page can have Article and BreadcrumbList blocks. Make sure each describes something on that page.
Does schema markup improve rankings?
Google says structured data is not a general ranking factor. Its value is in eligibility for rich results and clearer understanding of the page.
Which date format should I use?
ISO 8601, such as 2026-11-10 or 2026-11-10T09:00:00+05:30. The date fields in this tool output the date-only form.