Home Tools About Us β™₯ Support Us
πŸ” Base64 Encoder / Decoder

Encode & decode
Base64 instantly

Text, files, and images β€” with live mode, character-set control, and a local history. Everything runs in your browser.

Destination character set.
Destination newline separator.
Plain text
0 bytes
Base64 output
0 bytes

πŸ“ File ⇄ Base64 Converter

Upload a file, then choose whether to encode it to Base64 or decode a Base64 file back to its original file. All processing is local.

⬆

Drag & drop any file here, or

πŸ•˜ Local History

Saved only on this device (browser local storage) β€” never uploaded anywhere. Click an entry to reload it.

No history yet. Run a conversion to see it appear here.

How to use this tool

  1. Choose a mode β€” clickEncode to turn text into Base64, orDecode to turn Base64 back into text.
  2. Set options if needed β€” pick a character set, newline style, and toggle line-by-line, MIME chunking, or URL-safe output.
  3. Type or paste into the left box, then clickRun Conversion β€” or turn onLive mode to convert as you type.
  4. Copy the result or save it as a file with the buttons above the output box.
  5. For files, use the File Converter section to drag a file in for Base64, or paste Base64 to download it as a file.
  6. Revisit past work anytime from the Local History panel, or clear it whenever you like.

Built for real developer workflows

Everything you'd expect from a Base64 tool, plus the extras developers keep asking for.

⚑
Live Mode
Toggle real-time conversion as you type or paste β€” no button clicks needed.
πŸ”€
Character Set Control
UTF-8, ASCII, ISO-8859-1, UTF-16LE, and UTF-16BE support for accurate round-tripping.
πŸ”—
URL-Safe (Base64URL)
One toggle switches to the '-' / '_' alphabet used in URLs, JWTs, and cookies.
πŸ“
File ⇄ Base64
Drag any file in for instant Base64 with a live image preview, or decode Base64 straight to a downloadable file.
πŸ“
Size & Overhead Stats
See exact input/output byte counts and the ~33% Base64 overhead at a glance.
πŸ•˜
Local History
Every conversion is saved to your browser only, with one-click reload and one-click full reset.

Frequently Asked Questions

No. Encoding, decoding, and file conversion all happen locally in your browser. Nothing is sent to or stored on our servers.

It replaces the standard '+' and '/' characters with '-' and '_', and typically drops padding, so the result is safe inside URLs, filenames, and cookies.

This usually means the wrong character set is selected. Text encoded as UTF-8 must be decoded as UTF-8 β€” using ISO-8859-1 or UTF-16 instead will corrupt multi-byte characters.

Yes β€” use the File Converter section to drag and drop or select any file. It returns the Base64 string, optionally with a data URI prefix, and previews images automatically.

No. History is stored only in your browser's local storage on your own device. You can delete individual entries or clear everything at any time.

It inserts a line break every 76 characters, matching the MIME (RFC 2045) standard used for email attachments and some legacy systems.

Browse Other Categories

β™₯

Support EaseDev Studios

All tools are free. If they've saved you time, consider supporting us.

β˜•

Buy Us a Coffee

A quick one-time gesture that means a lot.

Buy a Coffee β†’
πŸŽ—οΈ

Become a Patron

Support us monthly and help build more tools.

Join on Patreon β†’