How to add schema markup to your website
Step-by-step instructions for adding JSON-LD structured data to your website so AI models and search engines can better understand your brand.
- 1
Choose your schema types
Start with Organization schema on your homepage. Add Product or SoftwareApplication on product pages, FAQPage on FAQ pages, Article or BlogPosting on blog posts, and LocalBusiness if you have a physical location.
- 2
Write your JSON-LD block
Create a JSON-LD script tag with @context set to https://schema.org. Include @type, name, url, description, and logo. Add sameAs with URLs to all your official social profiles.
- 3
Add it to your HTML
Place the JSON-LD script tag in the head or body of your page. In React/Next.js, use a script tag with type="application/ld+json" and dangerouslySetInnerHTML. In WordPress, use a plugin like Yoast or RankMath.
- 4
Validate your markup
Test every page with Google Rich Results Test (search.google.com/test/rich-results) and Schema.org Validator (validator.schema.org). Fix all errors and warnings before deploying.
- 5
Add page-specific schema
Expand coverage: add FAQPage schema with Question and acceptedAnswer entities to FAQ pages. Add BreadcrumbList to all pages. Add AggregateRating if you have reviews.
- 6
Validate after every deployment
Add schema validation to your deployment checklist or CI pipeline. Re-test whenever you change page templates or content structure.
See what AI says about your brand
RankSignal.ai scans ChatGPT, Claude, Gemini, Perplexity, and Grok to show how AI models perceive your brand. Try a free scan.
Scan your brand freeRelated guides
Latest from the blog

Mastering semantic search for AI-driven SEO success
To succeed in AI-driven SEO, mastering semantic search is essential. Semantic search focuses on understanding user intent and context, enhancing the relevance of search results. By optimizing content for semantic search, brands can improve their visibility across AI platforms like ChatGPT and Grok.

Building topical authority for AI search success
To build topical authority for AI search success, focus on creating high-quality, relevant content that aligns with your audience's needs. Establishing authority involves consistent content updates, engaging with AI tools, and monitoring brand signals. RankSignal.ai can help track your brand's visib
Mastering AI-driven brand mention tracking
To effectively track brand mentions in AI-driven search results, leverage specialized tools and strategies that focus on AI search optimization. Start by understanding how AI platforms like ChatGPT and Grok index content. Use RankSignal.ai to monitor your brand's visibility and reputation across the

AI visibility benchmark: 8 industries compared (March 2026 data)
We scanned 149 real brands across 8 industries using all five major AI models in March 2026. SaaS leads at 84/100, Legal follows at 83. Perplexity dominates, Claude lags. Explore the full data in our live benchmarks.