Base64 Encoder & Decoder – Free Online Tool

Encode text to Base64 or decode Base64 back to plain text. Supports Chinese characters and Unicode. 100% browser-based.

Try it Free →

Features

🔄

Encode & Decode

Switch between encode and decode modes with a single click. Bidirectional conversion made simple.

🌏

Unicode Support

Full UTF-8 support including Chinese, Japanese, Korean, and emoji. Encode any character without issues.

Instant Results

Results update in real time as you type or paste. No need to click a button.

🔒

Privacy First

All encoding and decoding uses browser APIs (btoa/atob). No data is transmitted anywhere.

📋

One-Click Copy

Copy the encoded or decoded result to your clipboard instantly.

📥

Drag & Drop

Drag a text file onto the input area to load its contents for encoding or decoding.

How to Use

1

Choose Mode

Select Encode to convert text to Base64, or Decode to convert Base64 back to text.

2

Enter or Paste Text

Type or paste your text (or Base64 string) into the input field.

3

View Result

The encoded or decoded result appears instantly in the output field.

4

Copy the Result

Click the copy button to copy the result to your clipboard.

Frequently Asked Questions

What is Base64 encoding?
Base64 is a binary-to-text encoding scheme that represents binary data in ASCII string format using 64 different ASCII characters (A-Z, a-z, 0-9, +, /). It's commonly used to encode data for transmission over text-based protocols.
Does it support Chinese and other Unicode characters?
Yes. The tool uses UTF-8 encoding internally, so it correctly encodes and decodes Chinese, Japanese, Korean, emoji, and any other Unicode characters.
Why does encoding Chinese produce such a long string?
Each Chinese character is 3 bytes in UTF-8. When Base64 encodes 3 bytes into 4 characters, a single Chinese character becomes 4 Base64 characters, making the output longer than the input visually.
Can I encode files using this tool?
For text content, yes. For binary files (images, PDFs), use the Image to Base64 tool which handles binary data as base64 data URLs.
Is my text sent to a server?
No. All encoding and decoding is done locally in your browser using JavaScript's btoa and atob functions (with TextEncoder/TextDecoder for Unicode support). Your data never leaves your device.

← Back to pudone! home