Skip to content
AvocadoScore

Free tool · instant · no signup

JSON-LD generator (schema markup builder)

Build valid schema.org structured data without writing JSON by hand. Pick a type, fill in the fields, copy the block into your page.

Describes a post or news story: who wrote it, when, and what it is called. AI answer engines use the author and dates to judge provenance and freshness.

Keep it under about 110 characters.

The canonical URL of the page this markup lives on.

Your JSON-LD

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

Still needed: Headline.

How JSON-LD works

JSON-LD sits in a <script type="application/ld+json"> tag and describes the page in the shared schema.org vocabulary. Search engines and AI answer engines read it to understand entities and relationships without guessing from layout. The markup must match what visitors can actually see on the page.

For the full picture — which types to add first, and how AI engines use them — read the structured data guide. To see whether the rest of your site is readable by AI crawlers, run the AI bot checker or a full audit, which flags pages missing structured data.

Other schema types

Questions, answered

What is JSON-LD?+

JSON-LD (JavaScript Object Notation for Linked Data) is the format Google recommends for structured data. You put a small block of JSON in a script tag, using schema.org types, to tell search engines and AI answer engines exactly what a page is about — an article, a product, a business, an FAQ.

What is the difference between JSON-LD and JSON?+

JSON-LD is JSON with a few reserved keywords (@context, @type, @id) that tie the data to a shared vocabulary such as schema.org. Every JSON-LD document is valid JSON, but plain JSON has no @context, so a crawler cannot tell what your keys mean. The @context and @type lines are what turn your data into structured data.

Where do I put the JSON-LD code?+

Inside a <script type="application/ld+json"> tag, in either the <head> or the <body> of the page it describes. Google reads both. In a framework, render it server-side so crawlers get it without running JavaScript.

How do I test my JSON-LD?+

Paste the markup or the page URL into Google’s Rich Results Test to see which rich results it is eligible for, and into the Schema Markup Validator (validator.schema.org) to check general schema.org validity.

Does JSON-LD improve rankings?+

Not directly. It makes pages eligible for rich results, which can lift click-through, and it makes your entities unambiguous to search and AI engines. Accurate markup helps; markup that does not match the visible page can hurt.

Is this generator free, and is my data sent anywhere?+

It is free with no signup, and it runs entirely in your browser — what you type never leaves the page.