Schema Markup Generator: How to Use JSON-LD

Which schema type to pick, what each field actually does, and how to add the output to your page without accidentally overclaiming what's on it.

What Schema Markup Actually Does

Schema markup (also called structured data) is a block of code, written in a format called JSON-LD, that tells search engines exactly what a page contains — this is an article by this author published on this date, this is a product that costs $19.99 and is in stock, this is a business open until 10pm — instead of leaving Google to infer it from the visible HTML. Google's structured-data guidance explains that supported markup can make a page eligible for certain enhanced search features, but eligibility never guarantees that a rich result will appear. Structured data does not directly boost rankings.

JSON-LD is the format Google actively recommends over the two older alternatives (Microdata and RDFa) because it lives in a single, self-contained <script> block instead of being woven into your visible HTML attributes — which is exactly the format this generator produces.

Which Schema Type to Pick

Use Article for blog posts, news pieces, and guides. Use FAQ Page only when a page genuinely answers multiple distinct questions in a visible Q&A format — this is the same schema our AI FAQ Generator outputs. Google now largely limits FAQ rich results to well-known, authoritative government and health sites, so typical sites should not expect expandable FAQ dropdowns; the markup can still describe visible Q&A content for structured-data consumers and other search engines. Use How-To for genuine step-by-step instructions, but note that Google deprecated How-To rich results in September 2023. The markup may still carry semantic value outside that retired Google feature. Use Product for anything with a real price and availability status, Local Business for a physical location with hours, an address, and a phone number, and Breadcrumb where the page has a clear site hierarchy.

The Rule That Matters Most: Match What's on the Page

Google's structured data guidelines are explicit that markup must reflect content actually visible on the page — not aspirational content, not a rating you wish you had, not an FAQ answer that doesn't appear anywhere in your text. Sites that add fake review stars or invented pricing to try to win a rich result have had that markup ignored or, in repeat cases, received a manual action that suppresses rich results sitewide. The safest workflow is to write the schema to describe your page as it already exists, not the other way around. If you don't have a real aggregate rating yet, leave the rating field blank in this generator — it's built to omit the field entirely rather than default it to a placeholder value.

How to Use This Generator

Pick a schema type from the tabs at the top, fill in the fields that apply to your page, and click Generate JSON-LD. Optional fields you leave blank are automatically dropped from the output rather than included as empty strings, so the result stays clean and spec-valid. For FAQ, How-To, and Breadcrumb, use + Add to add as many rows as you need and Remove to delete any you don't.

Copy the full output — including the <script type="application/ld+json"> wrapper tags — and paste it anywhere inside your page's <head> (or the body; Google reads it either place). It renders nothing visible, so it's safe to add without touching your page's design.

Verify It After Publishing

Once the page is live, use Google's Rich Results Test for schema types that Google currently supports there, and use a general schema validator for other JSON-LD. Passing a test confirms syntax and applicable eligibility requirements; it does not promise that Google will show an enhanced result. Keep the FAQ restrictions and How-To deprecation above in mind when interpreting the result.

Related tools: AI FAQ Generator · Robots & Sitemap Tool · SEO Audit Tool