Markup

Schema Markup Generator

Fill a short form and get valid, paste-ready JSON-LD.

Schema type

Fill required fields: Headline, Author name, Date published. The output below still shows what you have so far.

JSON-LD
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Article"
}
</script>

Paste this inside your page’s <head>. Then validate with Google’s Rich Results Test before shipping.

How it works

Structured data tells search engines what a page is in a machine-readable way, using the schema.org vocabulary. Google reads it to decide whether your listing is eligible for a rich result — the FAQ accordions, product prices and article bylines you see in the search results.

Pick a type — Article, Local Business, Product or FAQ Page — and fill the short form. The tool builds the JSON-LD as you type, validating required fields inline, dropping any field you leave blank so the output stays clean, and escaping the values into proper JSON. The result is wrapped in the <script type="application/ld+json"> tag search engines expect.

Copy the block into your page’s <head>, then confirm it with Google’s Rich Results Test before shipping. Everything here is generated locally in your browser — no network, no dependencies.

Frequently asked

What is schema markup and JSON-LD?+

Schema markup is structured data that describes your page to search engines using the shared schema.org vocabulary — for example, that a page is an Article by a named author, or a Product with a price. JSON-LD is the recommended format for it: a small block of JSON inside a <script type="application/ld+json"> tag, which is exactly what this tool generates.

Where do I put the JSON-LD on my page?+

Paste the generated <script> block into the <head> of the page it describes (the <body> also works). Each page should carry the structured data for its own content — the Product schema goes on the product page, the FAQ schema on the page showing those questions — so the markup and the visible content agree.

Does schema markup help my Google ranking?+

Structured data is not a direct ranking factor, but it makes a page eligible for rich results — star ratings, FAQ drop-downs, product prices and more — which can lift click-through rate. The honest framing: it does not move you up the list on its own, it makes your listing more useful when you are already on it.

How do I validate my structured data?+

After copying the JSON-LD, run the page (or the pasted code) through Google’s Rich Results Test and the schema.org validator. This generator keeps the syntax valid and omits empty fields, but those tools confirm the type is eligible for the rich result you are after and flag any properties Google requires.

What do the required-field warnings mean?+

Certain properties are needed for a type to be valid or eligible for a rich result — an Article needs a headline, a Product needs a name and price. The tool flags those inline while you fill the form and still shows the partial output, so you can see the shape building up before it is complete.

Is my data sent anywhere?+

No. The JSON-LD is assembled entirely in your browser from what you type, so nothing you enter is uploaded and the tool works offline.

More free tools

All tools

More tools shipping weekly.

Mark it up, then make sure it renders right

This tool turns a form into valid, paste-ready markup. Shotline closes the other half of the loop — once the page is live, clients and teammates pin feedback straight onto it, each comment carrying the exact element it is about.

No signup needed. Free demo canvases stay live for 72 hours.

or start your 14-day free trial — no card required.

Shotline — Schema Markup Generator — free, in-browser