Random Hex Generator

Generate random hexadecimal numbers for free.

This tool runs entirely in your browser. Your files are never uploaded to a server.

What this tool does

Generates 1 to 100 lowercase hexadecimal strings, each 1 to 128 digits long, using the browser Web Crypto API. Five 32-digit values appear initially.

How to use it

Choose digit and result counts, select Generate Hex, then copy the newline-separated output. Values are clamped to the displayed limits.

Method and example

The tool requests enough random bytes for the chosen length, converts every byte to two padded hex digits, joins them, and cuts the string to the requested digit count. A 5-digit request therefore uses three bytes and keeps the first five hex characters.

Limits

Output uses 0–9 and a–f without a 0x prefix. It does not enforce uniqueness, retain history, or accept a seed. Web Crypto provides cryptographically strong bytes, but this tool does not apply algorithm-specific key formatting, validation, storage, or lifecycle controls.

Privacy

Generation happens locally; values are not uploaded.

Frequently Asked Questions

How random are these values?
They use your browser's cryptographically secure random number generator (crypto.getRandomValues).
Is there a limit on digits or results?
Up to 128 digits and 100 results per generation, to keep the tool fast and abuse-free.
Does this create a ready-to-use encryption key?
No. It creates random hex text but does not apply an algorithm's required key format, validation, storage, or lifecycle controls.