Base64 Encoder

Base64 Encoder / Decoder

Encode text to Base64 or decode Base64 back to text — runs locally in your browser.

About the Base64 Encoder

Our free Base64 encoder/decoder converts text to Base64 and back, with full UTF-8 support for international characters and emoji. Developers use it for data URIs, API payloads and auth tokens; everyone else can use it to safely transmit text through systems that only accept plain ASCII.

How to Use the Base64 Tool

  1. Enter your text (or a Base64 string) in the input box.
  2. Click Encode → Base64 or Decode → Text.
  3. Copy the result with Copy Output.

What Is Base64?

Base64 is a way to represent binary data using only 64 safe ASCII characters (A–Z, a–z, 0–9, +, /). It is commonly used to embed images in HTML/CSS as data URIs, encode credentials in HTTP headers, and pass binary data through text-only channels like JSON.

Frequently Asked Questions

Is Base64 encryption?

No — Base64 is encoding, not encryption. Anyone can decode it, so never use it to "protect" passwords or secrets.

Does it handle emoji and non-English text?

Yes. This tool encodes via UTF-8 first, so Urdu, Arabic, Chinese, emoji and all Unicode text round-trip correctly.

What if I paste invalid Base64?

The decoder shows an "Invalid Base64 input" message instead of crashing, so you can fix the input.

Is my data uploaded?

No. Encoding and decoding happen entirely in your browser.