What Sanity is
Sanity is a headless CMS. It stores content and hands it to your site through an API, but it does not build the pages.
A headless CMS is a back end only: a place to write, store and organise content. The pages come from a separate front end, built by a developer. The Astro docs put it in one line: Sanity focuses on structured content. In plain words, content is kept as fields, not as finished pages.
Sanity has three parts. Sanity Studio is where editors work. The Content Lake is where the content lives. GROQ is how the site asks for it. Sanity is the name of both the product and the firm behind it, and the docs live at sanity.io. The next sections take the parts one at a time.
Studio, Content Lake and GROQ
Each part does one job, and a team touches each one in a different way.
Sanity Studio
Sanity Studio is the editing app. It is open source and runs in the browser. Developers describe the content model in JavaScript or TypeScript, and the Studio builds the forms from it. Several people can edit at once and see each other's changes live. You can host the Studio on a sanity.studio address, on your own host, or inside your site on its own route.
The Content Lake.
The Content Lake is the hosted database behind every project. Sanity keeps content in it as JSON documents. Documents can point to each other, so one author can sit on many posts. Images and files go through an assets API. Drafts and published versions are kept apart.
GROQ
GROQ is the query language. A query picks the documents, follows references and returns only the fields the page needs. The query *[_type == "post"] | order(publishedAt desc) returns every post, newest first. GraphQL works too. Drafts come back only to requests that carry a token.
Schemas: content shaped by the team
In Sanity, the team decides what content looks like, field by field, in code.
A schema lists the types of documents and fields that editors can fill in. There are types for plain text, slugs, images, references and rich text. Rich text is saved as Portable Text, so it can render in any front end. A field can also hide or show based on the value of another field.
A content model usually takes shape in this order:
- List the types of content: pages, posts, case studies, team members.
- Write down the fields each type needs, and which ones are required.
- Decide which types point to others, like a post to its author.
- Write the schema in JavaScript or TypeScript and deploy the Studio.
- Write the GROQ queries the front end uses to build each page.
The model can change later, and Sanity documents how to move schema and content. But it is code work. A new field means a schema change and often a front end change too.
How Sanity differs from Webflow CMS and WordPress
Sanity keeps content apart from design. Webflow CMS and WordPress keep them in one product.
Wikipedia calls the second kind a coupled CMS. The editing tools, the content, the design and the templates sit in one app. WordPress pages come from a theme. Webflow pages come from the canvas, where a designer ties CMS fields to a layout. In Sanity, the layout lives in a separate front end, so a developer builds each page template.
| Sanity | Webflow CMS | WordPress | |
|---|---|---|---|
| Where content lives | In the Content Lake, hosted by Sanity. | In Webflow, next to the site. | In your own MySQL or MariaDB database. |
| Who builds the pages | A developer, in a front end such as Astro. | A designer, on the Webflow canvas. | A theme, plus the block editor. |
| Content model | Schemas written in JavaScript or TypeScript. | Collections and fields set up in Webflow. | Posts and pages, extended with plugins. |
| How the site reads content | GROQ or GraphQL over an API. | Webflow renders it, or the CMS API. | PHP templates in the theme. |
| Editing together | Real-time editing and live presence. | Edit mode on the live page layout. | The block editor, known as Gutenberg. |
| Hosting | Content on Sanity, site on any host. | Webflow hosts the whole site. | Any web server that runs PHP. |
| Free start | Free plan with 20 seats and 10,000 documents. | Free Starter plan with a limited CMS. | Free software, hosting paid apart. |
Sanity vs WordPress is the most common form of this question. WordPress is free software that you install on a web server. Themes set the design and plugins add features, so a site can run from a theme with no developer. Sanity is a hosted service with no themes. The content model and the front end are built for your site, and the content stays as clean fields that any page or app can read.
The trade is simple. With Sanity, editors get a clean form, and developers get full control of the front end. With Webflow, a designer can change a layout without code. One example of the second kind: OrangeOrange built a resource hub on the Navina Webflow site with 6 CMS collections. About 12 people edit it with no developer.
What a team gets and what it pays
Sanity has a free plan, then a per-seat Growth plan, then Enterprise.
On the day of writing, the Sanity pricing page lists the Free plan at $0. It covers up to 20 seats, 2 roles, 2 public datasets and 10,000 documents. It also includes 250,000 API requests and 1 million CDN requests a month. Studio hosting, live preview, visual editing and real-time editing come with it.
For editors, the Studio is a set of forms, not a page. Visual editing and the Presentation tool close that gap. Editors see a live preview next to the form and click a part of the page to edit it. Both come on every plan, and so do unlimited content types and languages.
Growth costs $15 per seat a month, for up to 50 seats. It adds 5 roles, private datasets and 25,000 documents. It also adds comments, tasks, scheduled drafts and AI Assist. Extra usage is billed as you go. Enterprise is priced per deal, with single sign-on and an uptime SLA.
Two details matter early. On Free, datasets are public, so anyone with the project ID and dataset name can read the published content. Private data needs Growth or above. And Sanity is only the content side: the front end, its hosting and the developer's time are paid apart. Prices change, so check the pricing page on the day you decide.
Sanity with Astro
Astro builds the pages, and Sanity holds the content they show.
The Astro CMS guide says Astro takes care of how content is shown, so it pairs with a headless CMS. The official integration installs with npx astro add @sanity/astro @astrojs/react. It adds the Sanity client to the project and can put the Studio on a route of the same site.
On a static Astro site, pages are built from Sanity content at build time. An edit shows up on the next build. Sanity's GROQ-powered webhooks send an HTTP request when content changes. Point one at your host's build URL, and each publish starts a new build. Visitors get plain HTML pages, and editors stay in the Studio.
OrangeOrange builds Astro sites with Sanity as the CMS, for teams that want code they own.
When Sanity fits, and when it does not
Sanity fits when developers own the front end and the content has a clear shape.
- A developer or a studio builds and runs the front end, in Astro or another framework.
- Content repeats with the same fields: products, docs, case studies, team members.
- Several editors work at the same time and need to see each other's changes.
- The same content feeds more than one place, such as a site and an app.
It fits less well when marketers want to make new page layouts on their own, every week. A visual builder suits that team better. Read Webflow vs Framer to compare two of them, or see the glossary for the term. If the stack is still open, the website development page covers Webflow, Framer and Astro builds.





