Free · No sign-up · In your browser

Coupon code generator

Use this free coupon code generator to create up to 5,000 codes per batch. Customize the format, then copy your codes or download a CSV or TXT file. Set up discounts separately in your store.

Code settings

Choose the random length and character set. Add a prefix, suffix, or groups to match your own campaign format.

4–24 random characters, before adding a prefix, suffix, or separators.

1–5,000 codes, with no duplicates within a batch.

Format preview · sample only

SAVE-DMU3-AHRY

Generated locally in your browser

Your codes

0 codes

Generated codes are unique within each batch.

Your codes will appear here

Choose a format and quantity, then generate codes to copy or download.

Add these codes to your store. Configure the discount and any expiration or redemption limits. Codes from separate batches may overlap.

How to use the coupon code generator

Create promo codes in four steps: choose a format, set the quantity, generate your batch, and copy or download the results for your store.

1

Choose your code format

Choose the random length and character set. Add a prefix, suffix, or groups to match your own campaign format.

2

Set your batch size

Enter a quantity from 1 to 5,000 codes. Your chosen format must allow enough combinations for the entire batch.

3

Generate your coupon codes

Generate a batch of random coupon codes in your browser. Each code is checked for duplicates within that batch.

4

Copy or download codes

Copy individual codes or the whole list, or download CSV or TXT. Configure the discounts separately in your store.

Coupon codes that fit your campaign

Prepare custom promo codes for sales, email campaigns, or loyalty offers. Control the format and export your list, then configure the discounts in your store.

Generate codes in bulk

Create up to 5,000 random coupon codes per batch for sales or email campaigns. Codes are unique within each batch. Uniqueness is not checked across batches.

Customize your code format

Choose letters, numbers, or both for the random part of each code. Set its length, add a prefix or suffix, and preview the format before generating.

Make codes easier to read

Exclude confusing characters from the random part of your codes. Group characters into blocks of three or four, with hyphens or underscores, for easier manual entry.

Copy or download your list

Copy one code or your complete batch, or download CSV or TXT. Add codes to your store and configure discounts and any expiration or redemption limits.

Frequently asked questions

No. This coupon code generator creates code strings, not active discounts. Add the codes to your store and configure the discount and any expiration or redemption limits before customers can use them.

Your next campaign deserves its own website

Build, publish, and grow with Readdy, the all-in-one AI website builder. Create your campaign site with AI, publish on your own domain, and grow your online presence with built-in SEO tools and analytics.