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. When to use Base64 Encode / Decode Base64 Encode / Decode is for everyday questions — shopping, home, travel, hobbies, and tech. Encode or decode Base64 text in your browser. Turn ordinary text into Base64, or read Base64 you have found in an email, web page or settings file back as plain text. How Base64 Encode / Decode is calculated 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. Base64: 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.