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.
We honestly need your help

Most people will use these tools for free and never think about how much it costs to keep them online. That’s okay — we built Postly to help. But if our tools have saved you hours of work, helped you get better reach, or made client work easier, please pause for a moment and consider supporting us. Even a small contribution genuinely helps keep Postly alive, maintained, and improving. We are a tiny team, not a big company. We pay real infrastructure bills every month to keep this running. If you can, please be one of the few people who chooses to help.

Hosting, builds & background jobs aren’t free.
APIs, AI, and storage all scale with you.
Every feature is custom-built, not white-label.

If you’re not in a position to support us, that’s okay. Postly will still be here for you. But if you are one of the few who can chip in, your support directly keeps these tools online for everyone else.