random key generator

generate cryptographically secure random keys in hex, base64 or url-safe base64, in any size.

runs on your device · free · no sign-up

loading tool…

frequently asked questions

how are keys generated?

with crypto.getRandomValues, a cryptographically secure random generator.

what size do I need?

128 bits (16 bytes) is the minimum for secrets; 256 bits (32 bytes) is the common choice for API keys and AES keys.

are keys saved?

no. keys exist only on this page until you close it.

related tools