Image to Base64 Converter
Convert an image file to Base64 or a data URL.
- On your device
- Basic conversion
- No signup
- Stays on your device
Private on your device
Your information stays on your device and is not uploaded.
Convert an image file to Base64 or a data URL.
Decode Base64 or a data URL into an image preview and file.
Build color palettes from a seed hex color or an image.
Rasterize SVG vector graphics to PNG on your device.
Trace flat PNG graphics to SVG—not a lossless photo converter.
Compress images to reduce file size.
Resize images to custom dimensions.
Convert images between JPG, PNG, and WebP formats.
Paste SVG markup to remove scripts, event handlers, foreignObject, iframes, embeds, and external href/src references, then minify whitespace. Sanitization is intentional and conservative for safer SVG use. Processing stays on your device.
1. Paste SVG markup or upload an .svg file. 2. Choose optimization options such as removing comments or metadata if shown. 3. Click Optimize. 4. Compare original and optimized file size in the results panel. 5. Copy or download the optimized SVG. Processing runs on your device.
Example: paste a 12 KB icon SVG with editor metadata and download a smaller cleaned file for web use.
Paste SVG markup to sanitize and minify it locally. The optimizer removes script tags, event-handler attributes (onclick and similar), foreignObject, iframes, embeds, and external href/src references. Comments and extra whitespace are stripped. Processing stays on your device.
Results are based on the inputs you provide and may not cover every edge case. This tool is for general use and is not professional advice.
Your data stays on your device and is not uploaded.
FAQ
Script tags, event-handler attributes (such as onclick), foreignObject, iframe, embed, object, use, and external href/src references.
No. It focuses on sanitization and light minification for safer SVG markup, not every SVGO plugin.
Yes. Utilnivo tools are free to use and do not require an account.
This tool is one step in a longer job. Jump straight to your step or open the full workflow guide.
Page last reviewed: