What You Can Migrate
Products & Pricing
Products and their prices, including free trials from Stripe, Polar.sh, Lemon Squeezy, Paddle, and Creem.
Customers
Customer records, including contact details.
Discount Codes
Percentage and fixed-amount discount codes and coupons, with the products they are limited to and, where the provider sets one, how many billing cycles they apply to. Fixed-amount discounts from Creem and per-seat discounts from Paddle are skipped.
License Keys
License keys with customer and product mappings (Polar.sh, Lemon Squeezy, Gumroad, and Creem).
Install the Tool
Run a Migration
Choose the command for your current provider:- Lemon Squeezy
- Stripe
- Polar.sh
- Paddle
- Gumroad
- Creem
- Your provider’s API key
- Your Dodo Payments API key
- Whether to test first or go live
- Which Dodo Payments brand to migrate to
- Which data to migrate (products, customers, discounts, license keys)
Non-Interactive Mode
To skip the prompts, pass values as flags.--mode takes test_mode or live_mode. Use a Dodo Payments API key created in the same mode. If you omit --dodo-brand-id, the tool lists your brands and asks you to pick one.
The flag that selects what to migrate is --types for Lemon Squeezy and --migrate-types for the other providers. If you omit it, the tool asks you to choose. When no terminal is attached, the tool doesn’t ask for confirmation. If you also omit the flag, Paddle migrates only products, and Polar.sh and Creem migrate products and discounts.
- Lemon Squeezy
- Stripe
- Polar.sh
- Paddle
- Gumroad
- Creem
Running It Again
You can run the migration again safely. Products, discounts, customers, and license keys that an earlier run created are detected and skipped, so only new records are created.License Key Migration
License keys can be migrated from Polar.sh, Lemon Squeezy, Gumroad, and Creem. When you select license keys in the interactive prompt, or passlicense_keys in --types (Lemon Squeezy) or --migrate-types (the other providers), the tool imports your existing keys with the correct customer and product associations.
What Migrates
- License key strings
- Activation limits
- Expiration dates
- Customer and product associations
Inactive Keys
- Polar.sh: disabled keys are migrated and disabled in Dodo Payments.
- Gumroad: disabled keys are migrated and disabled in Dodo Payments.
- Creem: disabled and expired keys are migrated and disabled in Dodo Payments.
- Lemon Squeezy: disabled and expired keys are skipped unless you pass
--include-inactive-licenses.
What Doesn’t Migrate
- License key activations — customers must re-activate on their devices after migration.
- Revoked Polar.sh keys are skipped.
- Keys without a matching product or customer are skipped with a warning.
Get Help
- Tool help:
dodo-migrate --help - Provider-specific help:
dodo-migrate lemonsqueezy --help(orstripe,polar,paddle,gumroad,creem) - Community: Discord
- Report issues: GitHub