Test JSON-LD live Live Test
Paste code, see the result immediately. The lab checks syntax, type and required fields while you type.
1What is it?
Editor on the left, check on the right. The blocks of the current page are already loaded when you open it. Errors are shown next to them with line and explanation.
2Why it matters
A missing comma makes the whole block invalid, and Google ignores it silently. In the lab you see it right away, not weeks later in Search Console.
3What TagSpion checks
| Check | Rating |
|---|---|
| Syntax | red with line number for invalid JSON |
| @context and @type | red if missing or unknown |
| Required fields per type | red if missing · yellow for recommended fields |
4How to fix it
- Fix errors until everything is green, then copy and put it in the page as <script type="application/ld+json">.
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Product",
"name": "Tagliatelle al ragù",
"image": "https://www.example.com/img/tagliatelle.jpg",
"description": "Fresh egg pasta with slow-cooked beef ragù.",
"offers": {
"@type": "Offer",
"price": "14.50",
"priceCurrency": "EUR",
"availability": "https://schema.org/InStock"
}
}
</script>Also test externally
The Schema Lab checks locally. For the final check there are two free tools:
5Frequently asked questions
Does this replace Google's Rich Results Test?
No. The lab checks structure and required fields locally. What Google makes of it, only Google's test shows. Both together is ideal.