Skip to content
apikey.tools
ENC9 tools

Encryption, Encoding & Radix Tools

Encrypt secrets with AES-GCM, generate RSA and ECDSA key pairs, and convert between Base64, Base64URL, Base32, hex, PEM and raw bytes without leaving the browser.

Tools in Encoding

Encoding is not encryption

Most of the tools here convert between representations of the same bytes — Base64, Base64URL, Base32, hex, percent-encoding, PEM and DER. None of these hide anything: a Base64-encoded secret is as exposed as the plain text. When you need confidentiality, use real encryption such as the AES-GCM tool.

Frequently asked questions

What is the difference between Base64 and Base64URL?

Base64URL replaces + and / with - and _ and usually drops the = padding, so the result is safe in URLs and filenames. JWTs and many API keys use Base64URL. Decoding one as the other fails or produces corrupted bytes.

Is AES-GCM better than AES-CBC?

Yes, for new work. AES-GCM is authenticated: it detects any modification of the ciphertext. AES-CBC on its own does not, which has led to padding-oracle attacks. Never reuse a GCM nonce with the same key.

Should I use RSA or elliptic curve keys?

Elliptic curve for anything new. EC P-256 provides roughly the security of RSA-3072 with much smaller keys and faster signing. Choose RSA when you need compatibility with older systems that support nothing else.