Advertisement

Free Online Schema Markup Generator

Create JSON-LD schema for FAQ, article, product, and local business.

Questions and answers

Only rows with both a question and an answer are included.

JSON-LD output

Valid JSON-LD

Paste the JSON-LD inside a <script type="application/ld+json"> tag in your page head or body. Validate it with a structured data testing tool after publishing.

Advertisement

About the Schema Markup Generator

Schema markup, also called structured data, is a vocabulary that describes page content to search engines. It is written in JSON-LD and placed in a script tag, where it does not affect what visitors see. When the markup is accurate, search engines can use it to create rich results: FAQ accordions, product prices and availability, article bylines, local business details, and breadcrumb trails. When it is inaccurate or incomplete, the page may simply be ignored for those enhancements.

This generator supports five common types. FAQPage lists questions and accepted answers. Article describes a news story, blog post, or guide with headline, author, dates, and publisher. Product includes the offer, price, currency, availability, SKU, and optional aggregate rating. LocalBusiness combines a postal address, phone number, and price range. BreadcrumbList describes the path from the homepage to the current page. Choose a type and the form updates with the fields that type needs.

Accurate markup matters

Structured data should describe content that is actually visible on the page. Do not mark up a product that cannot be bought, invent review counts, or add FAQ entries that are not displayed. Search engines treat misleading markup as spam, and manual actions can remove rich results for the whole site. The generator validates its output with JSON.parse, but passing that check only proves the JSON is syntactically valid; it does not prove compliance with a search engine's guidelines. Test the final URL in the platform's own validator before relying on the markup.

Frequently asked questions

Where should JSON-LD be placed?

Place it in a script tag with type application/ld+json, either in the head or near the end of the body. Multiple JSON-LD blocks are allowed, and they are generally easier to maintain than inline microdata.

Can I combine several schema types on one page?

Yes. You can output several JSON-LD blocks or use an @graph array. Keep each block focused on one entity, and make sure the entities describe the same page.

Does schema markup guarantee rich results?

No. Search engines decide whether to show a rich result based on relevance, quality, and their own policies. Valid markup is a prerequisite, not a guarantee.

Sponsored
Find a bug? Report now