Schema Markup Generator
Build valid JSON-LD structured data for rich results — no code required.
- Free forever
- No sign-up
- Runs in your browser
Schema type
Pick the type that matches your page, then fill in the fields below. Empty optional fields are left out of the output.
Questions & answers
Generated JSON-LD
Paste this block into your page's <head>(or anywhere in the HTML). Then confirm it with Google's Rich Results Test. Everything is built locally — nothing is uploaded.
What is structured data?
Structured data is extra information you add to a web page that describes its content in a format machines can read. A human sees a recipe with a title, a photo and a list of steps; structured data spells those parts out explicitly — this is the name, this is the cook time, these are the ingredients — so a search engine does not have to guess.
The format Google recommends is JSON-LD: a small block of code, wrapped in a <script type="application/ld+json"> tag, that sits quietly in your page's HTML. It never changes what visitors see. It exists purely to give search engines and other tools a clean, unambiguous description of the page.
This schema markup generator writes that JSON-LD for you. You choose a type, fill in a short form, and copy the result. There is no syntax to memorise, no brackets to balance, and nothing is uploaded — the markup is assembled live in your browser.
How structured data powers rich results
When a page carries valid structured data, it becomes eligible for rich results — the enhanced listings you see in Google beyond a plain blue link. Depending on the type, that can mean:
- An FAQ page showing expandable questions directly in the search result.
- An article with a large thumbnail, author and publish date.
- A product showing a price, availability and a star rating.
- A recipe with cook time, rating and a photo in a carousel.
- A breadcrumb trail replacing the raw URL under the title.
- An event showing dates and venue right in the result.
Rich results take up more space, communicate more at a glance, and tend to earn more clicks. Structured data is the prerequisite for all of them. It is also one of the few SEO tasks with a clear, mechanical right answer: the markup is either valid or it is not.
The most useful schema types
You do not need every type schema.org defines — a handful cover the vast majority of real pages. This tool focuses on those:
- FAQPage — a list of questions and answers. Great for support, pricing and product pages.
- Article / BlogPosting — news posts and blog entries, with author, dates and image.
- Product — items for sale, with an optional offer (price, currency, availability) and an aggregate rating.
- LocalBusiness — a shop, restaurant or office, with address, phone, opening hours and map coordinates.
- Organization — your brand entity, with logo and social profiles (
sameAs). - BreadcrumbList — the navigational path to the current page.
- HowTo — a task broken into ordered steps.
- Event — concerts, webinars, conferences, with dates, venue and tickets.
- Recipe — dishes with ingredients, timings and instructions.
- Person — an author or public figure, with job title and profiles.
- WebSite — your site as a whole, optionally with a
SearchActionthat can enable a sitelinks search box.
For repeatable content the form lets you add and remove rows — extra Q&A pairs for an FAQ, more steps for a HowTo, deeper breadcrumb trails — so the output scales with your page.
How to use the generator
- Choose the schema type that matches the page you are marking up.
- Fill in the fields. Required fields are the minimum the type needs to be valid; optional fields enrich the result. Empty optional fields are simply left out, so you never ship blank properties.
- Add rows where it makes sense — questions, steps or breadcrumb items.
- Watch the live output. The JSON-LD updates as you type, already wrapped in the correct script tag with the right
@contextand@type. - Copy or download the block and paste it into your page's
<head>.
The output is clean, properly typed and indented, so it reads well in your source and is easy to diff later.
Where to put the script
Drop the entire <script type="application/ld+json">…</script> block into the <head> of your page. It also works inside the <body>, but the head is the conventional, tidy choice.
A few practical rules keep things reliable:
- One block per content type. A blog article can carry both a
BlogPostingblock and aBreadcrumbListblock — keep them as separate scripts. - Match the visible page. The structured data must describe what a visitor actually sees. Marking up a price or rating that is not shown on the page violates Google's guidelines and can cost you the rich result.
- Use absolute URLs for images and links, so external tools can resolve them.
- Keep it in sync. When you change a headline, price or hero image, regenerate the block.
Always validate with the Rich Results Test
Before you rely on a block, paste your page or the code into Google's Rich Results Test (and, for broader coverage, the Schema.org validator). These tools confirm the markup parses, report which rich result types the page is eligible for, and flag missing recommended fields. Validation is fast and removes all the guesswork — if the test is happy, the syntax is correct.
Validation checks correctness, not appearance. Even a perfectly valid block is only eligible for a rich result; Google still decides whether to show one. Treat the test as your proof that the data is sound, then let quality and relevance do the rest.
Structured data and AI search
Structured data is no longer just about classic blue-link rich results. AI-powered search experiences and answer engines increasingly lean on the same explicit, machine-readable descriptions to understand and summarise pages. When your content is clearly labelled — this is the author, this is the publish date, these are the steps, this is the price — it is easier for an AI system to quote it accurately and attribute it to you.
In other words, the JSON-LD you add today does double duty: it makes you eligible for traditional rich results and it gives newer AI surfaces a cleaner, more trustworthy version of your content to draw from. Marking up your most important pages is a small, durable investment that pays off across both worlds.
Why a form-driven, local generator helps
Plenty of schema tools exist, but they often scatter each type across a different page or bury the output behind an account. This generator keeps many of the most useful types in one clean form with a single, consistent live output, and it runs entirely in your browser with no login.
Because it is form-driven rather than crawling a live URL, you can build markup for drafts and unpublished pages — exactly when you most want to get the structure right before launch. Fill in the form, copy the block, validate it, and ship a page that search engines, and the newer AI systems built on top of them, can understand at a glance. Pair it with well-formed meta tags and a quick SERP snippet preview so the title and description shown beside your rich result are just as deliberate as the structured data behind it.
Frequently asked questions
Comet's got your back
Stuck on something? Every tool has a short guide and FAQ — and Comet can point you to the right spot.
Visit help centreRelated tools
All SEO & Web tools →Meta Tag Generator
Generate SEO, Open Graph and Twitter card meta tags for your page's <head>, ready to copy.
SEO & WebRobots.txt Generator
Build a correct robots.txt with allow/deny rules, sitemap and AI-bot presets.
SEO & WebUTM Builder
Build tagged campaign URLs with UTM parameters for accurate analytics tracking.
SEO & Web