JSON-LD is structured-data markup that search engines read to display rich results (stars, prices, FAQ dropdowns, recipe cards, and more). If you already know you need it, this tool produces valid JSON-LD from your input.
Select what kind of content this page is.
Output below. Copy the <script> tag or the JSON only.
Fill in the form...
JSON-LD (JavaScript Object Notation for Linked Data) is the structured-data format that search engines read to understand a page's content. It powers rich results (stars, prices, FAQ dropdowns, recipe cards, job listings, event details) that appear directly in search.
Pick the kind of content you're marking up. The form below changes to show fields relevant to that type. Examples: Article / BlogPosting = blog posts, news articles. Product = e-commerce listings (eligible for stars + price in search). Recipe = cooking instructions (recipe card with image and ratings). FAQPage = expandable Q&A dropdowns in search. HowTo = step-by-step instructions. JobPosting = hiring listing (job-card display). Event = concert / webinar / conference with date and venue. LocalBusiness = brick-and-mortar businesses with hours + address. Each type maps to a different rich result format documented in the official structured data gallery.
The fields below the dropdown change based on the schema type you picked. Required fields are marked with a red asterisk. Each input has a placeholder showing the expected format. Hover any field label for a short hint about what it does.
"Load example" fills the form with a realistic example for the current schema type. Useful for seeing what valid input looks like. "Reset" clears every field.
Shown above the output. Lists any required fields you haven't filled in for the current schema type. The tool checks Schema.org requirements. Full validation against rich-result requirements is available via the "Test in search results" button.
Copies the JSON-LD wrapped in a <script type="application/ld+json"> tag. This is what you paste directly into your page's <head>.
Copies just the raw JSON object, without the <script> wrapper. Useful when structured data is injected through a CMS field or a JavaScript framework that wraps it.
Saves the output as a .json file. Handy for storing schema separately or sharing with a developer.
Opens the official Rich Results Test in a new tab with your generated JSON-LD pre-loaded. Confirms the markup is valid and shows which rich-result types your page is eligible for.
No. Valid structured data is required for rich results, but search engines decide which results actually display based on content quality, page authority, and policy compliance. Markup makes a page eligible; display is up to the search engine.
The tool flags missing required fields per Schema.org for the chosen type. Full validation against specific rich-result requirements is available via the official Rich Results Test, linked from the tool.
Inside the <head> (preferred) or anywhere in the <body> works. Order doesn't matter. You can have multiple JSON-LD blocks on a single page (e.g., Article + BreadcrumbList + FAQPage).
If you are replacing an existing file (robots.txt, sitemap.xml, .htaccess, <head> tags, etc.), keep a copy of the original somewhere safe first.
No. All schema generation happens in your browser. Form input is not transmitted, stored, or logged.