Skip to content
fixyour.page

Schema.org Generator

Generate JSON-LD structured data for 12 schema types.

Your data stays in your browser
e.g. $, $$, $$$
Address
Coordinates
Opening Hours
Hours Entry
JSON-LD Output
<!-- Fill in the form above -->

How to Use the Schema Generator

Pick a schema type from the dropdown. Fill in the fields. The generator builds valid JSON-LD structured data in real time. When you're done, copy the output and paste it into your page's <head> section. That's it. No account, no signup, no data leaves your browser.

Required fields are marked with an asterisk. The warning bar above the output tells you what's missing. Google won't guarantee rich results for incomplete markup, but the output is always valid JSON-LD regardless.

What Is JSON-LD Structured Data?

JSON-LD (JavaScript Object Notation for Linked Data) is the format Google recommends for adding structured data to web pages. It sits inside a <script> tag in your HTML and tells search engines exactly what your page is about: a business, a product, a recipe, an event, an article, or any of dozens of other types defined by Schema.org.

Unlike Microdata or RDFa, JSON-LD doesn't require you to sprinkle attributes throughout your HTML. It lives in one self-contained block. Add it to the head, and you're done. This separation makes it easier to maintain and less likely to break when you redesign your page.

If you came here for a microdata generator: this tool outputs JSON-LD, and only JSON-LD. The two formats describe the same schema.org types and properties. Microdata writes them as itemscope and itemprop attributes on your visible HTML. JSON-LD keeps them in one script block. Google reads both and recommends JSON-LD, because it's the easiest to maintain and the hardest to get wrong.

Why Structured Data Matters for SEO

Structured data makes your pages eligible for rich results: those enhanced search listings with star ratings, prices, recipe cards, event dates, and more. Rich results get higher click-through rates than plain blue links. They don't directly boost your rankings, but they make your listing more visible and more clickable, which compounds over time.

Google uses structured data to understand page content with less ambiguity. A page about "Apple" could be a fruit, a company, or a music label. Structured data removes the guessing. It's not a ranking factor in the traditional sense, but it helps search engines serve the right content to the right queries.

Which schema type should I use? +
It depends on your page content. LocalBusiness for physical storefronts. Product for e-commerce pages. Article for blog posts and news. FAQPage for FAQ sections. Recipe for cooking content. Organization for your company's about page. If your page doesn't fit any type well, don't force it. Only add structured data that accurately describes the content.
Where do I paste the JSON-LD code? +
Inside the <head> section of your HTML page, or just before the closing </body> tag. Google accepts it in either location. The head is the conventional spot. If you're using a CMS like WordPress, look for a "custom header scripts" option in your theme settings, or use a plugin that lets you inject code into the head.
How do I test if my structured data is valid? +
Use Google's Rich Results Test. Paste your page URL or the raw JSON-LD code and it'll tell you if the markup is valid, which rich result types you're eligible for, and whether any required properties are missing. Google Search Console also reports structured data errors under the Enhancements section once your pages are indexed.
Does adding schema guarantee rich results? +
No. Valid structured data makes you eligible for rich results, but Google decides whether to show them based on the query, your site's overall quality, and other factors. Think of it as a prerequisite, not a guarantee. That said, without structured data you're definitely not eligible. It's one of those things where the downside of not doing it is worse than the upside of doing it.
Can this generate microdata instead of JSON-LD? +
No. The output is JSON-LD only. Both formats use the same schema.org vocabulary, so a Product is a Product either way. Microdata spreads it across your HTML as itemscope, itemtype, and itemprop attributes. JSON-LD keeps it in one script block. Google supports JSON-LD, microdata, and RDFa, and recommends JSON-LD because it's the easiest to maintain. Unless something forces you onto microdata, use the JSON-LD.