100% in your browser · data never leaves your device

Base64 Encode (Text & File) — Free & Private (In-Browser)

Encode text or files to Base64 in your browser. Handles UTF-8 correctly and large files via the File API. No upload. Free.

Loading converter…

More converters

All free, all private — everything runs in your browser.

How to use Base64 Encode

  1. 1Type or paste text into the input box, or drop a file in.
  2. 2Text is UTF-8 encoded, then Base64-encoded in your browser.
  3. 3The Base64 string appears live as you type.
  4. 4Copy the result, or download a data URL for a file input.

Base64 Encode FAQ

Can I encode a file, not just text?
Yes — drop any file in and it is read locally and Base64-encoded in your browser. The file never leaves your device.
Does it handle Unicode and emoji?
Yes. Text is UTF-8 encoded first, so emoji and non-Latin characters encode correctly.