Base64 Encode / Decode
Encode text to Base64 or decode Base64 strings instantly.
How to Encode or Decode Base64
- 1Select "Encode" to convert plain text to Base64, or "Decode" to convert Base64 back to text.
- 2Paste or type your input in the left text area.
- 3Click "Convert" to perform the encoding or decoding.
- 4The result appears in the right text area. Click "Copy" to copy it.
- 5Use "Swap" to quickly switch between encode and decode modes with the current output.
Features
✓Encode plain text to Base64 format
✓Decode Base64 strings back to readable text
✓Full UTF-8 support for international characters
✓One-click swap between encode and decode
✓Copy result to clipboard instantly
✓No server communication — everything runs locally
✓Handles multi-line text and special characters
✓Free to use with no limitations
Frequently Asked Questions
What is Base64 encoding?▼
Base64 is a binary-to-text encoding scheme that represents binary data as an ASCII string. It uses 64 characters (A-Z, a-z, 0-9, +, /) to encode data. It is commonly used in email attachments, data URLs, and API authentication tokens.
Why would I need to encode something in Base64?▼
Base64 encoding is used when you need to transmit binary data over text-based protocols like HTTP or email. Common use cases include embedding images in HTML/CSS (data URIs), encoding API keys, and encoding file attachments.
Is Base64 encryption?▼
No. Base64 is an encoding, not encryption. It does not provide any security. Anyone can decode a Base64 string. If you need to protect sensitive data, use proper encryption instead.
Does this tool support Unicode and special characters?▼
Yes. This tool properly handles UTF-8 encoding, so you can encode and decode text in any language including Chinese, Japanese, Korean, Arabic, emoji, and more.
Is there a size limit?▼
There is no hard limit imposed by the tool. Since it runs in your browser, the practical limit depends on your device's available memory. Most text up to a few megabytes works fine.