Base64 Decoder
Decode Base64 encoded text back to plain text, images, and binary files. Supports data URLs with automatic MIME type detection.
Base64 Input
Decoded Output
Detected MIME Type:
Saved Items
About Base64 Encoding
Base64 Encoding is a binary-to-text encoding scheme that represents binary data in an ASCII string format. It's commonly used in web development and data transmission. For encoding special characters in URLs, check out our URL Encoder-Decoder.
Common Use Cases
- Encoding images in HTML/CSS via Data URLs
- Data URLs for web resources
- Email attachments (MIME)
- API authentication tokens
- Storing binary data in text format
- JWT tokens and credentials
Key Features
- Converts binary to ASCII text
- Uses A-Z, a-z, 0-9, +, / characters
- Padding with = characters
- Increases data size by ~33%
- Reversible encoding
- Safe for text-based protocols
MIME Types and Base64
Base64 encoding is commonly used with MIME types for embedding data in HTML, CSS, and other text formats. Common MIME types:
image/png- PNG imagesimage/jpeg- JPEG imagesimage/gif- GIF imagesimage/webp- WebP imagesimage/svg+xml- SVG imagesaudio/mpeg- MP3 audiovideo/mp4- MP4 videoapplication/pdf- PDF documentsapplication/json- JSON datatext/plain- Plain textfont/woff2- Web fontsapplication/zip- ZIP archives
Example data URL: data:image/png;base64,iVBORw0KGgo...