Base64 Encoder / Decoder

Encode text to Base64 or decode Base64 back to text instantly, with full Unicode (UTF-8) support. Free, fast, and client-side.

Last updated 23 June 2026 · Built and maintained by Mustafa Bilgic

Free Online Base64 Encoder and Decoder

Base64 is an encoding that represents binary or text data using 64 printable ASCII characters. It is widely used in data URLs, email attachments, JSON Web Tokens, and APIs. This tool encodes text to Base64 and decodes Base64 back to text, with full Unicode support so emoji and accented characters survive the round trip.

How to Encode and Decode

  1. Paste or type your content into the Input box.
  2. Click Encode to Base64 to convert text into Base64.
  3. Click Decode from Base64 to convert Base64 back into readable text.
  4. Use Use Output as Input to chain operations, then copy the result.

Where Base64 Is Used

ContextWhy Base64
Data URLsEmbed images or fonts directly in HTML/CSS
Email (MIME)Send binary attachments over text-only channels
JWT tokensEncode header and payload segments
Basic AuthEncode username:password in HTTP headers

Frequently Asked Questions

Is Base64 encryption?

No. Base64 is an encoding, not encryption. Anyone can decode it. Never use Base64 alone to protect passwords or sensitive data.

Does this support Unicode and emoji?

Yes. The tool encodes using UTF-8 before Base64, so accented characters, non-Latin scripts, and emoji encode and decode correctly without corruption.

Why did decoding fail?

Decoding fails if the input is not valid Base64, for example if it contains spaces, line breaks, or characters outside the Base64 alphabet. Check that you pasted the complete, unbroken string.

What characters does Base64 use?

Standard Base64 uses A-Z, a-z, 0-9, plus (+), and slash (/), with equals signs (=) for padding at the end.

Is my data uploaded anywhere?

No. Encoding and decoding happen entirely in your browser, so your text never leaves your device, which is safe for tokens and private content.

More Free Tools