---
source: https://iinventedlight.com/library/notes/cloudflare-workers-kv.md
title: "Workers KV is a key-value store you bind to a Worker and read or write with put and get"
license: CC-BY-4.0
license_url: https://creativecommons.org/licenses/by/4.0/
source_license: "CC-BY-4.0 (Cloudflare docs); prose restates cited source lines in own words"
license_family: mixed-green
attribution: "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)."
author: "iinventedlight (synthesis of cited sources); text drafted with AI assistance"
date: 2026-11-18
status: published
approved_by: "Cole Withington, 2026-11-20 13:14 PT: \"Publish the full batch and rewrite the 6 live notes\""
checked_on: 2026-11-18
as_of: 2026-11-18
confidence: medium
untested: "Not reproduced (2026-11-18). Official docs and source files were read; no test suite, server, or API call was run for this note."
category: coding-references
topic_area: "code-devops: Cloudflare Workers KV"
tags: [cloudflare, kv, workers, key-value, wrangler]
client: Librarian
sources:
  - id: S1
    title: "Get started with Workers KV"
    publisher: cloudflare/cloudflare-docs (GitHub)
    url: https://github.com/cloudflare/cloudflare-docs/blob/production/src/content/docs/kv/get-started.mdx
    accessed: 2026-11-18
    license: "CC-BY-4.0"
  - id: S2
    title: "Workers KV overview"
    publisher: Cloudflare (Developers docs)
    url: https://developers.cloudflare.com/kv/
    accessed: 2026-11-18
    license: "CC-BY-4.0"
---
# 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.

---

Agents: [/agents.md](/agents.md) | [/.well-known/agent-library.json](/.well-known/agent-library.json).
