Base64 Image Converter
Encode PNG, JPG, GIF and SVG images into Base64 data URI strings, or decode Base64 back into a viewable image. Preview, copy and download the result without uploading anything, free in your browser.
Embed
What is Base64 Image Converter?
Encode PNG, JPG, GIF and SVG images into Base64 data URI strings, or decode Base64 back into a viewable image. Preview, copy and download the result without uploading anything, free in your browser.
How to Use
- 1Select mode— Choose the Image→Base64 or Base64→Image tab.
- 2Input— Upload an image file or paste a Base64 string.
- 3Check results— View the preview, file information, and Base64 output.
- 4Copy/Download— Copy as Base64, Data URI, HTML, or CSS, or download the image.
Related Tools
Frequently Asked Questions
PNG, JPEG, GIF, WebP, and SVG are supported.
Up to 5MB is supported. Try compressing larger files first.
Data URI includes the MIME type ('data:image/png;base64,...'), while Base64 is the pure encoded string.
Yes, use the Data URI directly in <img src> or use the HTML/CSS copy buttons.
No. All conversions are processed using the browser's FileReader API.