Base64 Encoder/Decoder
Encode text to Base64 or decode Base64 to text with full UTF-8 support
Base64 Encoder / Decoder
Encode text to Base64 or decode Base64 strings back to plain text online, with full UTF-8 support for international characters.
How to Use
- Select "Encode" or "Decode" mode
- Paste or type your text in the input field
- Click the corresponding button to encode or decode
- Click "Swap" to move the output back to the input field for reverse operation
Notes
- This tool uses UTF-8 encoding, supporting Chinese, Japanese, emoji, and other multilingual characters
- Base64-encoded data is approximately 1.33 times the size of the original data
- Base64 is not encryption — anyone can easily decode it. Do not use it to protect sensitive information
FAQ
What is Base64?
Base64 is an encoding scheme that converts binary data into ASCII text. It uses 64 characters (A-Z, a-z, 0-9, + and /) to represent data, commonly used to transmit binary data in text-based environments.
When should I use Base64?
Common uses include: embedding attachments in emails, transmitting binary data in JSON or XML, embedding small images in CSS (Data URIs), and encoding credentials for HTTP Basic Authentication.
What is URL-safe Base64?
Standard Base64 uses + and / characters, which cause issues in URLs. URL-safe Base64 replaces + with - and / with _, and may omit trailing = padding, making it safe for use in URLs and filenames.
Is my data secure?
Completely secure. All encoding and decoding operations run locally in your browser. No data is ever sent to any server.