The SEO plugin for
Sanity Studio
Meta tags, Open Graph, X Cards, robots, canonical URLs, a live SERP preview and 39 Schema.org JSON-LD types, edited inside Sanity Studio.
Free, MIT-licensed core. The SEO Health Dashboard and Publish Gate are a $20 one-time license per project. No subscription.
Features
Everything you need for search-ready content
Meta tags, Open Graph, Twitter Cards, robots directives, live SERP preview, Schema.org JSON-LD, and a built-in health dashboard — all in one plugin.
Explore further
AI generation, GEO, and setup docs
Beyond the core fields above — AI-assisted copy, keyword coaching, i18n, and every guide to get set up.
$20 per project, one-time
Core SEO fields are free. A $20 one-time license per Sanity project unlocks paid features like dashboard scoring, exports, pro AI prompts, Publish Gate, and pro GEO checks. The licence is a one-time payment — no subscription.
Performance
Search Console and GA4 inside Sanity Studio
Open a document and see clicks, impressions, average position and GA4 engagement for that exact page, without switching tabs. Add scheduled plain-English email reports and expiring share links for clients. $10 per month per Sanity project, separate from the one-time license.
Blog
Sanity SEO guides and updates
WordPress to Sanity: How to Migrate Without Losing Rankings
A practical WordPress to Sanity migration playbook for keeping rankings: pre-migration snapshots, URL maps, 301 redirects, metadata parity, schema, and 90-day monitoring.
Mastering Canonical URLs and Noindex Rules in Sanity Studio
Learn how to model and render canonical URLs and noindex robots rules in Sanity Studio to control duplicate content and page indexation.
How AI Search Engines Read Structured Data: The New Schema Frontier
Discover how Large Language Models (LLMs) and AI search engines like Google AI Overviews, Perplexity, and ChatGPT use schema.org structured data to link entities, ground facts, and attribute citations in search.
Frequently asked questions
What is the best SEO plugin for Sanity?
It depends on what your team needs. sanity-plugin-seofields is a free, open-source SEO plugin for Sanity Studio v3 to v6 that adds one seoFields object (meta tags, Open Graph, X Cards, robots, hreflang), a live SERP preview, 39 Schema.org JSON-LD types, AI-assisted copy and a CLI. A one-time $20 license adds the SEO Health Dashboard and Publish Gate. The comparison page lists the alternatives and when a custom SEO object is enough.
Does Sanity generate meta tags, hreflang or JSON-LD automatically?
No. Sanity stores your content; your frontend has to render the head tags. The plugin gives editors fields for meta tags, hreflang alternates and Schema.org types, and ships helpers (buildSeoMeta, buildSeoHead and JSON-LD components) to render them from Next.js, Astro, Nuxt, Vue, SvelteKit, Remix or any custom renderer.
Is sanity-plugin-seofields free?
The core plugin is free and MIT licensed. A one-time $20 license per Sanity project unlocks the SEO Health Dashboard, Publish Gate, pro GEO checks and larger AI prompt banks. Performance, which shows Search Console and GA4 data inside Studio, is a separate $10 per month subscription per project.
Which Sanity Studio versions does it support?
Sanity Studio v3, v4, v5 and v6, with React 18 or 19. Install it with npm, yarn or pnpm and register seofields() in sanity.config.ts.
Can I see Search Console and GA4 data inside Sanity Studio?
Yes, with Performance. Open a document and see clicks, impressions, average position and GA4 engagement for that page, plus scheduled email reports and expiring client share links.
More answers in the full FAQ and the plugin comparison.
What developers say
Moderated reviews from developers. Names link to the reviewer's LinkedIn or GitHub where they shared one.
“We are using this plugin in quite a few of our websites that are doing well among the UK audience. It gives us easy, user friendly interface to work with even for users who don't have experience with headless CMSs. Kudos to the creator!”
Mithila Radampala Gamage
UI/UX Lead · healthya
Jun 19, 2026
“sanity-plugin-seofields has been a great addition to our workflow. I’ve been using it across multiple projects at work, and it has consistently made SEO management inside Sanity much easier and more organized. The plugin is simple to integrate, developer-friendly, and saves a lot of time compared to building custom SEO schemas from scratch. It keeps SEO fields consistent across projects and fits naturally into the Sanity editing experience.”
Abdul Baig
Project Manager
May 22, 2026
“Really well done, was almost exactly what I was looking for. Easy to install and use. Professional looking result.”
Olivier RAYNAUT
Developper
May 15, 2026
“If you're using Sanity and care about SEO, sanity-plugin-seofields is the most comprehensive plugin out there. It covers meta tags, Open Graph, X (Twitter) Cards, robots directives, a live SERP preview, and a 100-point health dashboard, plus Schema.org types with typed JSON-LD for AEO/GEO. Definitely worth installing on day one!”
Adam Henriksen
Sr. Full-Stack Developer · Inferno Design, LLC
May 10, 2026
Start optimizing your content
Free, open source, and ready to use. Install the plugin and start improving your SEO in minutes.