Base64 Toolkit
Complete Base64 encoder/decoder for text and images in one powerful tool
Base64 Encoding Reference (Click to expand)
Base64 Alphabet
| Variant | Characters Used | Padding |
|---|---|---|
| Standard | A-Z a-z 0-9 + / |
= |
| URL-safe | A-Z a-z 0-9 - _ |
None |
| MIME | A-Z a-z 0-9 + / |
= + line breaks |
When to Use
- Standard For general encoding, data storage
- URL-safe For URLs, filenames, JWT tokens
- MIME For email attachments, legacy systems
Base64 encoding increases data size by approximately 33%. Every 3 bytes of input become 4 characters of output.
The Base64 Toolkit is a comprehensive all-in-one tool that combines text encoding/decoding and image conversion capabilities. **Text Encode/Decode** - Convert plain text to Base64 and vice versa with support for Standard (RFC 4648), URL-safe (no + / =), and MIME (with line breaks) variants. Auto-detect mode automatically identifies Base64-encoded content. Upload text files for encoding. View conversion statistics including size change percentage. **Image to Base64** - Convert images to Base64-encoded strings for embedding in HTML/CSS. Upload images or fetch from URL. Output formats include Data URI, Raw Base64, CSS background-image, and HTML img tag. View image info (dimensions, size, MIME type) and conversion stats. **Base64 to Image** - Decode Base64 strings back to viewable images. Supports both raw Base64 and data URI formats. Auto-detects image type. Preview decoded images and download in original format. View decoded image dimensions and file size. This toolkit is essential for web developers, email template creators, and anyone working with embedded content or data encoding.