Web Tools
Base64 Encoder/Decoder
Encode and decode Base64 strings instantly. Supports text and file input with real-time conversion and copy-to-clipboard functionality.
base64 encoder decoder conversion
Published March 21, 2026
All interactive tools run entirely in your browser. Your data never leaves your device.
How It Works
Type or paste text to encode it as Base64, or paste a Base64 string to decode it back to text. Toggle between Encode and Decode modes — switching modes automatically swaps input and output for easy round-trip testing.
Features
- Encode: Convert any text to Base64 representation
- Decode: Convert Base64 strings back to readable text
- UTF-8 Support: Handles emojis, CJK characters, and special characters correctly
- Bidirectional: Toggle modes to swap input and output instantly
- Copy: One-click copy to clipboard
What is Base64?
Base64 is a binary-to-text encoding scheme that represents binary data as ASCII characters. It is commonly used for:
- Embedding images in CSS/HTML as data URIs
- Encoding binary data in JSON payloads
- Basic HTTP authentication headers
- Email attachments (MIME encoding)