Meta tags, Open Graph, X Cards, robots directives, live preview, and a built-in health dashboard — everything you need to ship SEO-ready content.
SEO Health
Your page is in excellent shape
https://example.com › about
About Our Company — Example Site
Learn about our mission, team, and values. We build products that help businesses grow their online presence.
Features
A complete toolkit that handles meta tags, social cards, indexing controls, and content health — all inside Sanity Studio.
Title, description, keywords, canonical URLs with character guidance.
95-point scoring system with actionable improvement tips. Track SEO health across all documents.
Complete OG support — title, description, image, site name, URL, and type.
Summary, large image, app, and player cards with handle support.
See exactly how your page appears in Google results — in real time as you type.
Control indexing, following, and max snippets per document.
Customize labels, descriptions, and placeholders for every field.
Show or hide specific fields per document type or globally.
Works out of the box. Add to plugins and start using immediately.
How It Works
import { defineConfig } from 'sanity'
import seofields from 'sanity-plugin-seofields'
export default defineConfig({
plugins: [
seofields(), // zero-config
],
schema: {
types: [/* your schemas */],
},
})import { defineField, defineType } from 'sanity'
export default defineType({
name: 'page',
title: 'Page',
type: 'document',
fields: [
defineField({ name: 'title', type: 'string' }),
defineField({ name: 'slug', type: 'slug' }),
defineField({
name: 'seo',
title: 'SEO',
type: 'seoFields',
}),
],
})const query = groq`
*[_type == "page" && slug.current == $slug][0]{
title,
seo {
title,
description,
canonicalUrl,
openGraph { title, description, image },
twitter { card, title },
robots { index, follow }
}
}
`Health Dashboard
Every document gets an instant health score with field-level feedback — right inside Sanity Studio.
Excellent
All checks passed
Poor
0–29
Needs Work
30–59
Good
60–79
Excellent
80–95
Free, open source, and ready to use. Install the plugin and start improving your SEO in minutes.