Home › Developer Tools › Structured Data Validator

Structured Data Validator

Paste a page's HTML source or a JSON-LD snippet to find every structured data item, see which Google rich result it targets, and get a clear list of syntax errors, missing required properties and recommended fields.

Last updated:

Checks run in your browser against schema.org types and Google Search's documented required and recommended properties. Passing here does not guarantee that Google will show a rich result.

Advertisement
Advertisement

How to use the Structured Data Validator

  1. Copy the page source (View Source or Ctrl+U in your browser) or just the JSON-LD script, and paste it into the box. You can also open a saved .html file.
  2. Read the summary: number of items found, errors, warnings and which rich result types were detected.
  3. Fix the errors first: invalid JSON or missing required properties make the item ineligible for rich results.
  4. Add recommended properties listed as warnings where you have the data; they improve how the result can appear.
  5. Re-check as you edit: with Check as I type on, results update instantly. Copy the report or the JSON-LD when done.

Google's required properties at a glance

TypeRich resultRequiredKey recommended
ProductProduct snippet, merchant listingname + one of offers, review, aggregateRatingimage, brand, sku, gtin, description
Offer(inside Product)price, priceCurrencyavailability, url, priceValidUntil
Article, NewsArticle, BlogPostingArticlenoneheadline, image, datePublished, dateModified, author
BreadcrumbListBreadcrumbitemListElement with position, name, item (except the last)none
EventEventname, startDate, locationendDate, eventStatus, image, offers, organizer
RecipeRecipename, imagerecipeIngredient, recipeInstructions, totalTime, nutrition.calories
LocalBusiness (and subtypes)Local businessname, addresstelephone, geo, openingHoursSpecification, url
JobPostingJob postingtitle, description, datePosted, hiringOrganization, jobLocationbaseSalary, employmentType, validThrough
VideoObjectVideoname, thumbnailUrl, uploadDatecontentUrl or embedUrl, duration, description
AggregateRatingReview snippet (stars)ratingValue + ratingCount or reviewCountbestRating, worstRating

Based on Google Search Central's structured data documentation. Google updates these requirements from time to time, so treat the table as a checklist, not a guarantee.

Value formats that trip people up

PropertyWrongRight
Dates (datePublished, startDate…)March 14, 2025, 14/03/20252025-03-14 or 2025-03-14T19:30:00-05:00
Durations (cookTime, duration…)10 minutes, 1:30PT10M, PT1H30M
price$89.99, 1,299.00, 89,9989.99, 1299.00
priceCurrency$, usd, DollarsUSD (ISO 4217)
availabilityIn stockhttps://schema.org/InStock
URLs (image, url, logo)/images/photo.jpghttps://www.example.com/images/photo.jpg
Type and property names"@type": "product", "Name""@type": "Product", "name" (case-sensitive)

JSON-LD, microdata or RDFa?

JSON-LD is a separate <script type="application/ld+json"> block, easy to generate and maintain without touching the visible HTML, and is the format Google recommends. Microdata adds itemscope, itemtype and itemprop attributes to existing HTML elements, which keeps the markup next to the visible content but makes templates harder to edit. RDFa uses vocab, typeof and property attributes in a similar way. All three are supported by Google; you can mix them on one page, but avoid describing the same item twice in different formats. Use Copy as JSON-LD above to convert microdata items into a JSON-LD block.

Frequently asked questions

What is structured data?

Structured data is machine-readable information added to a web page, usually as JSON-LD in a script tag, that describes the page's content using schema.org types such as Product, Article, Recipe or Event. Search engines use it to understand the page and may show rich results like star ratings, prices or breadcrumbs.

Which formats does this validator support?

