Random String Generator

Generate random strings for IDs, codes, test data or secrets — securely, in your browser.

Runs in your browser — nothing is uploaded
Bytes for hex/Base64; characters for the others.

Keys

Generated with the Web Crypto API on your device. Nothing is stored or sent.

How to use Random String Generator

  1. Choose a format and length (32 bytes = 256 bits is a good default).
  2. Optionally add a prefix such as sk_live_ and choose how many to generate.
  3. Copy the keys and store them in your secret manager.