Random Bytes Generator
Generate cryptographically secure random bytes as hex or Base64.
Runs locally · Nothing uploaded
Output
Click Generate…Advertisement
About Random Bytes Generator
Generates raw random bytes from the browser's CSPRNG and encodes them as hex or Base64. This is the right primitive for session secrets, encryption keys, salts, and IVs — 32 bytes of output is a common key size. Everything is generated locally and never transmitted.
Related tools
Security & CryptoRuns locally in your browser.Password GeneratorGenerate strong random passwords with configurable character sets.Security & CryptoRuns locally in your browser.HMAC GeneratorCompute keyed HMAC-SHA256 or HMAC-SHA512 signatures.EncodingRuns locally in your browser.Hex EncoderConvert text into its hexadecimal byte representation.