npx wrangler kv key get greeting --text --namespace-id 2f1b3c4d5e6f7a8b9c0d1e2f3a4b5c6d
Read a KV value as plain text
Same as the plain get but prints the value decoded as UTF-8 text, which is what you want for JSON, HTML, and normal strings. Without --text, values come back base64-encoded, so binary-safe but not human-readable. Pairs with `wrangler kv key put` for round-tripping.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.