How to add schema markup to your website

Schema and SEO6 steps1 hour

Step-by-step instructions for adding JSON-LD structured data to your website so AI models and search engines can better understand your brand.

Tools needed
  1. 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. 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. 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. 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. 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. 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 free

Related guides

Schema and SEO

How to add FAQ schema to boost AI citations

Schema and SEO

How to implement product schema for e-commerce brands

Schema and SEO

How to set up local business schema for AI discovery

Latest from the blog

6 min read

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.

AI search optimizationAI search visibility tracking & optimizationChatGPT visibility trackers
5 min read

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

ai search optimizationai search visibility tracking & optimizationchatgpt visibility trackers
5 min read

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 search optimizationai search visibility tracking & optimizationchatgpt visibility trackers
14 min read

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.

ai visibility benchmarksignal scoreai search visibilitybrand monitoring