Generate random bytes and see them as Base64, Base64URL or hex, the way openssl rand -base64 32 does on the command line. Pick 16, 24, 32, 48 or 64 bytes, make one value or a list, and copy them into your config. The bytes come from your browser's secure random generator and nothing is sent anywhere.
Generating runs in your browser. What you type never leaves this device.
16, 24, 32, 48 or 64 random bytes (128 to 512 bits)
Base64 with padding, URL-safe Base64URL without padding, or hex
Up to 500 values at once, one per line, to copy or download
A ready .env line for a single value
Shows the length of the encoded text and the bits of randomness
Secure randomness from crypto.getRandomValues
Runs in your browser: nothing is uploaded or saved
Libraries that take a 32-byte key as Base64, such as Laravel's APP_KEY (base64:...) or many AES examples.
A 16-byte random salt or a 12-byte nonce for a test, written as Base64.
Base64URL has no + / or = characters, so it can go in a link or a cookie without escaping.
When you are on a machine without OpenSSL, such as a Windows laptop or a phone.
16 bytes become 24 Base64 characters, 32 bytes become 44 (with one = at the end), 64 bytes become 88. In Base64URL without padding, 32 bytes are 43 characters.
Secret Key Generator
256-bit secret keys for JWT, HMAC and sessions, with a .env line
Base64 Encoder/Decoder
Encode and decode Base64
Random Hex Generator
Secure random hexadecimal strings of any length
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.