Base64 Encoder & Decoder
Encode text to Base64 format and decode Base64 back to original text. Supports UTF-8, ASCII, and binary data. Works completely in your browser for privacy.
Operation Mode
Input Text
Character Set:
Length: 0 characters
Base64 Output
Format: Base64
Length: 0 characters
Advanced Options
About Base64
Base64 is a binary-to-text encoding scheme that represents binary data in an ASCII string format. It's commonly used to encode data that needs to be stored and transferred over media designed to deal with text, such as embedding images in HTML/CSS, sending attachments in emails, or storing complex data in JSON.
How to Use
- Select your operation mode (Encode, Decode, or Both)
- Enter your text in the input field
- Click "Convert" to encode/decode
- Use the copy/download buttons to save your results
- Toggle advanced options for URL-safe encoding or line breaks
Common Use Cases
- Web Development: Embed images directly in HTML/CSS
- APIs: Send binary data in JSON format
- Email Attachments: Encode files for email transfer
- Data Storage: Store binary data in text-based formats
- Security: Encode sensitive data for transmission