Base64 Encoder / Decoder

Encode text to Base64 and decode Base64 back to text — UTF-8 or ASCII.

What you can do

  • Live encode/decode as you type
  • Optional 76-character MIME line wrap on encode
  • Swap between encode and decode buffers
  • Copy or download output

Sample text is prefilled on first open.

Modes

Each mode keeps its own input:

ModeInput → Output
EncodePlain text → Base64
DecodeBase64 → Plain text

Whitespace is stripped before decode validation.

Options

OptionEffect
UTF-8 / ASCIIHow text maps to bytes
Line wrap (76)MIME-style breaks on encode

Swap moves the current result to the other mode’s input.

Tips

Basic auth: Decode the segment after Basic in an Authorization header.

Round-trip: Encode → Swap → confirm decode matches original.

MIME email blocks: Use 76-char wrap when comparing to mail-safe encoding.

Keep in mind

Standard Base64 (+/=), not URL-safe (-_). Text-focused — paste content rather than binary files. Accented text needs UTF-8, not ASCII.

App shortcuts

ActionShortcut
Search tools⌘ K
Close current tab⌘⌥E (Ctrl+Alt+E on Windows)

Note: ⌘W closes the browser tab. ⌘⇧E focuses the Explorer in Cursor/VS Code. Use ⌘⌥E (Ctrl+Alt+E) to close the current tool tab (click inside the app first so the IDE does not steal the shortcut).