Free Online Base64 Encoder & Decoder
Convert text to Base64 and decode Base64 back to text instantly with our free online tool. Perfect for developers, API testing, and data encoding.
What is Base64?
Base64 is a binary-to-text encoding scheme that represents binary data in an ASCII string format. It's commonly used for:
- Encoding binary data in emails (MIME)
- Embedding images in HTML/CSS
- Storing complex data in JSON/XML
- API authentication (Basic Auth)
- URL-safe data transmission
How to Use
Encoding Text to Base64
- Select the Encode tab
- Enter your text in the input field
- Click "Encode to Base64"
- Copy the encoded result
Decoding Base64 to Text
- Select the Decode tab
- Paste your Base64 string
- Click "Decode from Base64"
- View the original text
Features
- Real-time conversion - Instant encoding and decoding
- UTF-8 support - Works with international characters
- Swap function - Quickly switch between encode/decode
- Copy to clipboard - One-click copying
- Privacy first - All processing in your browser
Base64 Character Set
Base64 uses 64 characters for encoding:
- A-Z (26 characters)
- a-z (26 characters)
- 0-9 (10 characters)
-
- and / (2 characters)
- = for padding
Common Use Cases
API Authentication
Authorization: Basic base64(username:password)
Data URIs
data:image/png;base64,iVBORw0KGgo...
JSON Web Tokens
JWT tokens use Base64URL encoding for header and payload.
Why Use Our Tool?
- 100% free, no signup required
- Works offline after loading
- No data sent to servers
- Mobile-friendly interface
- Fast and reliable
Encode and decode Base64 with confidence!