Free online Base64 image encoder. Convert images to Data URI format. Supports JPG, PNG, GIF, WebP, BMP, SVG. Client-side Canvas processing — images never leave your device.
Drag & drop an image here, or click to select
Supports JPG / PNG / GIF / WebP / SVG / BMP
Upload image: Drag an image or click to select. Supports common formats.
View result: Base64 Data URI is generated, with preview and file info.
Copy & use: Use in HTML img tags, CSS backgrounds, or data storage.
Converts image files to plain text strings for embedding in HTML/CSS. Format: data:image/png;base64,iVBOR...
HTML emails, reducing HTTP requests, CSS backgrounds, JSON/XML data transfer, localStorage storage.
Yes, about 33% larger. Best for small icons and thumbnails under 10KB. This tool shows both sizes.
No. Everything happens locally using Canvas API. Images never leave your device.