Image to Base64 Converter
Convert an image file to Base64 or a data URL.
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.
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.
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.