About the Random Byte Generator
Each line holds sixteen bytes separated by spaces, the same width a hex viewer uses, so the output drops straight into a document about file formats or a test that expects hexdump style input. Eight lines therefore give you 128 bytes, and the counter in the status bar confirms the total size of the result.
Every pair is drawn from the browser cryptographic random source, which means the values are suitable for salts, nonces, dummy binary payloads and fuzzing seeds. They are not a replacement for a proper key derivation routine, but they are far better than typing deadbeef into a test for the fifth time.
Identical lines are permitted by default because a real byte stream has no memory, though with sixteen bytes per line a repeat will never actually happen. Common uses include building a fixture file for a binary parser, creating filler content that will not compress, checking that a hex to binary converter handles a long input, and generating an initialisation vector for a demo. Convert the result into raw characters with the Hex Decode tool, or turn it into Base64 with Hex to Base64 when a config file needs a single opaque string.
How to use
- Choose how many lines of sixteen bytes you want.
- Press Generate and read the byte total in the status bar.
- Copy the block, or download it as a text file for your test fixtures.
Common questions
- How many bytes do I get per line?
- Sixteen, written as lower case hex pairs separated by spaces, which matches the usual hexdump layout.
- Can I use these bytes as a key?
- They come from the browser secure random source and are fine for salts and nonces, but a production key should be created by your key management tooling.
- How do I turn them back into text?
- Remove the spaces and paste the string into the Hex Decode tool.
- Does the tool store what it generates?
- No. The bytes exist only in the page and disappear when you close the tab.