Base64 Encode & Decode — Free Online Tool

Encode text or files to Base64 and decode Base64 strings — all in your browser.

How It Works

  1. 1Upload your file by dragging it into the drop zone or clicking to browse.
  2. 2Adjust the quality slider to balance file size and visual fidelity (optional).
  3. 3Click Download to save your converted file.

About Base64 Encode/Decode

Base64 is a binary-to-text encoding scheme used in data URIs, email attachments, and API payloads. This tool encodes plain text or files to Base64 and decodes Base64 strings back to text or downloadable files. Handles UTF-8 text and binary data correctly. Everything runs in your browser — no data is sent to any server.

Frequently Asked Questions

Is my data sent to a server?

No. Encoding and decoding happen entirely in your browser using the built-in btoa/atob functions and TextEncoder/TextDecoder APIs.

Can I encode files to Base64?

Yes. Switch to File mode when encoding to upload any file and get its Base64 representation.

Does it handle Unicode text?

Yes. The tool uses TextEncoder/TextDecoder to properly handle UTF-8 characters including emoji, CJK characters, and other non-ASCII text.

Related Tools