CodesRandom • Unique • Secure Client-side

Random Codes Generator

Generate unique, voucher-style codes for coupons, gift cards, invite codes, passwords, and more — securely in your browser.

Voucher-style masks Uniqueness check Presets

Generator Options

Length Mode
Mask Mode
A=A-Z, a=a-z, 9=0-9, *=A-Z a-z 0-9, #=hex, ?=selected alphabet.
Literals (e.g., -, _) are copied as-is.

Status

Ready.
Alphabet size
23
Entropy / code (≈)
54.28 bits
• Uses crypto.getRandomValues for secure randomness.
• In Mask mode, entropy depends on each token’s character set.
• Uniqueness is checked within this batch; increase length/alphabet if you see collisions.

Generated Codes

Tips

  • Masks give you structured codes (e.g., AAAA-9999-****).
  • Length mode is great for passwords or simple vouchers. Use symbols for stronger secrets.
  • Avoid ambiguous makes codes easier to read and type.
  • No vowels helps avoid accidental words.
  • • Export as TXT or CSV for import into your systems.
Support the Builders

We provide these tools free of charge. If they’ve been useful, consider buying us a coffee to encourage us.