Base64 to Image & Image to Base64 Converter
Convert images to Base64 Data URIs, raw strings, HTML img tags, and CSS rules, or decode Base64 strings to downloadable images. 100% in-browser processing.
- PNG
- JPG
- WEBP
- SVG
- GIF
- ICO
How to use this tool
Choose your direction: 'Image to Base64' or 'Base64 to Image'.
In Image to Base64 mode, upload or drag-and-drop any image (PNG, JPG, WebP, SVG, GIF, ICO) or paste from clipboard.
Select your desired output format tab: Data URI, Raw Base64, HTML <img> tag, or CSS background-image rule, and click Copy.
In Base64 to Image mode, paste your Base64 string or Data URL into the decoder input field.
Inspect the decoded live preview and click Download Decoded Image to save the file locally.
Frequently asked questions
Quick answers about file privacy, processing modes, formats, and device support.
Related tools
SVG to PNG Converter
Convert scalable vector SVG files into high-resolution raster PNG images with custom scaling (1x, 2x Retina, 4x Ultra HD) and transparency control. 100% in-browser processing.
Image Converter
Convert a JPEG, PNG, or WebP image between formats. Processing runs on the Elixuvo API in memory — files are not stored permanently.
Image Compressor
Compress a JPEG, PNG, or WebP image with a quality setting. Processing runs on the Elixuvo API in memory — files are not stored permanently.
Image Color Palette Extractor
Extract dominant color palettes and inspect individual pixels with a live magnifying loupe from JPG, PNG, WebP, and SVG images. Export as Hex, RGB, HSL, CSS variables, Tailwind config, or PNG swatch sheets. 100% in-browser processing.