UTILS.
100% in-browser
🎲

Random Bytes Generator

Generate cryptographically secure random bytes as hex, base64, a decimal array or binary.

— output appears here —

About this tool

Generate cryptographically secure random bytes in your browser using crypto.getRandomValues, then view them as hex, base64, a decimal array or binary.

Frequently asked questions

How random are the bytes?
They come from crypto.getRandomValues, the browser's cryptographically secure random number generator, suitable for keys, salts and tokens.
What output formats are available?
Hexadecimal, base64, a comma-separated decimal array and space-separated 8-bit binary, chosen from the format dropdown.

More tools