Base64 Encoder/Decoder
Convert between text and Base64 encoding
Encoded Base64
Encode text to see Base64 result
About Base64 Encoder/Decoder
This Base64 Encoder/Decoder provides a simple way to convert between plain text and Base64 encoding. Base64 is commonly used to encode binary data for safe transmission over text-based protocols.
Key Features:
- Text to Base64 Encoding - Convert any text to Base64 format
- Base64 to Text Decoding - Convert Base64 back to original text
- Input/Output Swap - Easily swap between input and output
- One-click Copy - Copy results to clipboard with a single click
- Error Detection - Identifies invalid Base64 during decoding
How It Works:
- Select whether you want to encode or decode
- Enter your text or Base64 string in the input area
- Click the "Encode" or "Decode" button
- View the results in the output area
- Use "Swap" to move output to input for further processing
What is Base64?
Base64 is a binary-to-text encoding scheme that represents binary data in an ASCII string format. It's commonly used when there is a need to encode binary data that needs to be stored and transferred over media designed to deal with text.
- Uses 64 different characters (A-Z, a-z, 0-9, +, /) plus padding character (=)
- Increases data size by approximately 33%
- Not encryption - just an encoding scheme
- Used in data URLs, email attachments, and basic authentication
Common Use Cases
- Encoding images or files in data URLs
- Including binary data in JSON or XML documents
- Basic authentication headers in HTTP requests
- Storing binary data in databases that only accept text
- Encoding email attachments in MIME format
Base64 Encoder/Decoder - Version 1.0 | All processing done in your browser