YouTube Video Schema Generator
Generate JSON-LD structured data markup for YouTube videos to enhance SEO and appearance in search results
Video Information
Additional Information
Generated Schema Markup
How to Implement
Copy the generated JSON-LD code and paste it into the <head> section of your HTML page, or use a plugin if you're on WordPress, Shopify, or other CMS platforms.
Schema Validator
Paste your JSON-LD schema markup below to validate it against Google's structured data guidelines.
What We Validate
- JSON syntax correctness
- Required VideoObject properties
- Property value formats
- URL validity
- Date format compliance
Validation Results
Paste your schema markup and click "Validate Schema" to see results here.
Common Validation Issues
- Missing required fields: name, description, thumbnailUrl, uploadDate
- Incorrect date format: Use YYYY-MM-DD format
- Invalid duration format: Use ISO 8601 duration format (PT15M30S)
- Malformed JSON: Missing commas, quotes, or braces
Schema Markup Examples
Basic Video Schema
{
"@context": "https://schema.org",
"@type": "VideoObject",
"name": "Video Title",
"description": "Video description",
"thumbnailUrl": "https://example.com/thumbnail.jpg",
"uploadDate": "2024-01-15",
"contentUrl": "https://www.youtube.com/watch?v=VIDEO_ID",
"embedUrl": "https://www.youtube.com/embed/VIDEO_ID"
}
Complete Video Schema
{
"@context": "https://schema.org",
"@type": "VideoObject",
"name": "Video Title",
"description": "Video description",
"thumbnailUrl": "https://example.com/thumbnail.jpg",
"uploadDate": "2024-01-15",
"duration": "PT10M30S",
"contentUrl": "https://www.youtube.com/watch?v=VIDEO_ID",
"embedUrl": "https://www.youtube.com/embed/VIDEO_ID",
"author": {
"@type": "Person",
"name": "Author Name"
},
"interactionStatistic": {
"@type": "InteractionCounter",
"interactionType": "https://schema.org/WatchAction",
"userInteractionCount": 1500
}
}
How Schema Appears in Search Results
When properly implemented, video schema can enhance your search results with:
- Video thumbnails displayed in search results
- Video duration shown next to the result
- Rich video snippets with preview capabilities
- Higher click-through rates (typically 20-30% improvement)
- Better positioning in video carousels and featured snippets
What is YouTube Video Schema?
Video Schema (also known as VideoObject structured data) is a standardized format for providing information about a video to search engines. It uses the Schema.org vocabulary in JSON-LD format to describe video content in a way that search engines can understand and display more prominently in search results.
Benefits of Video Schema
- Enhanced Search Appearance: Videos with schema markup often appear with rich snippets including thumbnails, duration, and upload dates
- Higher Click-Through Rates: Rich results typically see 20-30% higher CTR than regular search results
- Video Carousel Eligibility: Schema-markup videos are more likely to appear in Google's video carousels
- Improved Video SEO: Helps search engines understand your video content better
- Cross-Platform Compatibility: Works with Google, Bing, Yandex, and other search engines
Required Properties
@context: Must be "https://schema.org"@type: Must be "VideoObject"name: The title of the videodescription: Description of the videothumbnailUrl: URL of the video thumbnailuploadDate: Date when the video was uploaded (YYYY-MM-DD)contentUrlorembedUrl: URL to the video content
How to Implement Video Schema on Your Website
Step-by-Step Implementation
- Generate Schema: Use our tool above to create JSON-LD markup for your YouTube video
- Copy the Code: Click "Copy Schema" to copy the generated JSON-LD code
- Paste in HTML: Paste the code into the
<head>section of your webpage - Test Implementation: Use Google's Rich Results Test to verify your schema
- Monitor Performance: Check Google Search Console for rich result status
Platform-Specific Instructions
WordPress
- Use plugins like Yoast SEO, Rank Math, or Schema Pro
- Add custom HTML block with the schema code
- Use header/footer plugins to insert code site-wide
- Consider dedicated schema plugins for advanced implementations
Shopify
- Edit theme.liquid file in the <head> section
- Use Shopify apps like JSON-LD for SEO
- Add schema to product pages with video content
- Consider hiring a Shopify expert for complex implementations
HTML Websites
- Paste schema directly in the <head> section of each page
- Use server-side includes for multiple pages
- Consider static site generators with schema templates
Other CMS Platforms
- Wix: Use custom code embed in page settings
- Squarespace: Add code injection in site settings
- Webflow: Add custom code in project settings
- Blogger: Edit theme HTML in layout section
Testing and Validating Your Schema
After implementing video schema, it's crucial to test it to ensure it's correctly formatted and will be recognized by search engines.
Google's Official Testing Tools
- Rich Results Test: Test individual URLs for rich result eligibility
- Schema.org Validator: Official schema.org validation tool
- Google Search Console: Monitor rich result status and performance
- Structured Data Guidelines: Official Google documentation
Common Mistakes to Avoid
- Incorrect date format: Use YYYY-MM-DD (ISO 8601)
- Missing required properties: Ensure all required fields are included
- Invalid URLs: Use absolute URLs (including https://)
- Duplicate schema: Don't include multiple VideoObject schemas for the same video
- JSON syntax errors: Validate JSON structure before implementation