Schema Markup Generator
Import existing JSON-LD
Paste a script tag or raw JSON-LD. It stays in this browser and fills the form.
Add another block when a page needs more than one type, such as a website, an organization, and a breadcrumb.
A news story, blog post, or guide.
Test in Google opens the Rich Results Test in a new tab. Paste the script there yourself. Nothing is sent from this page.
Fill in the fields above to generate your JSON-LD markup.
Pick a type, fill in the fields, and see which properties Google asks for before you publish. This generator writes JSON-LD (JavaScript Object Notation for Linked Data) for 14 schema types, including products, frequently asked questions, articles, events, recipes, videos, jobs, and local businesses. Combine several blocks into one graph, import markup you already have, then copy a script tag or download schema.json. Everything runs in your browser, so nothing you type is uploaded.
How to use
- Pick a schema type. Types are grouped by pages, businesses, and products.
- Fill in the fields. Required fields are marked, and the rich results check lists what Google still needs.
- Add another block when a page needs more than one type, such as a website, an organization, and a breadcrumb.
- To edit markup you already have, open Import existing JSON-LD and paste it.
- Copy the script tag or download schema.json. Test in Google opens the Rich Results Test so you can paste it there yourself.
Examples
- Product: name Stoneware Mug, price 18 USD, and a rating of 4.6 from 120 reviews produces a Product with an Offer (price 18, priceCurrency USD) and an AggregateRating.
- Local business: a Dentist named Bright Smile at 12 Oak Street, Portland produces a Dentist object with a nested PostalAddress.
- Combined graph: a WebSite named Acme, an Organization named Acme Inc, and a breadcrumb from Home to About produce one document with a single @context and an @graph of three linked blocks.
FAQs
- What is schema markup?
- Schema markup is structured data that describes a page in a format search engines can read. This tool writes it as JSON-LD (JavaScript Object Notation for Linked Data), which you paste into the page inside a script tag.
- Where do I paste the generated code?
- Paste the script tag into the head of the page it describes, or anywhere in the body. Each page should describe its own content. Download schema.json if you would rather keep the raw object.
- Does this guarantee rich results?
- No. Valid markup can make a page eligible, and the readiness check shows the fields Google documents for each type. Search engines still decide what to show.
- Can I combine types?
- Yes. Add a block for each type, such as a website, an organization, and a breadcrumb. The tool writes one document with a single @context and an @graph, and it links the blocks with stable @id values.
- Which types still show rich results?
- Google still documents rich results for products, breadcrumbs, recipes, videos, events, job postings, and software apps, among others. FAQ (frequently asked questions) rich results are limited to well known government and health sites. The guide linked on this page goes through the list.
- Is my data uploaded?
- No. The markup is built entirely in your browser. Import, copy, and download stay on your device. Test in Google only opens the Rich Results Test. You paste the script there yourself.
Supporting guides
Related tools
- Meta Tag GeneratorGenerate clean HTML meta tags: title, description, canonical, and robots. Get a ready to paste block with length warnings built in.
- Open Graph GeneratorGenerate Open Graph and Twitter Card meta tags from a title, description, URL, image, and type. Copy a ready to paste block in seconds.
- Hreflang GeneratorGenerate hreflang tags, a bulk XML sitemap from a CSV, or check return links and codes. Runs in your browser.
- Meta Tag and OG Preview GeneratorGenerate title, description, Open Graph, and Twitter tags, then preview how your page looks in Google, Facebook, X, and LinkedIn.
- JSON FormatterFormat, validate, and beautify JSON in your browser. Paste messy JSON, get clean indented output, then copy it back. Free, no signup.
- Keyword Density CheckerPaste text and see the most frequent words plus their density percentage. Ignore stop words and pick how many top words to show.