Shipping an AI app or agent? Security review in 1 working day: $149 / ₹13,900. Request a review →
AI Review Ready
Home / Free tools / Base64 encode and decode
Free tool · runs in your browser

Base64 decode and encode

Decode Base64 to text (or see what binary it hides), or encode text to standard or URL-safe Base64. Runs locally.

What Base64 is

Base64 (RFC 4648) writes any bytes using 64 safe characters (A–Z a–z 0–9 + /) so binary data can travel inside text: email attachments, JSON, data URLs, HTTP Basic auth. Every 3 bytes become 4 characters, so the output is about a third bigger. = at the end is padding.

Base64 vs base64url

base64url (RFC 4648 section 5) swaps + for - and / for _ so the result is safe in URLs and file names, and usually drops the padding. JWTs use it. The decoder here accepts both.

Base64 is not encryption

Anyone can decode it. If you find an API key or password in Base64 (for example in an Authorization: Basic header or a Kubernetes secret), treat it as plain text. Decoding a JWT? The JWT security inspector also flags risky settings.

Sources