Encoding & Utility Tools
Base64 Encoder & Decoder
Encode text or files to Base64, URL-safe Base64 (RFC 4648 Β§5), or MIME-chunked Base64.
Decode Base64 strings back to plaintext or binary. Image files are previewed directly.
All operations use the browser's native btoa() / atob() and FileReader APIs.
All processing happens locally in your browser. No data is uploaded.
Variant:
Input Text
Base64 Output
Output will appear hereβ¦
Drop any file to encode as Base64
Image files will be previewed β data URI generated automatically
Base64 Variant Reference
| Variant | Charset | Padding | Use Case |
|---|---|---|---|
| Standard (RFC 4648) | AβZ aβz 0β9 + / | = padding | Email, HTTP bodies, general encoding |
| URL-Safe (Β§5) | AβZ aβz 0β9 - _ | No padding | JWT tokens, URL parameters, filenames |
| MIME | AβZ aβz 0β9 + / | = padding | Email attachments, multipart bodies (76-char lines) |