A home for every code
Generate codes or import them from CSV and Excel. Encrypted at rest, searchable, ready to hand out.
Keydrop is a self-hosted app for indie developers. Manage and hand out redemption codes, discount codes and license keys, from your own Cloudflare account.
Free forever · Runs on Cloudflare Workers + D1 · No per-code fees
Works with the tools you already use
Features
Everything you need to issue, sell and track codes, without building it yourself.
Generate codes or import them from CSV and Excel. Encrypted at rest, searchable, ready to hand out.
Public or private claim links with rules you combine: who, when, how many.
Stripe Checkout sells one code per order, with refunds that can revoke it.
Memberships, credits and device-bound licenses come built in.
An open-source foundation that runs on your own Cloudflare account.
Scoped API tokens, signed webhooks and an MCP server for your backend and AI agents.
Deploy
No servers to manage. The free Workers plan is enough to get started.
Cloudflare copies Keydrop into your GitHub account and creates a Worker and a D1 database.
Your site URL, the admin email and three random secrets. Stripe and email can come later.
Choose the admin password, create your first product and import or generate codes.
# Generate a secret
$ openssl rand -hex 32
APP_URL https://codes.your-app.com
ADMIN_EMAIL you@your-app.com
BETTER_AUTH_SECRET ••••••••••••••••
SETUP_SECRET ••••••••••••••••
CODE_ENCRYPTION_KEY ••••••••••••••••
$ open https://codes.your-app.com/setup
✓ Keydrop is ready.Open source
Keydrop is MIT licensed. Use it for commercial products, change anything, and keep your data in your own account. Pull requests and translations are welcome.
Yes. Keydrop is MIT licensed and has no paid plan. You pay only for your own Cloudflare usage, and the free Workers plan is enough for small projects.
No. Keydrop runs on Cloudflare Workers with a D1 database in your Cloudflare account. Deploying takes one click.
Only if you want to sell codes. Free claim campaigns, direct assignment and the API work without Stripe.
Yes. Import App Store offer codes, promo codes or any other platform's codes from CSV or Excel, then distribute them like any other code.
Yes. All text lives in one file per language, and the README lists which files to edit for the brand, colors, homepage and icons.
No. The MIT license only asks you to keep the license file. The small “Powered by Keydrop” link is on by default, and you can turn it off.
Deploy Keydrop to your own Cloudflare account and hand out your first code today.