Base64 Encoder/Decoder
Encode text to Base64 or decode Base64 to text. Supports standard and URL-safe Base64 encoding with full UTF-8 support. All processing happens in your browser for privacy.
Text to Encode
Base64 Output
Enter text and click "Encode to Base64" to see the result.
All processing happens in your browser - your data never leaves your device.
About Base64 Encoding
Base64 is a binary-to-text encoding scheme that represents binary data using 64 ASCII characters. It's commonly used to encode data that needs to be transmitted or stored in text-based formats.
Common Use Cases
- Embedding images in HTML/CSS as data URIs
- Encoding binary attachments in email (MIME)
- Storing binary data in JSON or XML
- URL-safe encoding for query parameters and tokens
URL-Safe Base64
Standard Base64 uses + and / characters which have special meaning in URLs. URL-safe Base64 replaces these with - and _ respectively, and typically omits padding (=).