SEO PROMPT #25·Technical SEO & Schema·Code Execution
Compare Server HTML vs. Client-Rendered DOM
2026-11-244 customizable variablesSource & rendered HTML
Use an HTML parser to diff raw server HTML against rendered DOM across content, links, canonicals, robots directives, and JSON-LD without assuming every bot renders identically.
Customize Variables (Live Preview)
Target page URL under audit.
Raw server HTML, rendered DOM HTML, headers, and screenshot.
Capture timestamp and rendering environment per file.
Optional Google Search Console live test HTML/screenshot.
Copy-Ready Prompt Template
Data-backed workflow: prepend the Universal Data-Grounding Preamble for safer runs.
Page: [URL] Captured files: [SERVER HTML, RENDERED HTML, HEADERS, AND SCREENSHOT] Capture details: [DATE AND RENDERING METHOD FOR EACH FILE] Optional Google rendering evidence: [FILES] Compare the supplied files. Check the main content, headings, internal links, canonical URL, robots directives, and structured data. Use an HTML parser for structural comparisons. Identify content or links that appear only after JavaScript runs, conflicting directives, and elements missing from the rendered output. Return a table with element, source state, rendered state, exact evidence, possible consequence, and recommended verification. Separate observed differences from suspected causes. If Google's rendered-page evidence is supplied, compare it separately rather than assuming it matches the local browser. Do not conclude that every search engine or AI crawler sees the same page. Flag blocked resources and incomplete captures. Finish with a focused developer checklist and a repeatable check for each proposed fix.
Required Inputs & Setup
Target URL, captured server HTML, rendered HTML, HTTP headers, screenshot (with dates/rendering method), and optional Google URL Inspection rendering evidence.
Usage Notes & Guardrails
- Especially critical for AI crawlers that skip heavy JS execution; always compare Google's rendered capture separately from local headless renders.