BigTool

Schema Markup Generator (JSON-LD)

Choose a schema type, fill in a simple form and get valid JSON-LD structured data to paste into your page. Missing required fields are flagged, and empty fields are left out automatically.

Google stopped showing FAQ rich results in Search on May 7, 2026. FAQPage markup is still valid schema.org data that other search engines and tools can read, but it won't create expandable FAQ results on Google.

Question 1
Question 2

JSON-LD

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [
    {
      "@type": "Question",
      "name": "Do you offer free shipping?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Yes. Orders over $50 ship free within the US and Canada."
      }
    },
    {
      "@type": "Question",
      "name": "What is your return policy?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "You can return unused items within 30 days for a full refund."
      }
    }
  ]
}
</script>

Paste it into the page's <head> or body, then check it with Google's Rich Results Test or the Schema Markup Validator.

Structured data without writing JSON by hand

Search engines read your pages, but they have to guess what the content means. Structured data removes the guesswork by describing the page in a standard vocabulary from schema.org: this is a local dentist with these opening hours, this is a product that costs $49 and is in stock, this article was written by this person on this date. Google uses structured data to understand pages and can show enhanced results such as product prices, ratings and business details. This generator turns a simple form into valid JSON-LD you can paste into your page.

How to generate schema markup

  1. Choose a type: Local Business, Article, Product or FAQ.
  2. Fill in the form. Fields marked with an asterisk are required; the rest are recommended.
  3. Watch the “Still needed” note, which lists anything missing for that type.
  4. Copy the JSON-LD script and paste it into your page’s HTML — in the head or body both work.
  5. Test the page with Google’s Rich Results Test or the Schema Markup Validator.

Empty fields are left out automatically, and your entries are saved in this browser.

The schema types

  • Local Business — for shops, restaurants, clinics, agencies and other businesses with a physical location. Google requires a name and address, and recommends phone, opening hours, URL, geo coordinates and price range.
  • Article — for blog posts and news. Headline, image, author, publisher and published and modified dates help Google show the right title, image and date.
  • Product — for product pages. Google requires the product name plus a price offer, a review or an aggregate rating. Add availability, currency and condition for richer results.
  • FAQ — question and answer pairs. Note that Google stopped showing FAQ rich results in Search on May 7, 2026, so this type no longer produces expandable FAQs on Google, though the markup is still valid schema.org data.

Why JSON-LD?

Structured data can be written as JSON-LD, Microdata or RDFa. JSON-LD is a self-contained script block, so it doesn’t tangle with your visible HTML and is easy to add with a CMS, a tag manager or a framework. It’s the format Google recommends. The generator also escapes the “<” character, so text in your data can never break out of the script tag.

Rules to follow

  • Only mark up content that’s visible on the page — prices, ratings and hours must match what visitors see.
  • Don’t add fake or self-written reviews; review markup should reflect genuine customer reviews.
  • Keep structured data up to date when prices, stock or opening hours change.
  • Valid markup makes a page eligible for rich results, but Google decides whether to show them.

Pair your structured data with strong titles and descriptions from the Meta Tags Generator, preview the result with the SERP Snippet Preview, and tidy any JSON with the JSON Formatter.

Frequently asked questions

What is schema markup?

Schema markup is structured data, written in the schema.org vocabulary, that describes what a page is about — a business, a product, an article — in a format search engines can read reliably. It can make pages eligible for rich results such as star ratings and prices.

Why JSON-LD?

JSON-LD is a separate script block, so you don't have to change your visible HTML. It's the format Google recommends for structured data.

Does FAQ schema still show in Google?

No. Google announced that FAQ rich results would stop appearing in Search from May 7, 2026. FAQPage markup is still valid schema.org data that other tools can use, but it no longer creates expandable FAQ results on Google.

What does LocalBusiness schema require?

Google requires a name and an address. Phone number, opening hours, geo coordinates, URL and price range are recommended and help your business details appear correctly.

Will structured data guarantee rich results?

No. It makes a page eligible, but Google decides whether to show rich results. Markup must also match what's visible on the page — adding ratings or prices that aren't shown can lead to a manual action.