Skip to content

Base64 Encoder / Decoder

Encode text to Base64 or decode Base64 back to text without uploading it. Full UTF-8 support so Chinese, emoji and other non-Latin characters round-trip correctly.

0 chars
0 chars

All files are processed only in your browser and are never uploaded to any server.

Quick answer

Encode text to Base64 or decode Base64 back to text free in your browser, with full UTF-8 support so Chinese, emoji and other non-Latin characters round-trip correctly. Paste text or load a .txt file, then copy or download the result, or use it to build a text or SVG data URI — nothing is uploaded.

Input
Plain text or Base64 · paste, or load a .txt file
Output
Copy to clipboard, or download as .txt
Encoding
UTF-8 · full Unicode and emoji support
Direction
Encode and decode · swap output to input in one click
Data sent to a server
None · everything runs locally
Price
Free · no registration
Works on
Any modern browser · Windows, macOS, Linux, iOS, Android

How to use this Base64 Encoder / Decoder

  1. Paste your text or Base64 string into the input box.
  2. Choose Encode or Decode.
  3. Copy or download the result.

UTF-8, emoji and data URIs

The most common Base64 bug is encoding non-Latin characters as Latin-1, which turns CJK text and emoji into garbled bytes. This tool always uses UTF-8, so text survives a full encode/decode round trip.

Base64 is also the format behind data URIs (data:text/plain;base64,… and data:image/svg+xml;base64,…). Because it handles text, you can use it to inline small text assets or an SVG directly into HTML or CSS. Everything runs in your browser, so tokens, keys and payloads are never sent to a server.

Frequently Asked Questions

Is my data private?

Yes. Encoding and decoding happen entirely in your browser; nothing is sent to any server.

Does it support Unicode and emoji?

Yes. Text is encoded and decoded as UTF-8, so non-Latin characters and emoji work correctly.

What is Base64?

Base64 is a way to represent binary data as ASCII text. It is commonly used in data URLs, email attachments and API payloads.

Why does Base64 of non-Latin text sometimes look wrong in other tools?

Because they encode bytes as Latin-1 instead of UTF-8. This tool encodes and decodes as UTF-8, so Chinese, Japanese, Arabic and emoji round-trip correctly without corruption.

Related Tools