Generate random hexadecimal strings (0-9 and a-f) of any length: 32 characters for a request ID, 40 for a test commit hash, 64 for a 256-bit token. Choose lowercase or uppercase, make one or a few hundred, and copy or download them. The digits come from your browser's secure random generator.
Generating runs in your browser. What you type never leaves this device.
Any length from 1 to 1,024 hex characters
Lowercase (0-9, a-f) or uppercase (0-9, A-F)
Up to 500 values at once, one per line
Each hex character carries 4 bits: 32 characters = 128 bits, 64 = 256 bits
Switch to Secret key mode for byte-exact keys in hex, Base64 or Base64URL
Secure randomness from crypto.getRandomValues
Runs in your browser: nothing is sent or saved
Request IDs, correlation IDs and trace IDs in logs are often 16 or 32 hex characters.
Fake commit hashes (40 characters), fake MD5 or SHA-256 values (32 or 64) for test data and screenshots.
A 64-character hex string is a 256-bit key, the format many libraries and config files expect.
Six hex characters make a colour code; for colours with previews use the [random color generator](/tools/random-color-generator).
Both hold the same bytes. Hex is longer (two characters per byte) but uses only safe characters and is easy to compare by eye. Base64 is a third shorter. If a library asks for a 32-byte key, a 64-character hex string or a 44-character Base64 string are the same size; check which form it reads. The secret key generator makes either.
Random Base64 Generator
Secure random bytes as Base64, Base64URL or hex
Hash Generator
Generate MD5, SHA hashes
UUID Generator
Generate unique UUIDs
Random String Generator
Random strings from letters, digits, hex or your own characters
JSON Formatter
Format and validate JSON
JSON Sort Keys
Alphabetize JSON keys at every level
JSON Flatten
Nested JSON to dot-path keys
JSON Unflatten
Dot-path keys back to nested JSON
Built by Edesy
Edesy builds AI products for Indian businesses. Start self-serve, no demo call needed.
AI agents that answer and make phone calls 24/7. Handle appointments, inquiries and support in Indian and global languages.
₹50 free credit. No demo call needed.