Skip to content

Free tool · no sign-up

Random string generator

Make random strings of any length from the characters you choose: passwords, secret keys, voucher codes, hex and more. Up to 500 at once.

Made on your device. Nothing is sent to us or saved.

New string made

…

Very strong · 104 bits of randomness

A fast computer would take longer than the universe has existed to guess it.

Made on your device with your browser’s secure random generator. Nothing is sent to us or saved: refresh the page and they’re gone, so copy what you need.

Your characters, your rules

Letters, numbers, the symbols you pick, or exactly the characters you type. Up to 512 long.

Easy to read

Leave out 0 and O, 1 and l, or split codes into groups like XK7P-9QM2.

Hundreds at once

Up to 500 strings with no two the same. Copy them all or download a .txt or .csv file.

Never saved

Made on your device with your browser’s secure random generator. Nothing is sent to us.

How to make a random string

  1. 1Pick a quick setting, like Strong password, Voucher code or Hex, or set your own.
  2. 2Choose the length and which characters to use. Add rules if you need them: no look-alikes, at least one of each type, no character twice, start with a letter.
  3. 3Set how many you want, up to 500.
  4. 4Copy one, copy them all, or download them as a .txt or .csv file. Press Make another for a fresh one.

Questions

Are these strings really random?
Yes. They come from crypto.getRandomValues, the same cryptographic random generator browsers use for encryption, and every character is exactly as likely as every other. That makes them safe for passwords, secret keys and tokens.
Do you keep the strings I make?
No. They are made on your own device and never sent to us, logged or saved anywhere, not even in your browser. Refresh the page and they are gone, so copy what you need first.
What does “bits of randomness” mean?
How many guesses it would take to be sure of finding the string: each extra bit doubles it. Under 40 bits is weak, 60 is fair, and 80 or more is strong enough for anything. Longer strings and more types of character add bits.
Why leave out look-alike characters?
So people can read a code off a screen or a card and type it without mixing up 0 and O, or 1, l and I. It makes each character slightly less random, so add a character or two to make up for it.
Can I make a hex or base-62 string?
Yes. Pick Hex for 0–9 and a–f, or tick “Only my own characters” and type exactly the ones you want, like 0123456789ABCDEF.
Will I get duplicates if I make many?
No. A batch never has the same string twice. If your settings allow fewer strings than you asked for, like 500 two-digit codes, it tells you and gives you all the ones possible.
WhatsApp us