Random Base64 Generator
Make random Base64 strings for secrets and tokens, using your browser's secure random numbers.
How it works
Makes random Base64 text from secure random bytes. Choose the bytes per string and how many strings you want. Tick URL-safe if the value goes in a link.
Worked example
16 random bytes give a 24 character Base64 string.
Good to know
- The URL-safe form swaps + and / for - and _.
- Output is longer than the byte count, about 4 characters for every 3 bytes.
Common questions
- What does the byte count mean?
- It is the size of the random data before it is written as Base64.
- Can I use it for secrets?
- Yes. It uses the secure random generator in your browser.
- Why does it end with =?
- Padding. You can remove it in most systems.
More in Developer.
ASCII Converter
See the ASCII code of every character in decimal, hex, binary and octal, or turn codes back into text.
OPEN →Axios Request GeneratorFill in a method, URL, headers and body and get a ready Axios Request snippet to copy.
OPEN →Base32 Encoder and DecoderEncode text to Base32 (RFC 4648) or decode it, as used in 2FA secrets.
OPEN →