Base64 Encode & Decode

Encode text to Base64 or decode it back — UTF-8 safe, with a URL-safe option. Everything runs in your browser; nothing is uploaded.

How it works & what's safe

Base64 turns arbitrary bytes into ASCII text using 64 characters, often to embed data in JSON, URLs, or data URIs. This tool is UTF-8 aware, so accented characters, emoji, and non-Latin scripts round-trip correctly. The URL-safe option swaps +/ for -_ and drops padding (the variant used in JWTs). Decoding accepts either variant automatically. It all runs locally — safe to paste sensitive values, because nothing leaves your browser.

Related

Decoding a token? Use the JWT decoder. Exploring a JSON payload? Open the JSON viewer.