Skip to content
ZeroServer.tools

Schema Markup Generator

Generate JSON-LD schema.org structured data for rich SEO results.

Selected Type: Output Size (chars): 0

JSON-LD Output

About Schema Markup Generator

Schema markup (structured data) is code added to HTML pages that helps search engines understand the content and context of your pages. When implemented correctly, it can enable rich results (rich snippets) in Google Search, such as star ratings, event dates, FAQ dropdowns, and product prices. This tool generates JSON-LD format, which Google recommends. Paste the output into the <head> of your HTML page.

Built and maintained by Meet Shah · Last updated

What this tool is used for

  • Producing structured data for a page type you mark up rarely.
  • Getting the required properties for a rich result without reading the whole specification.
  • Generating a starting block you then extend with optional properties.
  • Producing consistent markup across a set of similar pages.
  • Comparing generated markup against what a page currently outputs.

Frequently Asked Questions

Why are angle brackets escaped as \u003c in the output?
Because the JSON lives inside a <script> element, and an HTML parser ends that element at the first closing script sequence it sees — it has no idea the text is inside a JSON string. A headline containing one would otherwise close the block early and spill the remaining payload into the page as markup.
Will FAQ markup give me the dropdown in search results?
Almost certainly not any more. Google restricted FAQ rich results in August 2023 to well-known authoritative government and health sites, so everyone else keeps valid markup and loses the visual treatment. It still describes the page accurately for other consumers, which is a smaller but genuine benefit.
Why are blank fields omitted rather than left empty?
Because an empty string asserts a value that is blank, which is worse than claiming nothing. Every field you leave blank is stripped recursively before serialising, along with any nested object left with nothing in it, so the output only ever states what you actually filled in.
What does Google need for a Product rich result?
More than this asks for. In practice name plus an offers block carrying price and priceCurrency is the floor, and review or aggregateRating is what produces the stars. A rating needs both ratingValue and reviewCount — supply one without the other and the whole block is dropped as incomplete.
Which date format should I use?
ISO 8601, and include the UTC offset for events: 2026-08-14T19:00:00+02:00. A bare date is accepted for datePublished, but an event without a timezone is read in the searcher's own, which is exactly how a listing ends up advertising the wrong start time to half its audience.

Common errors and gotchas

  • Marking up content the page does not show, which is against the guidelines rather than merely useless.
  • Filling every optional property with approximations, which risks contradicting the visible page.
  • Adding review or rating markup with no genuine reviews behind it.
  • Using a type that does not match the page's actual purpose.
  • Assuming markup alone earns a rich result, when eligibility is only the first condition.

Related Web & SEO tools

Private & free — this tool runs entirely in your browser.

NamecheapRegister a domain for your next project — from $1.98/yr.affiliate