Skip to main content
Dodo Migrate is a CLI tool that moves your data from Lemon Squeezy, Stripe, Polar.sh, Paddle, Gumroad, or Creem to Dodo Payments. It prompts you for each choice and can migrate into test mode first, so you can check the result before you move live data.

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).
The tool doesn’t migrate subscriptions, payment history, or saved cards. To move your existing subscribers and their saved cards from Stripe, Paddle, or another processor, see Subscription Migration. To move saved cards from Dodo Payments to another processor, see Request a Card Data Export.

Install the Tool

You’ll need Node.js 18 or later.

Run a Migration

Choose the command for your current provider:
The tool prompts you for:
  • 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.

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 pass license_keys in --types (Lemon Squeezy) or --migrate-types (the other providers), the tool imports your existing keys with the correct customer and product associations.
License key migration requires products and customers to be migrated in the same session. The tool builds an in-memory mapping of provider IDs to Dodo IDs during the run. If products or customers are missing, license keys cannot be linked correctly.

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.
If you re-run the migration, already-imported keys are detected and skipped, so it’s safe to retry.

Get Help

  • Tool help: dodo-migrate --help
  • Provider-specific help: dodo-migrate lemonsqueezy --help (or stripe, polar, paddle, gumroad, creem)
  • Community: Discord
  • Report issues: GitHub

Update or Uninstall

Last modified on November 30, 2026