Everything *[NYC] 2026: see what we announced. →
Skip to content

Netlify CMSThe headless CMS for sites on Netlify

Netlify builds and serves your site. Sanity runs the content behind it. Model content as structured data, let editors publish without touching Git, and trigger a Netlify build only when content that matters changes. Works with Astro, Next.js, Eleventy, Hugo, Gatsby, and SvelteKit.


Sanity + Netlify, from publish to deploy

  • Publish in Sanity, build on Netlify

    Point a GROQ-powered webhook at a Netlify build hook. Filter by document type or field, so a typo fix in a draft doesn't kick off a build but a published product page does.

  • Deploy status inside the Studio

    The community Netlify plugin adds a Deploy tool to Sanity Studio. Editors can trigger builds for one or more Netlify sites and watch deploy status without opening the Netlify dashboard.

  • Content that lives outside your repo

    Git-based CMSes turn every edit into a commit. Sanity stores content in Content Lake, so editors collaborate in real time, no one fights merge conflicts, and your repo stays code-only.

  • Build time or runtime, your choice

    Fetch content with GROQ at build time for static pages, or at request time from Netlify Functions and SSR routes. Same API, same content, whichever rendering mode you use.

  • Schema in code, versioned with your site

    Content models are TypeScript in your repo. Review them in pull requests and test them on Netlify Deploy Previews before they reach production.

  • Previews editors can trust

    Visual Editing shows draft content in your real frontend, so editors see what a change looks like before it ships. Click any element to jump to the field behind it.

Trusted by leading digital innovators

  • Figma
  • Anthropic
  • Brex
  • Shopify
  • Linear
  • Skims
  • Unity
  • loveholiday
  • Expedia Group
  • Mejuri
  • Replit
  • Tecovas
  • PUMA
  • MoMA

Platform Overview

Sanity's Content Operating System

The intelligent backend for companies building AI content operations at scale.

  • Content Lake

    A no-ops storage and distribution layer that syncs content and data for use by teams across your organization. Its precise query language enables reusing content anywhere.

    Explore Content Lake →
  • Sanity Studio

    A content workspace you can tailor to match your team's needs—with all the visual tools they expect built-in. Real-time collaboration removes bottlenecks and empowers teams with custom access and workflows.

    Sanity Studio →
  • APIs

    Sanity's APIs are designed for developers to thrive. They seamlessly integrate with existing CI/CD workflows, support programmatic schema coding, and offer real-time 2-way syncing.

    Read docs →
  • AI built into every layer

    Content Agent runs bulk edits and audits through conversation. Agent API handles schema-aware generate, transform, and translate. Compute triggers automation on any content change. And the MCP Server gives AI agents governed access to your content. It's not bolted on — it's built in.

    Explore all →

FAQ: Using Sanity as a CMS for Netlify

What happened to Netlify CMS?

Netlify CMS was renamed Decap CMS in 2023 and is now maintained outside Netlify. It's a Git-based CMS: content is stored as files in your repository and every edit becomes a commit.

That works for small sites. Teams that need structured content reused across pages and channels, real-time collaboration, or editorial workflows usually move to an API-based headless CMS like Sanity.

Does Netlify have a built-in CMS?

No. Netlify builds, deploys, and hosts your site, and you bring the CMS. Any headless CMS that delivers content over an API works with Netlify. Sanity is a common choice for teams that want structured content and a customizable editing environment.

How do I rebuild my Netlify site when content changes in Sanity?

Create a build hook in your Netlify site settings, then add it as a webhook in your Sanity project. Use a GROQ filter so the webhook only fires for the documents that affect your site.

Learn more: GROQ-powered webhooks

Is there a Sanity plugin for Netlify?

Yes. sanity-plugin-netlify is a community-maintained, MIT-licensed plugin that adds a Deploy tool to Sanity Studio for triggering Netlify build hooks and tracking deploy status. Check its compatibility with your Studio version before installing.

Which frameworks work with Sanity on Netlify?

Any framework Netlify can build. Sanity's APIs are HTTP-based, so Astro, Next.js, Eleventy, Hugo, Gatsby, SvelteKit, Nuxt, and Remix can all fetch content at build time or runtime.

Can editors preview unpublished content on Netlify?

Yes. With Visual Editing, editors see drafts render on a preview environment, such as a Netlify Deploy Preview, and click any element to jump to the field behind it.

There are official quickstarts for Next.js, Astro, SvelteKit, Nuxt, and React Router. Static site generators like Hugo or Eleventy need a custom setup, because the preview has to fetch draft content at request time.

Does Netlify use Sanity?

In 2022, Netlify moved its own blog from Hugo to Eleventy with Sanity as the content backend. Read how they did it.

Is Sanity free to use with Netlify?

Yes. Sanity has a free plan with a generous quota, and you can host Sanity Studio on Netlify alongside your site. Upgrade when your team needs more users, usage, or features.



Get started with Sanity


Give your Netlify site a real content backend