Hosting and cloud · Tool

Wrangler

Cloudflare's command-line tool for creating, testing and deploying Workers and Pages, and for managing KV, R2 and D1 from the terminal.

Cloudflare · Open source · updated

How it works

wrangler dev runs a Worker on your machine with workerd, the same runtime Cloudflare uses in production, plus local copies of KV, R2 and D1. wrangler deploy uploads it, wrangler tail streams live logs, and commands such as wrangler secret put and wrangler d1 migrations apply handle secrets and database changes.

Settings live in a wrangler.jsonc or wrangler.toml file beside the code: the Worker's name, compatibility date, routes, bindings and variables. Keeping that file in Git makes deployments repeatable and easy to run from CI.

Wrangler pricing

Open source

Free (MIT or Apache 2.0).

Approximate, checked September 2026.What the other tools cost

More in Hosting and cloud

Cloudflare

All 26 Hosting and cloud terms

Crafted in the dark. Shipped to the world.

Tell us what you are building. You get a private project space with a proposal and a line-by-line quote within a day.