The Schema Markup Validator Bookmarklet is an essential tool for SEO professionals and web developers.
With one click, this bookmarklet analyzes all schema markup on the current webpage and displays detailed validation results.
Perfect for quick SEO audits and technical SEO analysis. No more manual inspection or complex tools - just click and validate!
javascript:!function(){const t=[];document.querySelectorAll('script[type="application/ld+json"]').forEach(((e,n)=>{try{const o=JSON.parse(e.textContent);t.push({type:"JSON-LD",location:`script[type="application/ld+json"]:nth-child(${n+1})`,data:o,valid:!0})}catch(e){t.push({type:"JSON-LD",location:`script[type="application/ld+json"]:nth-child(${n+1})`,error:e.message,valid:!1})}}));document.querySelectorAll("[itemtype]").forEach(((e,n)=>{const o=e.getAttribute("itemtype"),i={};e.querySelectorAll("[itemprop]").forEach((t=>{i[t.getAttribute("itemprop")]=t.textContent})),t.push({type:"Microdata",location:`[itemtype]:nth-child(${n+1})`,data:{type:o,properties:i},valid:!0})}));const e=document.createElement("div");e.style.cssText="\n position: fixed;\n top: 20px;\n right: 20px;\n width: 80%;\n max-width: 800px;\n max-height: 80vh;\n background: white;\n padding: 20px;\n border-radius: 8px;\n box-shadow: 0 2px 10px rgba(0,0,0,0.1);\n z-index: 10000;\n overflow-y: auto;\n ";const n=document.createElement("div");n.innerHTML=`\n <h2 style="margin-top: 0;">Schema Markup Analysis</h2>\n <div style="margin-bottom: 20px;">\n <button onclick="this.parentElement.parentElement.remove()" style="float: right;">Close</button>\n </div>\n ${0===t.length?"<p>No schema markup found on this page.</p>":""}\n ${t.map((t=>`\n <div style="margin-bottom: 20px; padding: 10px; border: 1px solid ${t.valid?"#ddd":"#ff4444"}; border-radius: 4px;">\n <h3 style="margin: 0 0 10px 0;">${t.type}</h3>\n <p style="margin: 0 0 10px 0;"><strong>Location:</strong> ${t.location}</p>\n ${t.valid?`<pre style="margin: 0; white-space: pre-wrap;">${JSON.stringify(t.data,null,2)}</pre>`:`<p style="color: #ff4444; margin: 0;">Error: ${t.error}</p>`}\n </div>\n `)).join("")}\n `,e.appendChild(n),document.body.appendChild(e)}();
This tool enhances your SEO workflow by:
- Automatically detecting JSON-LD and Microdata markup
- Validating schema structure and syntax
- Displaying detailed results in a formatted popup
- Highlighting any validation errors in red
- Showing the exact location of each schema element
Why Use the Schema Markup Validator? #
This powerful tool makes schema markup validation effortless. Perfect for SEO professionals, web developers, and anyone who needs to ensure their structured data is implemented correctly. Simply click the bookmarklet to instantly see all schema markup on the page, identify any errors, and verify proper implementation. Helps you quickly spot and fix schema-related issues that could affect your search engine visibility.
- Previous: Robots.txt Checker
- Next: SEO Keyword Highlighter