Online Base64 Text Converter

Encode and decode text with UTF-8, emoji and special character support including äöü and 中文

Text Converter

UTF-8 Safe
Result will appear here...

💡 Press Ctrl + Enter to process

How to Use Base64

  1. 1 Paste or type your text into the input area
  2. 2 The tool auto-detects if you're encoding or decoding
  3. 3 Click "Encode" or "Decode" to switch modes manually
  4. 4 Copy the result with one click
  5. 5 Download as file if needed

What You Get

UTF-8 safe Base64 converter that handles emojis, international characters (äöü, 中文, العربية), and special symbols without errors.

Input: Hello World!

Output: SGVsbG8gV29ybGQh

Input: 🎉 Party Time! 🎊

Output: 8J+OiSBQYXJ0eSBUaW1lISA8J+OijA==

Input: äöü@test.com

Output: w6TDtsO8QHRlc3QuY29t

How do I encode text to Base64?

Paste your text into the input, click Encode. The Base64 output appears instantly. Handles emoji, special characters, and international text (UTF-8) correctly.

How do I decode Base64 back to text?

Paste the Base64 string, click Decode. If it is valid Base64, the original text appears. Invalid Base64 shows an error message.

Why does standard Base64 fail on emojis?

Browser built-in btoa() only handles ASCII. This tool encodes to UTF-8 first, making it safe for any Unicode character including emojis, äöü, and 中文.

What is Base64 used for?

Base64 encodes binary data as text. Common uses: embedding images in HTML/CSS, sending data in JSON APIs, storing binary in text-only databases.

Why does my Base64 string get 33% larger?

Base64 uses 6 bits per character instead of 8, plus padding. This 33% increase is inherent to the encoding and cannot be avoided.

Can I detect if a string is Base64 encoded?

The tool auto-detects probable Base64 input. Look for: length divisible by 4, only A-Za-z0-9+/= characters, and optional = padding at end.

How do I decode Base64 with binary data?

If the decoded data is a file (like PDF or PNG), switch to File mode for proper download. Text mode shows binary as garbled characters.

Is Base64 encryption?

No. Base64 is encoding, not encryption. Anyone can decode it. Never use Base64 to hide sensitive data - use proper encryption instead.

All processing happens in your browser. No data is sent to any server.