All toolsESC
Generate / Base64
Base64
Encode text to Base64 or decode Base64 back to plain text with full Unicode support.
Plain Text
Base64 Output
Encoded Base64 appears here
Error
Tips
Unicode — Full UTF-8 support
Swap — Reverse encode ↔ decode
Uses — Data URLs, auth headers, email
Multi-byte — Handles all character sets
About Base64
Encode text to Base64 or decode Base64 back to plain text with full Unicode support. RAW's Base64 tool handles standard Base64, URL-safe Base64, and multi-line input. Essential for working with API authentication headers, data URIs, email encoding, and embedded content.
How to use
- 1Paste text to encode or Base64 string to decode.
- 2Choose "Encode" or "Decode" mode.
- 3The result updates in real-time as you type.
- 4Copy the result to your clipboard with one click.
Frequently Asked Questions
What is Base64 encoding?
Base64 is a binary-to-text encoding scheme that represents binary data using 64 ASCII characters (A-Z, a-z, 0-9, +, /). It's commonly used to embed binary data in text-based formats like JSON, XML, HTML, and email.
Does it support Unicode and emoji?
Yes. RAW properly handles Unicode text including emoji, CJK characters, and accented letters by encoding the UTF-8 byte representation to Base64.
What's the difference between Base64 and URL-safe Base64?
Standard Base64 uses + and / characters which have special meaning in URLs. URL-safe Base64 replaces these with - and _ to make the output safe for use in URLs and filenames.