Base64 to Text Decoder Online

Base64 to Text Decoder

Popular Conversions

Base64 InputDecoded Text
TWFuMan
SGVsbG8=Hello
V29ybGQ=World
SGVsbG8gV29ybGQ=Hello World

Decoding Process

  • Base64 uses 64 characters: A-Z, a-z, 0-9, +, / with = for padding.
  • Every 4 characters represent 3 original bytes via 6-bit groups.
  • Process: Group input into 4-char blocks, convert to 24 bits, split to 3 bytes, apply character set.

Common Scenarios

  • Extract text from email attachments encoded in MIME format.
  • Read configuration strings in JSON APIs or config files.
  • Decode data URLs like de>data:text/plain;base64,SGVsbG8= to view content.
  • Handle multi-line Base64 by removing newlines before decoding.

Frequently Asked Questions

What if output shows garbled characters?
Try different character sets like Latin-1 or UTF-16. Some data encodes binary files, not text.
Does it support URL-safe Base64 (- and _)?
Replace – with + and _ with /, add padding if needed, then decode.
Is padding (=) required?
Valid Base64 often includes it; tool handles missing padding automatically.
Can it handle very long strings?
Yes, processes up to browser limits securely in client-side JavaScript.

Visual Encoding Breakdown

For “Man”: M(19), a(22), n(5) → 010011|010110|000101|101110 → TWFu.