UTILS.
Private by default
🎲

Random Bytes Generator

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

Your files stay on this device

Files are processed in your browser, never uploaded. The site downloads code and assets to run the tools. No accounts or trackers.

Use Download to save this tool as one HTML file for offline use.

Privacy →
— 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