Security
Random Base64 / Key Generator
Make random bytes as Base64, URL-safe Base64 or hex, or a real AES, HMAC, ECDSA, Ed25519 or RSA key, all with WebCrypto.
Loading the tool…
Runs in this browser. Nothing is uploaded.
How to use Random Base64 / Key Generator
- Fill in the settings above.
- The answer updates as you change them.
Questions
- Where are the keys made?
- In this browser tab, by WebCrypto. They are never sent anywhere and are gone when you close the page, so copy or download them first.
- Which format are key pairs in?
- PEM: the public key as SPKI (BEGIN PUBLIC KEY) and the private key as PKCS#8 (BEGIN PRIVATE KEY), which OpenSSL, Node, Python and Go all read.
- Is Random Base64 / Key Generator free?
- Yes. There is no account, no trial and no limit on how often you use it.
- Is what I type sent anywhere?
- No. Everything is worked out in your browser; nothing you enter leaves this page.
- Does it work offline?
- Once the page has loaded, most tools keep working without a connection.