Skip to content
Plaintools

JSON-LD generator

This is the JSON-LD-focused entry for the same schema types as the markup generator. Fill the fields, copy the object, and paste it into a script of type application/ld+json. Review it in Google’s testers before you ship.

Same schema types as the schema markup generator. Output is JSON-LD you can paste into a script tag.

Question 1
Question 2

JSON-LD generator example

FAQ about return shipping

Same example as the schema markup generator: two questions on returns produce an FAQPage graph you can copy or download.

JSON-LD generator how-to

  1. Stay on this page. JSON-LD generator runs in the tab.
  2. Enter or drop your input here. The file or text is not posted to a server.
  3. Copy or download the result when it appears.

Related tools

SEO

UTM generator

Add source, medium, campaign, term, and content parameters to a URL you already own.

SEO

Slug generator

Turn a title into a lowercase URL slug, with stop words stripped and unicode transliterated.

SEO

Open Graph generator

Generate Open Graph and Twitter Card meta tags with live social preview cards.

SEO

Schema checker

Validate Schema.org JSON-LD syntax, @context, @type, and required fields for FAQ, HowTo, Article, and Product.

SEO

Hreflang generator

Generate HTML link tags, XML sitemap snippets, and HTTP headers for multilingual and multi-regional hreflang SEO.

SEO

Meta tag generator

Generate HTML title, meta description, canonical, robots, viewport, and theme-color tags with live Google SERP preview. Nothing is uploaded.

People also use

SEO

Favicon generator

Convert any image into PNG favicons (16×16, 32×32, 48×48), favicon.ico, and Apple touch icons.

SEO

Robots.txt generator

Generate RFC 9309 robots.txt files with allow/disallow paths, bot groups, sitemaps, and crawl delays.

SEO

XML sitemap generator

Generate clean, valid XML sitemaps compliant with Sitemaps.org 0.9 from a plain text list of URLs. Zero crawls, client-side.

JSON-LD & ld+json generator FAQ

What is a JSON-LD generator and what does ld+json mean?
It creates structured data blocks you can copy straight into your site. In HTML, that block sits inside a `<script type="application/ld+json">` tag—often shortened to ld+json—so Google understands exactly what your page represents.
How is this different from the schema markup generator?
It is not a second engine. Both pages share the same types and builder. Use this URL when you want a JSON-LD-named tool; use schema markup when that is the phrase you search for.
Do I wrap the output in a script tag?
The download is the JSON object only. In HTML you still wrap it: a script of type application/ld+json, then the object. Do not nest a second script.
Which types can I emit?
FAQPage, HowTo, Article, Product, LocalBusiness, BreadcrumbList, and Organization — the same set as the schema markup generator.
Is the JSON sent to a crawler from here?
No. Preview is local. Search engines only see markup after you publish it on a page they can fetch.
How do I emit the same JSON-LD without this form?
Use this page or the schema markup generator — they share buildSchemaJsonLd. There is no API. Compact empty strings/arrays. FAQPage needs both question and answer. HowToStep position starts at 1. Product Offer only if price or url is set (currency defaults to USD). Organization sameAs is newline-split. Serialize with JSON.stringify(..., null, 2) and a trailing newline.
Should I place the JSON-LD script tag in the head or body of my HTML?
Google supports JSON-LD script blocks in either the <head> or <body> section of your HTML document. Placing structured data inside the <head> tag is standard practice because search engine parsers discover page metadata earlier in document processing.
Can I have multiple JSON-LD script tags on the same webpage?
Yes. You can include multiple independent <script type="application/ld+json"> elements on a single page, such as combining an Organization schema with an FAQPage or BreadcrumbList. Alternatively, entities can be grouped under a single @graph array.