Schema Markup Generator

Build valid JSON-LD structured data for the types Google turns into rich results — Article, Product, LocalBusiness, Organization, Event, Video, HowTo, and Breadcrumbs. Runs entirely in your browser.

Article

Blog posts, news stories, and editorial pages.

Google shows up to about 110 characters.

At least 1200px wide; Google prefers 16:9, 4:3, and 1:1 versions.

Publisher

JSON-LD

Fill in the fields and your markup appears here.

Required by Google, still empty

HeadlineImage URLAuthor nameDate published
How to use the output

Structured data is a machine-readable summary of what a page is about, written in JSON-LD — the format Google explicitly recommends over Microdata and RDFa. This tool builds one valid block per type, includes only the properties you filled in, and escapes the output so it can't break out of the script tag it gets pasted into.

Two checks are worth running after you paste it: the Schema Markup Validator on this site confirms the block parses and declares a type once the page is live, and Google's own Rich Results Test confirms the per-type property requirements for the specific enhancement you're after. Keep the markup honest — describing products, ratings, or events that don't match what a visitor actually sees on the page is a manual action risk, not a clever trick.

Frequently asked questions

Where do I put the generated code?

Paste the whole <script type="application/ld+json"> block into your page's HTML. It can go in the head or anywhere in the body — Google reads it from either. Most CMSs have a field for custom head code; in a framework you'd render it as a script tag on the page it describes. The markup must live on the page it's about, not on a shared template that puts the same Product data on every URL.

Does adding structured data improve my rankings?

Not directly. Structured data doesn't raise your position — what it does is make you eligible for rich results: star ratings, prices, FAQ dropdowns, event dates, breadcrumb trails, recipe cards. Those change how much space and attention your result gets, which is usually worth more in clicks than a small position change would be.

Why are some fields marked with an asterisk?

Those are the properties Google's documentation lists as required for that type to qualify for a rich result. Markup missing them is still valid schema.org and won't cause an error, but Google will skip the enhanced display. The tool lists any you've left empty under the output so you can see what's blocking eligibility.

Can I put more than one type on the same page?

Yes, and it's common — an article page often carries Article, BreadcrumbList, and Organization together. Generate each one here and paste them as separate script blocks, or combine them into a single @graph array if you prefer. Search engines read all the blocks on the page either way.

Is what I type here sent anywhere?

No. The JSON-LD is assembled in your browser as you fill in the form, so unpublished product prices, client details, and staging URLs stay on your machine. Nothing is uploaded or stored.

Related tools

Command Palette

Search for a command to run...