Image to HTML
Free online image to HTML converter. Convert JPG, PNG, WebP, BMP, SVG images to HTML code with base64 embedding. No upload, instant conversion, copy or.
Tool powered by eeencode on fffuel.
Convert SVG to Base64 and data URIs with eeencode in your browser. Encoding for HTML and CSS—official fffuel.co tool; limits on their site.
Convert SVG to Base64
Instantly convert SVG code or files to Base64 strings.
Data URI
Get data:image/svg+xml;base64,. for CSS backgrounds.
Raw Base64
Copy raw Base64 string. Use where needed.
URL String
Copy URL string format.
CSS Backgrounds
Easy to use SVGs as CSS background images. No extra HTTP request.
Copy Buttons
One-click copy for each output format.
Input SVG
Paste your SVG code or upload an SVG file.
Convert
The tool automatically converts SVG to Base64.
Copy
Copy the format you need. Use in CSS, HTML, or code.
CSS Backgrounds
Data URI avoids extra request. Good for small SVGs.
Size
Base64 adds ~33% overhead. Very large SVGs may be better as files.
Copy Data URI
Full Data URI is ready for url() in CSS.
Web Developers
CSS background images. No extra request.
Designers
Inline SVG in designs. Single file export.
Inline images. Email client compatibility.
Build Tools
Get Data URI for build pipelines.
No Extra Request
Data URI in CSS. One less HTTP request.
Copy Ready
Data URI, URL string, raw Base64. One click.
Flexible Input
File, paste, or upload.
Free
No account. Encode as much as you like.