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

Latest from the blog

16 min read

7 ways to improve your AI visibility score

Your brand's visibility in AI search is now as important as your Google ranking. This guide covers seven specific, actionable strategies that improve how AI models recognize, describe, and recommend your brand.

AEOAI SearchTips
8 min read

Understanding AI search visibility for your brand

AI search visibility determines how easily your brand can be found through AI-powered search platforms like ChatGPT and Claude. It's crucial for maintaining a strong online presence. By leveraging tools like RankSignal.ai, you can monitor and improve how AI describes your brand, ensuring accurate an

ai search visibility toolsai search monitoringbrand signal monitoring
19 min read

The complete guide to answer engine optimization (AEO)

Answer engine optimization (AEO) is the practice of structuring your content so AI platforms can find, extract, and cite it. This comprehensive guide covers 8 pillars of AEO, from structured data and schema markup to entity consistency and technical foundations.

AEOSEOAI Search
15 min read

Personal branding in the age of AI search: advanced tactics

The basics of personal AI brand signal are table stakes. This advanced guide covers entity profiles (Wikipedia, Wikidata, Knowledge Graph, Person schema), content strategies that make AI models cite you, cross-platform consistency, and systematic approaches to correcting AI inaccuracies about you pe

Personal BrandingAI Search