JSON-LD (Google's recommended format), microdata (itemscope, itemtype and itemprop attributes) and basic RDFa (typeof and property attributes). Paste a full HTML page, a single script tag, or raw JSON starting with { or [.

What is the difference between an error and a warning?

Errors are problems that make the markup invalid or ineligible for its rich result, such as broken JSON, a missing required property or a price written as $19.99. Warnings are missing recommended properties or questionable values: the item can still be eligible, but adding them gives search engines more to work with.

Is this the same as Google's Rich Results Test?

No. It checks your markup against schema.org and Google's documented required and recommended properties, entirely in your browser, so it works on unpublished pages and pasted snippets. Google's own test also renders the live page and applies policies, so use it as a final check before publishing.

Why does my valid FAQ markup not show in Google?

Since August 2023 Google shows FAQ rich results only for well-known, authoritative government and health websites, and it stopped showing How-to rich results in September 2023. The markup can still be valid, which this tool tells you, but it will not produce a rich result on most sites.

Can it fetch a URL directly?

No. Browsers block web pages from reading other websites' HTML (CORS), and this tool sends nothing to a server. Open the page, view its source, and paste the HTML here, or save the page and open the .html file.

Does valid structured data guarantee rich results?

No. Valid, complete markup makes a page eligible, but Google decides whether to show a rich result based on content quality, policies and the search query. Markup must also describe content that is visible on the page.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

Schema Markup Generator (JSON-LD)Create JSON-LD structured data for FAQ, Product, Article and more.Meta Tag AnalyzerPaste page HTML to audit title, description, canonical, robots, Open Graph and hreflang tags.JSON ValidatorCheck JSON with the exact line and column of each error, fix tips and one-click auto-fix.Open Graph PreviewPaste OG tags and preview how links look on Facebook, X and LinkedIn.Privacy Policy GeneratorCreate a privacy policy for your website or app with CCPA, CalOPPA, COPPA and AdSense sections.UTM Campaign URL BuilderAdd UTM tracking parameters to links and make a QR code.Meta Tag GeneratorCreate SEO, Open Graph and X meta tags with live previews.Robots.txt GeneratorBuild a robots.txt file with rules, sitemap lines and AI-bot blocking presets.Sitemap GeneratorTurn a list of URLs into a valid XML sitemap file.SERP Snippet PreviewPreview your title tag and meta description with pixel-accurate truncation on desktop and mobile.Hreflang Tag GeneratorCreate hreflang tags, sitemap entries and Link headers for every language and region, validated.Canonical Tag GeneratorNormalize URLs and create rel=canonical tags and HTTP headers, for one page or a whole list.Content Security Policy GeneratorBuild a CSP header or meta tag with nonces, hashes, presets and report-only mode.Robots.txt TesterTest whether a URL is allowed or blocked by robots.txt for Googlebot and other crawlers.Sitemap URL ExtractorExtract every URL from a sitemap.xml or sitemap index, validate it and export to CSV or TXT.Cookie Consent Banner GeneratorDesign a cookie banner with accept, reject and settings buttons and copy the HTML/CSS/JS.FAQ Schema GeneratorTurn questions and answers into FAQPage JSON-LD markup with validation and a preview.Google Review Link GeneratorTurn a Google Place ID into a direct review link, QR code and printable review card.Keyword Suggestion ToolTurn one seed keyword into hundreds of Google and YouTube autocomplete keyword ideas.Local Business Schema GeneratorCreate LocalBusiness JSON-LD with address, geo, opening hours, holiday hours and sameAs links.Terms and Conditions GeneratorCreate terms of service for a website, store, SaaS or app, with payments and governing law.Breadcrumb Schema GeneratorBuild BreadcrumbList JSON-LD plus the matching HTML breadcrumb from names and URLs.Cookie Policy GeneratorCreate a cookie policy with a ready cookie table for Google Analytics, AdSense, Meta Pixel and more.Disclaimer GeneratorWrite a website disclaimer for affiliate, health, finance or blog sites, with short post notices.Keyword CombinerCombine up to 4 keyword lists into every combination in broad, phrase and exact match.Long Tail Keyword GeneratorTurn a seed keyword into long-tail keywords with best, how to, near me, year and for X modifiers.On-Page SEO CheckerPaste page HTML and a keyword to audit title, meta, headings, alt text and keyword use.App Privacy Policy GeneratorCreate a privacy policy for your iOS or Android app from its SDKs, permissions and data.URL Tracking RemoverStrip utm, fbclid, gclid and other tracking parameters from one link or hundreds at once.YouTube Keyword ToolFind YouTube search suggestions for a video topic with A-Z expansion and copy them as tags.
See all 28 SEO & Marketing Tools →