Image to Base64 Converter
Convert an image file to Base64 or a data URL.
- Browser-based
- Basic conversion
- No signup
- Stays on your device
Image
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 in your browser.
Scripts, event handlers, and external links are removed locally.
Removed <script>, onclick.
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 in your browser.
Use the SVG Optimizer form near the top of this page. Enter the values you know, run the tool, and review the results panel. You can change inputs and run it again. Processing stays in your browser and is not uploaded to Utilnivo servers.
Example: open SVG Optimizer, enter a realistic set of inputs for your situation, and note the primary result. Change one input—such as an amount, rate, or option—and compare how the output changes so you can choose a scenario that fits your needs.
Second example: try edge cases that matter for your task—such as zero values, a different unit system, or a second file—and confirm the tool shows a clear result or a helpful validation message.
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 in your browser.
This tool runs in your browser for convenience. Results are estimates or transformations based on the inputs you provide and may not cover every edge case.
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.
Convert an image file to Base64 or a data URL.
Decode Base64 or a data URL into an image file.
Build color palettes from a seed hex color or an image.