Skip to content
Local

Security

Random String Generator

Make secure random strings, NanoID-style IDs, hex or Base64 secret keys and numeric PINs, many at once.

Runs in your browser. Nothing leaves this device.

Open Random String Generator

Free, no account, no watermark and no daily limit.

Open Random String Generator

How to use Random String Generator

  1. 1Pick a random string, NanoID, secret key or PIN.
  2. 2Set the length, the characters and how many you need.
  3. 3Copy them all or download them as a text file.

Questions

How random are they?

Every character comes from your browser’s cryptographic random number generator, the same one used for encryption keys. Each character of the set is equally likely.

Which secret length should I use?

256 bits is a common choice for API keys and signing secrets. 128 bits is already far beyond guessing.

What is a NanoID?

A short, URL-safe ID made from 64 characters. The default 21 characters give about 126 bits of randomness, similar to a UUID.

Are the strings saved or sent anywhere?

No. They are made in your browser and disappear when you leave the page.

Is it free?

Yes. No account, no watermark and no daily limit.

Esc