What does this SVG optimizer remove from Illustrator, Figma, or Inkscape exports?
It strips XML comments, <?xml?> declarations, <!DOCTYPE> headers, <metadata> blocks, editor-only namespaces and attributes (inkscape:*, sodipodi:*, sketch:*, data-name), nested empty <g> groups, and redundant whitespace while rounding excessive floating-point decimals on path coordinates.
Does it also sanitize dangerous SVG scripts and event handlers?
Yes. Security sanitization is always active: <script> tags, <foreignObject> blocks, inline on* event handlers (onload, onclick, etc.), and javascript: or data:text/html links are automatically stripped and counted.
Will rounding decimal precision break my logo viewBox or curves?
No. The optimizer preserves the root viewBox attribute and non-numeric values like width="100%" untouched. Rounding path coordinates to 2 decimals is visually indistinguishable on standard logo viewBoxes while trimming significant byte weight.
Is my SVG uploaded to a server?
Never. Optimization, security sanitization, pre-press auditing, and PNG preview rasterization run 100% inside your browser tab.