Base64 Encoder / Decoder
Encode text to Base64 or decode it back, with a URL-safe variant.
What Base64 is for
Base64 represents binary or text data using 64 printable ASCII characters, so it can travel safely through systems that only handle text — email attachments (MIME), data URIs, JSON fields, HTTP basic auth and config files. It isn't encryption or compression; encoded data is about a third larger and trivially reversible, so never use it to hide secrets.
UTF-8 and the URL-safe variant
This tool encodes text as UTF-8 first, so accents and non-Latin characters round-trip correctly. The URL-safe option swaps the + and / characters for - and _ and drops padding, which is what JWTs and query-string tokens use. Decoding accepts either form. Everything happens in your browser — nothing is uploaded.
These calculators run entirely in your browser — nothing you type is sent anywhere. Results are estimates for planning; validate against your vendor's documentation before you buy or deploy.