Image / Base64 converter

Convert images to and from Base64, with drag and drop and preview

Add images
Drop images here

Or click to choose files

Supports JPG/JPEG, PNG, GIF, SVG, WebP images up to 10MB
Selected files:
Base64 output

Base64 will appear here

Format: PNG Size: 0 KB Dimensions: 0×0

                    
Base64 to image
Base64 conversion result
Features
  • Image to Base64 with drag and drop
  • Base64 to image with preview and download
  • Supports JPG, PNG, GIF, SVG and WebP
  • Image dimensions, file size and format
  • Image preview and optional compression
  • Batch processing
Supported formats
JPG/JPEG
image/jpeg, image/jpg
PNG
image/png
GIF
image/gif
SVG
image/svg+xml
WebP
image/webp
Examples

Click an example to load it

Small icon
16 × 16 pixel PNG icon
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGUlEQVR4nGNQmNjwnxLMMGrAqAGjBgwXAwCAoDAfXoN/6QAAAABJRU5ErkJggg==
Test image
Simple Base64 image example
data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cmVjdCB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgZmlsbD0iIzAwN2JmZiIvPjx0ZXh0IHg9IjUwIiB5PSI1MCIgZm9udC1mYW1pbHk9IkFyaWFsIiBmb250LXNpemU9IjE0IiBmaWxsPSJ3aGl0ZSIgdGV4dC1hbmNob3I9Im1pZGRsZSIgZHk9Ii4zZW0iPlRlc3Q8L3RleHQ+PC9zdmc+
Image information

Choose an image to view its information