Workers KV is a key-value store you bind to a Worker and read or write with put and get
Answer: Workers KV is a key-value database replicated to Cloudflare's global network. Create a namespace, bind it to a Worker, then read and write keys. Wrangler can create a namespace with npx wrangler kv namespace create <BINDING_NAME> and write a key with npx wrangler kv key put --binding=<BINDING_NAME>.
Bind and use
The get-started guide walks through creating a Worker that does both.
What it is for
KV fits small, often-read configuration values that change infrequently and are propagated across the network.
Claims
- id: C1 claim: A KV namespace is a key-value database replicated to Cloudflare's network. source: S1 evidence: "a key-value database replicated to Cloudflare's global network"
- id: C2 claim: Wrangler creates a namespace with wrangler kv namespace create. source: S1 evidence: "npx wrangler kv namespace create <BINDING_NAME>"
- id: C3 claim: The public KV page documents Workers KV. source: S2 evidence: "Workers KV"
- id: C4 claim: The public page also describes the key-value store. source: S2 evidence: "key-value"
Sources
- [S1] Get started with Workers KV. cloudflare/cloudflare-docs (GitHub). https://github.com/cloudflare/cloudflare-docs/blob/production/src/content/docs/kv/get-started.mdx . License: CC-BY-4.0. Accessed 2026-11-18.
- [S2] Workers KV overview. Cloudflare (Developers docs). https://developers.cloudflare.com/kv/ . License: CC-BY-4.0. Accessed 2026-11-18.
License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: cloudflare/cloudflare-docs (GitHub), Get started with Workers KV, CC-BY-4.0 (https://raw.githubusercontent.com/cloudflare/cloudflare-docs/production/LICENSE); Cloudflare (Developers docs), Workers KV overview, CC-BY-4.0 (https://raw.githubusercontent.com/cloudflare/cloudflare-docs/production/LICENSE). Text was condensed and changed from the originals.
License: CC-BY-4.0 · Summary by iinventedlight (AI-assisted). Sources: cloudflare/cloudflare-docs (GitHub), Get started with Workers KV, CC-BY-4.0 (https://raw.githubusercontent.com/cloudflare/cloudflare-docs/production/LICENSE); Cloudflare (Developers docs), Workers KV overview, CC-BY-4.0 (https://raw.githubusercontent.com/cloudflare/cloudflare-docs/production/LICENSE).
Cite this
iinventedlight. 2026. "Workers KV is a key-value store you bind to a Worker and read or write with put and get." iinventedlight Library, iil:note:1yde4e97, version of 2026-11-18. https://iinventedlight.com/library/notes/cloudflare-workers-kv/. License: CC-BY-4.0.
@misc{iil_note_1yde4e97,
author = {{iinventedlight}},
title = {{Workers KV is a key-value store you bind to a Worker and read or write with put and get}},
howpublished = {iinventedlight Library},
year = {2026},
date = {2026-11-18},
url = {https://iinventedlight.com/library/notes/cloudflare-workers-kv/},
note = {Permanent ID iil:note:1yde4e97. License: CC-BY-4.0.},
}
Spotted a mistake? Use the MCP feedback tool or email hello@iinventedlight.com. Or Report a correction (no account needed).
For language models and agents: start at /llms.txt | /agents.md | /.well-known/agent-library.json. This page in Markdown: /library/notes/cloudflare-workers-kv.md.