Does Sanity work in China?
Whether you can use Sanity in mainland China is a data-residency and reachability question first, not a speed one. Sanity is a hosted headless CMS: your content lives in its Content Lake and is served through a content API, and where that content is stored — and where the API answers from — is what China's law responds to.
Sanity's own subprocessor page states it “uses Google's cloud hosting services to host the Sanity Platform and all related data,” with the location of processing listed as “Belgium (Primary), United-States of America” — neither inside mainland China. So your content, and any personal data your schemas hold about China users, sits offshore: a cross-border transfer of personal information PIPL governs. That same offshore, Google-Cloud-hosted content API is the reachability concern, since a Google Cloud endpoint is not something you can count on reaching reliably from inside the mainland. And because Sanity is a backend behind a frontend you build and host, the ICP filing lands on your public mainland site, not on Sanity. The table below pairs Sanity's own wording with the rule each line triggers.
This is a risk picture, not a verdict — what applies turns on what your schemas hold, how much of it is personal, and who your users are. Our China team can map your Sanity exposure with you →
What actually decides whether you can use Sanity in China
| Fact | Primary source |
|---|---|
| In Sanity's own words, it hosts the whole platform and all related data on Google Cloud — offshore. Sanity's subprocessor page states it “uses Google's cloud hosting services to host the Sanity Platform and all related data through its Google Cloud Platform offering,” and lists the location of processing as “Belgium (Primary), United-States of America.” Neither is in mainland China, and Sanity publishes no mainland-China region — so your Content Lake, the store your whole project is built on, and anything personal in it live offshore. | Sanity — Third-party Subprocessors (sanity.io), retrieved 2026-10-07 |
| Personal data in your content models is held offshore, which PIPL treats as a cross-border transfer. A headless CMS stores more than marketing copy — author profiles, user-generated content, comments and form-style entries can all be personal information. Gathered from people in China and kept in Sanity's offshore Content Lake, that is a cross-border transfer of personal information under PIPL: the handler — you, Sanity's customer, not Sanity — must give notice, obtain separate consent, and satisfy one transfer mechanism (a CAC security assessment, the CAC standard contract, or certification). | PIPL Chapter III, Articles 38–43 |
| There is no region setting that keeps the content on Chinese soil. For a critical information infrastructure operator or a large-volume handler, personal information collected in China must be stored in the mainland (PIPL Article 40; Cybersecurity Law Article 39 (formerly Article 37)). Because Sanity hosts on Google Cloud with no mainland-China region — processing in Belgium and the US — meeting that duty means running the storage on infrastructure inside the mainland, a separate arrangement from your Sanity project. | PIPL Article 40; Cybersecurity Law Article 39 (formerly Article 37) |
| The ICP filing attaches to your public site, not to the headless backend. Sanity is a content API your frontend queries; an ICP filing (State Council Order No. 292; MIIT Order No. 33) attaches to the public mainland website or app you build on top of it and the in-country hosting resource it runs on — not to the CMS. With no mainland region, Sanity gives that site nothing to file against, and querying its offshore, Google-Cloud-hosted API from Shanghai is not the same as being licensed to operate a public site there. | State Council Order No. 292 (Measures for the Administration of Internet Information Services), Article 4; MIIT Order No. 33 |
Sources verified by the 21YunBox compliance team on 2026-10-07.
Sanity is one of the best-known headless CMSes for structured content, and “does Sanity work in China” has an answer that has little to do with how fast a page paints. Sanity is not software you run on a server of your own choosing — it is a hosted service. Your content lives in Sanity’s Content Lake and is served to your frontend through a content API, and both run on infrastructure Sanity picks. So the honest version of the question is not “is Sanity fast enough,” but “where does Sanity keep your content, can that offshore content API be reached from the mainland, and who has to be licensed to serve the public site you build on it.”
Those are compliance and reachability questions, and they are the half of “does Sanity work in China” that no amount of caching or tuning answers. Below is what Sanity documents about where it hosts your content and data, how its content API is delivered, and the ICP filing a public mainland site turns on — in Sanity’s own words and China’s own law, so you can take it to counsel rather than to a benchmark.
Sanity in China at a glance
| What decides it | In Sanity's own words — and China's own law |
|---|---|
| Where your content lives | Sanity “uses Google's cloud hosting services to host the Sanity Platform and all related data,” with processing in “Belgium (Primary), United-States of America.” Your Content Lake is offshore, there is no mainland-China region, and nothing on Sanity keeps the China slice of your content in-country. |
| What that triggers under PIPL | Schemas that hold personal data about people in China keep it in that offshore Content Lake. For data gathered in China, that is a cross-border transfer of personal information PIPL governs — and a localization duty an offshore region cannot meet for a CIIO or large-volume handler. |
| How it is delivered | A content API your frontend queries, with an API CDN in front. Published reads can be cached near the visitor; the store and any uncached, preview or write query resolve against the offshore Google Cloud region — and a Google Cloud endpoint is not something you can count on reaching reliably from the mainland. |
| Serving the public | A public mainland site turns on an ICP filing tied to an in-country hosting resource (State Council Order 292; MIIT Order 33). As a headless backend with no mainland footing, Sanity is not what gets filed — the site you build on it is. |
| The working design | Keep your Sanity project; add ICP-filed, in-country delivery in front of the public site you already run — and, where the law requires it, keep your users' data on the mainland. An overlay, not a re-platform. |
Where Sanity keeps your content — offshore, on Google Cloud
Start with Sanity’s own subprocessor page, because it answers the question most “does it work in China” write-ups skip: where your content and data physically sit. Sanity “uses Google’s cloud hosting services to host the Sanity Platform and all related data through its Google Cloud Platform offering,” and it lists the location of that processing as “Belgium (Primary), United-States of America.” Both are offshore; neither is inside mainland China, and Sanity publishes no mainland-China region.
That settles the residency question before performance is ever in frame. Everything your project is built on lives in Sanity’s Content Lake — and a Content Lake holds more than marketing copy. Model author profiles, account records, user-generated content, comments or form-style entries, and for people in China that personal information is written to and kept offshore. Under China’s Personal Information Protection Law that is a cross-border transfer, and the handler — you, Sanity’s customer, not Sanity — must give notice, obtain separate consent, and clear one transfer mechanism: a CAC security assessment, the CAC standard contract, or certification. For a critical information infrastructure operator or a large-volume handler, personal information collected in China must stay on the mainland (PIPL Article 40; Cybersecurity Law Article 39 (formerly Article 37)) — a residency duty no Google Cloud region Sanity offers can meet.
A hosted content API, reachable only from offshore
A headless CMS is dynamic by nature: your site asks Sanity’s content API for content rather than shipping a fixed bundle, and Sanity puts an API CDN in front of it so published reads can be answered from an edge close to the visitor. But an edge cache in front of an offshore store does not move the store. Draft and preview content, personalized or uncached reads, and every write still resolve against the Google Cloud region where your Content Lake lives — and if you let visitors submit data, Sanity’s own guidance is to route that write through a small server-side function you host, which calls the content API with a write token. Each of those paths crosses the border.
This is where reachability, not speed, is the honest concern. The content API and the Content Lake behind it are Google-Cloud-hosted and offshore, and a Google Cloud endpoint is not something you can count on reaching reliably from inside the mainland — a reachability fact, separate from any latency number. “Just put a CDN on it” under-answers the China question for a headless stack: caching the fast public reads leaves the dynamic path crossing the border, and leaves the residency and ICP facts untouched.
The ICP filing lands on your site, not on Sanity
Because Sanity is reached over an API, the licensing question does not attach to it the way it attaches to a host. It attaches to the public-facing site or app you build on top of it. A website served to mainland visitors from inside China turns on an ICP filing (ICP 备案) under State Council Order No. 292 and MIIT Order No. 33, and that filing must bind to a hosting resource physically inside the mainland and to a mainland legal entity. Sanity publishes no mainland region, so it offers your site nothing to file against — the filing is yours to arrange for the frontend you build.
So “we already run on Sanity” does not carry a site into China: querying an offshore content API from Shanghai is not the same as being licensed to operate a public site there. Whether an ICP filing, in-country storage for the personal data in your content, or both apply to you depends on what you publish, how much personal information you handle, and who your users are — a risk picture to settle with counsel before you build, not a verdict.
Where 21YunBox fits — a compliant overlay, not a migration
The useful “alternative” here is rarely swapping one headless CMS for another — it is adding the one piece a hosted CMS with no mainland footprint leaves to you. You keep authoring in Sanity, with your Content Lake, schemas and project settings exactly as they are. We supply compliant, ICP-filed delivery from inside the mainland, placed in front of the public site you already run, with a fixed in-country entry so each visitor’s real IP is not carried across the border — no rebuild, no second codebase, and no move off Sanity. Our China team weighs your ICP and PIPL data-residency obligations against your entity and the personal data your content holds, stands up the in-country delivery, and — where the law requires your users’ data to stay on Chinese soil — helps you keep that storage on the mainland, while your Sanity project stays where it is.
Related reading: