Base64 Encode / Decode

Encode or decode Base64 text in your browser.

Base64 Encode / Decode helps you encode or decode Base64 text in your browser. Enter text, review the breakdown, and use the guidance below to understand what the number means — and what it does not. What the Base64 Encode / Decode calculator does Base64 Encode / Decode is built for everyday questions — shopping, home, travel, hobbies, and tech. Encode or decode Base64 text in your browser. You enter text, then Simple Calculators computes the result instantly. Defaults are chosen to be easy to read — change any field to match your situation. How the math works Choose a Mode, Encode or Decode, and paste your text. When encoding, the text is turned into bytes (UTF-8, so accents and emoji work) and every 3 bytes become 4 characters drawn from A–Z, a–z, 0–9, + and /, with = added as padding at the end if needed. Decoding reverses this, and also accepts the web-safe variety that uses - and _, missing = signs and line breaks. The formula: Every 3 bytes of text ↔ 4 Base64 characters. Base64 uses 64 safe characters (A–Z, a–z, 0–9, + and /) so data can travel as plain text.