Referral code generator
Create unique referral codes for customers and partners to share. Start from a preset or set the count, length, prefix, and pattern, then copy the codes or download them as a CSV.
Quick start
Settings
# becomes a random character. All other characters are literal. Example: ####-#### gives 8-character codes with a dash in the middle.
Results
How the referral code generator works
Choose a preset
Start from a template that matches the codes you need, or set the count, length, prefix, and pattern yourself.
Generate the codes
Click Generate. Codes are created right in the browser and checked against each other, so every code in the set is unique.
Copy or download
Copy the whole list to the clipboard, or download a CSV to open in Excel or import into another system.
What referral codes are for
A referral code is a short identifier a customer or partner hands to the people they refer. When a new customer signs up with the code, the business knows exactly who sent them, which makes it possible to say thanks with a reward.
Generated codes work well for offline referrals, printed cards, events, and one-off promotions. For an ongoing program, referral software creates a code for each member automatically and records every signup against it.
Frequently asked questions
More free tools
Coupon code generator
One-click coupon and discount codes with presets for save vouchers, referral, and seasonal codes, plus copy and CSV download.
Referral link generator
A unique tracked link per promoter, one destination. Paste names, copy links, download the CSV.
Manual referral tracker
Spreadsheet for logging referrals by hand, complete with referral codes and instructions included.
Put the codes to work in a real program
Referral Rock creates a unique code for every member and records each signup against it, so rewards go out without any spreadsheet work.