HandyBench

Schema Markup Generator

Create JSON-LD structured data.

JSON-LD

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [
    {
      "@type": "Question",
      "name": "What is X?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "X is a thing."
      }
    }
  ]
}
</script>

How to use the Schema Markup Generator

  1. 1 Pick a schema type (FAQ, Article, Organization, Product, Breadcrumb).
  2. 2 Fill in the fields.
  3. 3 Copy the JSON-LD script into your page <head>.

What the generator produces

You choose one of five schema.org types, fill a few fields, and the tool wraps the result in a <script type="application/ld+json"> block ready to paste. JSON-LD is the format Google recommends because it sits apart from your visible HTML, so it is easy to add and maintain. Each type exposes only a handful of fields, so treat the output as a correct starting skeleton rather than a complete, fully-featured markup.

The five types and what each field maps to

TypeFields in this toolNotes
FAQPageQuestion, AnswerOne Q&A per generation
ArticleHeadline, Author, Image URL, Date published (YYYY-MM-DD)Author is output as a Person; date is omitted if blank
OrganizationName, URL, Logo URLBest placed on your homepage or about page
ProductName, Description, Price, CurrencyWraps price in an Offer; currency defaults to USD
BreadcrumbListLevel 1 to Level 3Names and positions only, no URLs

Which types still earn rich results

This matters more than generating the markup. In 2023 Google restricted FAQ rich results to well-known, authoritative government and health sites, so for most sites FAQPage markup no longer shows expandable questions in search. It remains valid and harmless, and other engines and AI systems may read it. HowTo rich results were deprecated the same year, which is why this tool does not offer HowTo. Breadcrumb markup can still replace the raw URL in the result with a readable trail. Product markup can show price and availability when it includes an offer, review or rating. Organization markup helps Google understand your entity and logo but is not guaranteed to produce a visible feature. Article markup has no dedicated rich result for most publishers, but supplies clean headline, author and date signals.

Worked example

Choosing Product with name "Trail Pack 30L", description "Lightweight hiking backpack.", price 89.00 and currency EUR produces:

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Product",
  "name": "Trail Pack 30L",
  "description": "Lightweight hiking backpack.",
  "offers": {
    "@type": "Offer",
    "price": "89.00",
    "priceCurrency": "EUR"
  }
}
</script>

Common mistakes and limits to know

  • Markup that does not match the page. Structured data must describe content visible to users. Marking up a price or answer that is not on the page risks a manual action.
  • Needing more than one FAQ. The generator emits a single question. For several, copy the Question object and add more entries inside the mainEntity array by hand.
  • Breadcrumbs without URLs. Google expects an item URL on each breadcrumb except the last. Add those properties before publishing.
  • Empty optional fields. A blank Image or Logo URL is still written as an empty string, so fill them or delete the line.
  • Skipping validation. Always run the result through Google's Rich Results Test and the Schema Markup Validator. Eligibility is not a promise of display.

For the broader picture of structured data alongside Open Graph, read the structured data and Open Graph guide. If you want to inspect or tidy the generated JSON, the JSON formatter is a quick way to do it.

Examples

  • ▸ Product with name "Trail Pack 30L", price 89.00 and currency EUR outputs an Offer with "price": "89.00" and "priceCurrency": "EUR".
  • ▸ Article with headline "How to Season a Cast Iron Pan", author "Dana Lee" and date 2025-03-14 outputs an author Person and "datePublished": "2025-03-14".
  • ▸ Breadcrumb with levels Home, Guides, Cast Iron outputs three ListItem entries at positions 1, 2 and 3.

Frequently asked questions

What is JSON-LD?

JSON-LD is the format Google recommends for structured data. It is a small script in your page that describes content so search engines can show rich results.

Where do I place the JSON-LD code?

Paste it inside a <script type="application/ld+json"> tag in the page <head> (or anywhere in the body). It is not visible to visitors — only search engines read it.

Will structured data guarantee rich results?

No. Valid markup makes a page eligible for rich results, but Google decides whether to show them. Test your markup with the Rich Results Test before publishing.

Does FAQ schema still show rich results in Google?

For most sites, no. In 2023 Google limited FAQ rich results to well-known government and health websites. The markup is still valid and can be read by other search engines, but do not expect expandable questions under your listing.

Why is there no HowTo schema option?

Google deprecated HowTo rich results in 2023, so generating it no longer earns a visible feature in search. The tool focuses on types that still have a purpose: Article, Organization, Product, Breadcrumb and FAQ.

How do I add more than one question to FAQ markup?

The generator outputs a single question and answer. Copy the Question object inside the mainEntity array and paste it again for each extra pair, keeping commas between the entries, then validate the result.

Related guides