Tool guide
About this tool.
- A token is a random secret/development credential. Character mode samples uniformly from the combined enabled alphabet.
- Byte mode generates random bytes and encodes hex, Base64 or unpadded Base64url. Encoding changes representation, not randomness.
- Groups define allowed characters, not a guarantee that every group appears in each token.
- Create development API-key/reset-token fixtures.
- Choose Base64url for URL-friendly random bytes.
- Match an integration’s byte length and representation.
Choose Custom alphabet or Encoded bytes; only active settings are validated.
Count 1…100, character Length 1…512, Bytes 1…256.
Enable at least one group or choose a byte encoding, then run explicitly.
Copy/download random-token.txt intentionally. Settings clear exports without regenerating secrets.
- Custom alphabet, Length 32, letters and numbers → 32 characters such as sKTep0Y6i1rmPVGWsQQLqceduBxfYNFV.
- Encoded bytes, Bytes 16, Hex → 32 hex characters such as 5c645c81ac15d3fdbe21d0afc9890afd.
- Encoded bytes, Bytes 32, Base64url → 43 characters without = padding.
- Encoded bytes, Bytes 16, Base64 → 24 characters ending in ==.
- Length 12 with only Numbers → 12 digits; a leading 0 is kept.
- All four character groups off → error: Enable at least one character group.
- Web Crypto and rejection sampling remove character modulo bias.
- Groups are allowed characters, not inclusion requirements.
- Short/numeric tokens are easier to guess; choose length for your threat model.
- Hex has two characters per byte; Base64 has padding; Base64url omits it.
- Invalid active-mode settings fail explicitly; hidden-mode settings are ignored.
- Exports contain secrets; clipboard, files and screen sharing can expose them.