Text Toolbox

How to Add Schema Markup (JSON-LD) to Your Site (2026)

By Marcus Reed · ·

Structured data is how you tell Google exactly what a page is — an article, a product, an FAQ — so it can show rich results like star ratings and FAQ accordions. The Schema Markup Generator builds valid schema.org JSON-LD for Article, Organization, FAQ, and Product types from a few fields, ready to paste into your page head. Here’s what schema does and how to add it correctly.

What Is Schema Markup?

Schema markup is structured data added to a web page that helps search engines understand the content in a machine-readable format. Google uses schema.org vocabulary to power rich results — enhanced search listings that may include star ratings, FAQ accordions, breadcrumbs, product prices, and event details. The recommended format is JSON-LD (JavaScript Object Notation for Linked Data), which sits in a <script type="application/ld+json"> tag in the page head. Adding schema markup does not change the visible page but can significantly increase click-through rates by making your listing more prominent and informative in search results.

How to Use Our Schema Markup Generator

  1. Open the Schema Markup Generator and choose a schema type: Article, Organization, FAQ, or Product.
  2. Fill in the relevant fields — each schema type has its own set of required and optional properties.
  3. Watch the JSON-LD structured data generate live below.
  4. Click Copy and paste the <script> tag into your page’s <head>.

Example Schema Types

TypeUse CaseKey Properties
ArticleBlog posts and newsheadline, datePublished, author, image
OrganizationCompany or brandname, logo, url, sameAs (social)
FAQQ&A contentmainEntity (Question/Answer list)
ProductE-commerce itemsname, description, offers, brand, review

Common Use Cases

  • Blog posts — add Article schema to every post for eligibility in Google’s Top Stories and rich snippets.
  • About pages — use Organization schema to define your company name, logo, and social profiles.
  • FAQ sections — wrap FAQ content in FAQ schema to display expandable results directly in search.
  • Product pages — add Product schema for price, availability, and review star ratings in search listings.

FAQ

What is JSON-LD?

JSON-LD is a lightweight format for embedding structured data in a script tag. Google recommends JSON-LD over other formats like Microdata or RDFa because it is easier to implement and does not change the visible HTML.

Does schema markup guarantee rich results?

No. Valid structured data makes your page eligible for rich results, but Google decides whether to show them based on relevance, content quality, and other factors. Correct markup is a necessary but not sufficient condition.

How do I test my schema after adding it?

Use Google’s Rich Results Test and the Schema.org validator to confirm your JSON-LD is error-free and eligible for the rich result you are targeting.

Where exactly do I put the JSON-LD?

Paste the whole <script type="application/ld+json"> block into the page’s <head> (Google also reads it elsewhere in the HTML). Use one block per schema type, and include several on the same page only when each genuinely applies to that page.


Want richer search listings? Generate the JSON-LD in the Schema Markup Generator, paste it into your head, and confirm it with Google’s Rich Results Test before you ship.

Related Articles