Schema Markup Generator (JSON-LD Schema Code)

Create JSON-LD structured data for FAQ, Article, Product, LocalBusiness, Organization, Person, Event, Breadcrumbs and How-to pages.

Loading Future Forge Tools…

Schema Markup Generator (JSON-LD Schema Code)

Create JSON-LD structured data for FAQ, Article, Product, LocalBusiness, Organization, Person, Event, Breadcrumbs and How-to pages.

Schema markup is structured data, usually written as JSON-LD, that tells search engines what a page is about, such as an article, product, business or organization. You paste the JSON-LD code inside a script tag of type application/ld+json in your page, then check it with Google's Rich Results Test.

How to use Schema Markup Generator

  1. Choose the schema type.
  2. Fill in the details.
  3. Copy the <script> tag into your page and test it in Google’s Rich Results Test.

How to use this schema markup generator

Pick a schema type (Article, FAQ, Product, Local Business, Organization, Person, Event, Breadcrumbs or How-to), fill in the fields, and the JSON-LD code updates as you type. Empty fields are left out, so the output stays clean. Copy the complete <script> tag and paste it into the <head> or body of the page it describes. Everything runs in your browser.

Markup must match what visitors can see on the page. Do not add reviews, prices or questions that are not visible, or Google may ignore the markup or apply a manual action.

JSON-LD schema examples (copy-ready)

Each example goes inside <script type="application/ld+json"> ... </script>. Replace the sample values with your own.

Organization

{
  "@context": "https://schema.org",
  "@type": "Organization",
  "name": "Example Co",
  "url": "https://example.com",
  "logo": "https://example.com/logo.png",
  "sameAs": ["https://www.linkedin.com/company/example"]
}

Article

{
  "@context": "https://schema.org",
  "@type": "Article",
  "headline": "How to Choose a Standing Desk",
  "image": "https://example.com/desk.jpg",
  "author": { "@type": "Person", "name": "Jane Doe" },
  "datePublished": "2026-10-01",
  "dateModified": "2026-10-15"
}

FAQPage

{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [{
    "@type": "Question",
    "name": "Do you ship internationally?",
    "acceptedAnswer": { "@type": "Answer", "text": "Yes, to 30 countries." }
  }]
}

Product

{
  "@context": "https://schema.org",
  "@type": "Product",
  "name": "Oak Standing Desk",
  "image": "https://example.com/oak-desk.jpg",
  "sku": "DESK-120",
  "offers": {
    "@type": "Offer",
    "price": "499.00",
    "priceCurrency": "USD",
    "availability": "https://schema.org/InStock"
  }
}

LocalBusiness

{
  "@context": "https://schema.org",
  "@type": "Dentist",
  "name": "Bright Smile Dental",
  "telephone": "+1-555-010-0199",
  "address": {
    "@type": "PostalAddress",
    "streetAddress": "12 Main St",
    "addressLocality": "Springfield",
    "postalCode": "62701",
    "addressCountry": "US"
  },
  "openingHours": "Mo-Fr 09:00-18:00"
}

Use the most specific LocalBusiness subtype that fits, such as Restaurant, Dentist or Store. More patterns are in our JSON-LD schema examples, and schema markup for beginners explains the basics.

Which schema types still get rich results?

Valid schema does not always mean a visible rich result. Google has cut back several features, and this table reflects its documentation at the time of writing:

TypeGoogle rich resultStill worth adding?
ProductPrice, availability and review snippets; merchant listingsYes, for product pages
ArticleNo special snippet; helps Google read headline, images and datesYes, for news and blog posts
OrganizationLogo and business details in Google's knowledge panelYes, on the home or about page
LocalBusinessBusiness details; your Google Business Profile matters moreYes, for local businesses
BreadcrumbListBreadcrumb trail in place of the URLYes
EventEvent listings and experiencesYes, for event pages
FAQPageOnly for well-known authoritative government and health sitesOptional; other engines and AI tools may still read it
HowToRemoved from Google SearchValid schema.org, but no Google rich result

These rules change, so check the Search Gallery in Google's Search Central documentation before relying on a feature.

How to test your schema markup

  1. Google Rich Results Test: paste a URL or the code to see which Google rich results the page is eligible for, plus errors and warnings.
  2. Schema Markup Validator (validator.schema.org): checks any schema.org type against the vocabulary, including types Google has no rich result for.
  3. Search Console: after Google recrawls the page, the enhancement reports show valid items and errors across your whole site.

A missing comma or quote breaks the whole block. If a test reports a parsing error, run the code through the JSON Formatter to find the exact line.

Common schema markup mistakes

If you also want better titles and social previews, generate those tags with the Meta & OpenGraph Generator.

Frequently asked questions

What is schema code?

Schema code is structured data written with the schema.org vocabulary. On websites it is usually a JSON-LD block that describes the page in a format search engines can read without guessing.

What is JSON-LD schema markup?

JSON-LD (JavaScript Object Notation for Linked Data) is a way of writing schema markup as a separate block of JSON instead of attributes mixed into your HTML. Google recommends JSON-LD because it is the easiest format to add and maintain.

Is JSON-LD better than Microdata?

Google supports JSON-LD, Microdata and RDFa equally for rich results, but recommends JSON-LD. It lives in one script tag, so you can change it without touching your page layout.

Do FAQ rich results still appear in Google?

Only for well-known, authoritative government and health websites. Other sites can still use FAQPage markup, but Google will not show the expandable FAQ result for them.

Can I use several schema types on one page?

Yes. Add one script block per type, or combine them in an array or an @graph. A product page can carry Product and BreadcrumbList markup, for example.

Does schema markup improve rankings?

Structured data is not a direct ranking factor. It helps search engines understand your content and can make a page eligible for rich results, which may improve clicks, but Google never guarantees a rich result.

What is schema markup?

Structured data that helps search engines and AI assistants understand your page and show rich results.

Where do I put the JSON-LD?

Anywhere in the page HTML, usually in the <head>.