What is Structured Data Generator?

Structured Data Generator creates valid JSON-LD schema markup for your website. Select a schema type (Article, Product, FAQ, Recipe, Event, and more), fill in the fields, and get copy-ready markup that helps search engines understand your content.

Each schema type lists exactly the fields Google's rich-results test checks, so filling them in produces markup that's valid against schema.org and ready for things like recipe rich results, FAQ accordions in search, product price snippets, or event date cards. The output is a script tag of type application/ld+json that you paste into your page's head.

How to use

  1. Select the schema type that matches your content (Article, Product, FAQ, etc.).
  2. Fill in the required and optional fields for the selected schema.
  3. Copy the generated JSON-LD code and paste it into your page's head section.

When to use

  • Adding FAQ schema to a help article so individual questions appear directly in Google results.
  • Marking up a product page with price, availability and review stars for rich snippets.
  • Publishing an event so the date, venue and ticket link show in Google's event panel.

Result

A food blogger selects the Recipe schema, enters the recipe name, cook time (30 min), ingredients list, and nutrition info — then copies the JSON-LD to their blog post for rich search results.

FAQ

Where do I paste the generated code on my page?
Inside the head tag, ideally near the top. Some teams put it just before the closing head tag. It can also live anywhere in body, but head is the convention Google's documentation recommends and is easier to find when auditing.
How do I check the output is actually valid?
Paste your page URL or the JSON-LD itself into Google's Rich Results Test (search.google.com/test/rich-results) or the Schema Markup Validator at validator.schema.org. Both flag missing required fields and warn about recommended-but-missing properties.
Will adding schema markup guarantee rich snippets in Google?
No. Valid markup makes you eligible. Google chooses whether to actually show rich results based on the page's authority, the searcher's intent, and whether the content is genuinely useful. Fake reviews or hidden FAQ content can get a site flagged.
Can I add multiple schema types to the same page?
Yes. A blog post can have an Article schema and a BreadcrumbList; a product page can have Product, Offer and AggregateRating. Add each as a separate script tag block, or combine them in an @graph array under one block.
What's the difference between JSON-LD and microdata?
Both encode the same schema.org vocabulary. Microdata sprinkles attributes throughout the HTML (itemprop, itemscope), while JSON-LD is a single script block separate from the visible markup. Google recommends JSON-LD because it's easier to maintain.

Related Tools