Base64 Encoder/Decoder
Encode text to Base64 format or decode Base64 strings back to readable text. Perfect for developers working with data encoding and API communications.
Input
Output
File Encoding/Decoding
Encode File to Base64
Drop a file here or click to select
Supports any file type (max 10MB)
Decode Base64 to File
What is Base64?
Base64 is a binary-to-text encoding scheme that represents binary data in an ASCII string format. It uses 64 different characters (hence the name) to encode data.
Common Uses:
- Encoding binary data for transmission over text-based protocols
- Embedding images in HTML/CSS
- Storing complex data in JSON or XML
- API authentication tokens
- Email attachments
Technical Details
64
Characters Used
33%
Size Increase
A-Z
Uppercase
+/=
Special Chars
Important Notes:
- Base64 encoding increases data size by approximately 33%
- Not suitable for encryption - it's easily reversible
- Always use UTF-8 encoding for text before Base64
- Output may contain padding characters (=)
Common Examples
Simple Text
Input: "Hello"
Output: SGVsbG8=
JSON Data
Input: {"name":"John"}
Output: eyJuYW1lIjoiSm9obiJ9
Special Characters
Input: "Hello 😀"
Output: SGVsbG8g8J+YgA==