Qz=

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

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.