Skip to main content

Random Bytes Generator

Generate 1–4,096 bytes with your browser’s cryptographic API, then copy lowercase hex or Base64. Output stays in this tab and is not saved; byte length is not an entropy measurement.

Choose 1–4,096 bytes.

Uses the browser’s Web Crypto CSPRNG via crypto.getRandomValues() only; there is no fallback. Hex uses two lowercase digits per byte, while Base64 encodes the same bytes. Byte count is output size, not a measured entropy score.

Generated bytes

Generated values appear here after secure randomness is available.

Web Crypto supplies cryptographically strong pseudorandom bytes, but this page cannot measure a particular output’s entropy. Values stay in this tab and are not uploaded or saved.

Was this tool helpful?