Random Hex

Random Hex is a free online tool that generates cryptographically strong random hex credentials using your browser's hardware-backed CSPRNG. It supports Plain Text, Hex, Base64, PIN inputs and outputs using Web Crypto crypto.getRandomValues() CSPRNG with live previews and instant export. All processing runs locally inside your browser tab with zero server uploads, no sign-up, and full offline support, plus direct AI agent access via the password_generate MCP tool.

100% client-side execution with zero uploads or accounts.

Technical specs

Category
Security
Formats
Plain Text, Hex, Base64, PIN
Runtime
100% client-side execution with zero uploads or accounts.
Engine
password-secret
MCP
password_generate

How to use: Random Hex

  1. Choose length, character sets, word count, or encoding format in Random Hex.
  2. Inspect the calculated entropy bits and strength indicator in real time.
  3. Copy the generated secret to your clipboard locally with zero network transmission.

Frequently asked questions

Why is Web Crypto getRandomValues() required for Random Hex?
Unlike Math.random(), crypto.getRandomValues() pulls from your OS entropy pool and avoids modulo bias via rejection sampling.
Are generated passwords or API secrets ever logged or sent over the network?
Never. Generation occurs strictly inside browser memory and disappears when you close the tab.
Can I generate batch secrets or hex/Base64 keys?
Yes. You can adjust bit lengths and generate multiple cryptographically random tokens at once.

Related tools