Schema Validator
Validate JSON-LD schema markup. Check syntax, required fields, data types, and Google rich results eligibility instantly.
📚 Example Schemas
🎯 What This Validator Checks
- JSON Syntax: Valid JSON-LD format and structure.
- Schema Type: Recognized schema.org type.
- Required Fields: All mandatory properties present.
- Property Names: Valid schema.org vocabulary.
- Data Types: Correct formats (URL, Date, Number).
- Nested Schema: Valid nested objects.
- Google Requirements: Rich results eligibility.
- Common Errors: Missing @context, typos, deprecated fields.
How to Use Schema Validator to Check JSON-LD Markup
Validate schema markup instantly. Check JSON-LD syntax, required fields, data types, and Google rich results eligibility. Supports Article, Product, LocalBusiness, FAQ, and 10+ schema types. Free schema.org validator tool.
Getting Started
Validate schema markup in seconds.
- Paste Schema: Copy your JSON-LD code and paste it in the text area.
- Click Validate: Tool analyzes syntax, structure, and requirements instantly.
- Check Results: See if schema is valid, with errors highlighted.
- Review Errors: Red errors must be fixed, yellow warnings are optional.
- Check Google Eligibility: See if schema qualifies for rich results.
- Fix Issues: Follow specific recommendations to correct problems.
- Revalidate: Paste updated code and check again until valid.
- Implement: Add validated schema to your website HEAD or BODY.
What Gets Validated
Comprehensive schema checking.
- JSON Syntax: Checks if code is properly formatted valid JSON.
- Schema Type: Verifies @type is present and recognized.
- Required Fields: Checks all mandatory properties for schema type.
- Property Names: Validates against schema.org vocabulary.
- Data Types: Checks URLs, dates, numbers are correct format.
- Nested Schema: Validates nested objects like Person, Organization.
- Google Requirements: Checks rich results eligibility criteria.
- Common Errors: Detects missing @context, typos, deprecated fields.
Supported Schema Types
Multiple schema.org types validated.
- Article: Blog posts, news articles, editorial content.
- Product: E-commerce products with prices and reviews.
- LocalBusiness: Physical stores, restaurants, service businesses.
- Organization: Companies, brands, nonprofits.
- Person: Individual profiles, authors, team members.
- Recipe: Cooking recipes with ingredients and instructions.
- Event: Concerts, conferences, webinars, meetups.
- FAQ: Frequently asked questions and answers.
- HowTo: Step-by-step tutorials and guides.
- VideoObject: Video content for video search.
- BreadcrumbList: Breadcrumb navigation trails.
- Review: Product reviews and ratings.
JSON Syntax Validation
First validation check performed.
- Parser: Uses JavaScript JSON.parse() for accurate checking.
- Error Detection: Catches missing commas, brackets, quotes.
- Line Numbers: Shows exactly where syntax errors occur.
- Common Issues: Trailing commas, unescaped quotes, missing brackets.
- 100% Accurate: JSON parsing is deterministic and precise.
- Quick Feedback: Instant syntax error reporting.
- Formatted Display: Shows error message and location.
- Must Pass: Cannot proceed to schema validation until JSON is valid.
Required Fields Check
Schema type specific requirements.
- Article Requires: headline, image, datePublished, author.
- Product Requires: name, image, offers with price.
- LocalBusiness Requires: name, address with postal details.
- Recipe Requires: name, image, recipeIngredient, recipeInstructions.
- Event Requires: name, startDate, location.
- Person Requires: name at minimum.
- Based on Schema.org: Official documentation standards.
- Google Requirements: Separate check for rich results eligibility.
Data Type Validation
Format checking for different field types.
- URL Validation: image, url, logo must be valid http/https URLs.
- Date Format: datePublished, startDate must be ISO 8601 (YYYY-MM-DD).
- Price Validation: Offers price must be numeric value.
- Rating Values: AggregateRating must have valid ratingValue (0-5).
- Email Format: Email fields must be valid email addresses.
- Telephone: Phone numbers should follow E.164 format.
- Pattern Matching: Regular expressions validate formats.
- Type Checking: Ensures correct data type (string, number, object).
Nested Schema Support
Validates complex nested structures.
- Author Object: Person or Organization nested in Article.
- Address Object: PostalAddress nested in LocalBusiness.
- Offers Object: Offer nested in Product schema.
- Publisher Object: Organization nested in Article.
- Image Object: ImageObject with url property.
- Rating Object: AggregateRating nested in Product.
- Recursive Validation: Checks nested objects at all levels.
- Type Checking: Validates @type in nested objects.
Google Rich Results
Eligibility for enhanced search appearance.
- Rich Snippets: Additional information displayed in search.
- Article Rich Results: Image, date, author shown in results.
- Product Rich Results: Price, rating, availability displayed.
- Recipe Rich Results: Image, rating, cooking time shown.
- Event Rich Results: Date, location, ticket info displayed.
- FAQ Rich Results: Questions expanded directly in search.
- Eligibility Check: Validates Google specific requirements.
- Not Guaranteed: Passing validation doesn't guarantee rich results.
Common Schema Errors
Frequent mistakes detected by validator.
- Missing @context: Must include "https://schema.org".
- Missing @type: Required to identify schema type.
- Wrong Property Names: Typos like "headling" instead of "headline".
- Invalid URLs: Missing http/https or malformed URLs.
- Wrong Date Format: Using "May 17, 2024" instead of "2024-05-17".
- Missing Required Fields: Forgetting mandatory properties.
- Incorrect Nesting: Missing @type in nested objects.
- String vs Number: Using string "29.99" instead of number 29.99 for price.
Error vs Warning
Understanding validation severity.
- Errors (Red): Must be fixed or schema is invalid.
- Warnings (Yellow): Recommended fixes for better results.
- Errors Block: Prevent Google from understanding schema.
- Warnings Reduce: Rich results eligibility but not invalid.
- Fix Errors First: Required to have working schema.
- Then Warnings: Improve SEO and rich snippet chances.
- Example Error: Missing required "headline" field.
- Example Warning: Missing recommended "dateModified" field.
Property Name Checking
Validates against schema.org vocabulary.
- Schema.org Standard: Official property name list.
- Typo Detection: Flags "iamge" should be "image".
- Unknown Properties: Warns about non-standard fields.
- Case Sensitive: Property names must match exactly.
- Suggestions: Tool suggests correct property names.
- Custom Properties: Schema.org allows extensions with namespaces.
- Deprecated Fields: Warns about outdated properties.
- 95% Accurate: Based on documented schema.org vocabulary.
How to Fix Errors
Step-by-step error resolution.
- Read Error Message: Tells you exactly what is wrong.
- Check Example Code: Validator shows correct format.
- Add Missing Fields: Include all required properties.
- Fix Data Types: Convert strings to numbers or URLs where needed.
- Correct Typos: Fix property name spelling.
- Add @context: Include schema.org context at top.
- Validate Nested Objects: Ensure all nested schema have @type.
- Revalidate: Test again after each fix until clean.
FAQ
Is this validator as accurate as Google's tool?
Can I validate schema on my live website?
What if my schema type is not in the list?
Do I need to fix all warnings?
Why does my valid schema not show rich results?
Can I validate multiple schemas at once?
What is the difference between @context and @type?
Should I use JSON-LD or Microdata?
How accurate is the Google eligibility check?
Can schema hurt my SEO if implemented wrong?
Related tools
Pro tip: pair this tool with URL SEO Score Checker and Subheading Quality Checker for a faster SEO workflow.