AES-Verschlüsselung erklärt: Wie sie funktioniert und warum sie wichtig ist
Jun 23, 2026
Upload an image to convert it into a Base64 data URI. Useful for embedding images directly in HTML, CSS, or JSON without an extra HTTP request.
Paste a Base64 data URI or raw Base64 string to render the image and download it. Works with PNG, JPEG, GIF, WebP, SVG, and BMP.
Base64 image encoding is the process of converting an image file (binary data) into a printable ASCII string using the Base64 algorithm. The result is a text string that begins with a data URI scheme such as data:image/png;base64, followed by the encoded payload.
This technique is widely used in web development to embed images directly inside HTML, CSS, or JSON without requiring a separate HTTP request for each image. It is also useful for transporting binary assets through text-only channels such as APIs, email bodies, or configuration files.
Base64-encoded data is approximately 33% larger than the original binary. Browsers also cannot cache Base64 images the same way they cache regular image files, so use Base64 only for small assets (icons, logos under ~10KB). For larger images, prefer traditional <img src="..."> references.
data:image/...;base64, prefix). The image preview and metadata appear on the right. Click Download Image to save the decoded file.PNG, JPEG, GIF, WebP, SVG, BMP, and ICO. Most web browsers also support additional formats transparently when used in a data URI.
No. All encoding and decoding happens locally in your browser using the FileReader and Canvas APIs. Your images never leave your device.
data: prefix?Yes. The decoder auto-detects the MIME type from the data URI prefix when present, or falls back to inspecting the Base64 payload to choose a sensible default (PNG).
Base64 expands binary data by about 33% because it represents every 3 bytes as 4 ASCII characters. This overhead is the trade-off for being able to send binary data through text-only channels.
This tool caps uploads at 5MB to keep the browser responsive. For larger images, consider compressing them first or chunking them into smaller segments.
Encode and decode Base64 data
Encode or decode URLs and query strings
Encode/decode HTML entities
Convert text to and from hexadecimal
Convert text to and from binary
Convert text to Unicode escapes
Blog
Jun 23, 2026
Jun 23, 2026
Jun 23, 2026
Jun 23, 2026
Jun 23, 2026
Jun 23, 2026