Base64 Encoder/Decoder
Convert between binary data and Base64 text representation.
What is Base64?
Base64 is a binary-to-text encoding scheme that represents binary data in an ASCII string format.
Common Uses
- Embedding binary data in JSON/XML
- Data URLs for images
- Email attachments
- Basic obfuscation
Technical Details
- Uses 64 characters (A-Z, a-z, 0-9, +, /)
- Padding with = when needed
- 33% size overhead
User Guide
How to use this Base64 encoder/decoder
Steps
- Select encode or decode mode
- Enter your input text
- Click process button
- Copy the result if needed
Tips
- Text is encoded as UTF-8 bytes before Base64 conversion
- For decoding: must be valid Base64
- Works entirely in your browser
Mode Selection
Choose whether to encode or decode the input.
Input
Enter text to encode to Base64
Output
Base64 encoded result
Result will appear here
How to Encode and Decode Base64 Text
Base64 converts UTF-8 bytes into printable text. Choose Encode to convert text to Base64, or Decode to turn Base64 back into readable text. Processing happens in your browser.
- Select Encode or Decode.
- Enter UTF-8 text or a valid Base64 string.
- Choose the action button, then copy the result.
Is Base64 encryption?
No. Base64 is reversible encoding, not encryption. Anyone can decode it, so never use Base64 to protect passwords, API keys, or other secrets.