Client-Side SVG Optimizer & Cleaner

Strip Adobe Illustrator, Figma, and Inkscape bloat, sanitize unsafe scripts and event handlers, round excessive path decimals, and check pre-press readiness locally in your browser with zero server uploads.

1. Upload or Paste SVG Source

Drop an .svg file here or click to browse

Max 2 MB · Runs 100% in browser memory

harborline-illustrator-export.svg

2. Optimization Controls

SECURITY STRIP ALWAYS ON
DECIMAL PRECISION

Byte Reduction & Cleanup Report

-69.7% SAVED
ORIGINAL 1.96 KB
OPTIMIZED 609 B
SAVED 1.37 KB (69.7%)
COMMENTS 3
METADATA 3
EDITOR ATTRS 12
EMPTY <G> 3
TITLE / DESC 0
SECURITY STRIPPED 0

Safe Rasterized Preview & Pre-Press Check

Enter valid SVG markup to render preview

PRE-PRESS: PASS 4 paths · 2 shapes · 0 live <text> · 0 rasters

Pure vector geometry detected: zero unoutlined <text> nodes and zero embedded raster images.

3. Clean Output & Export

SVG Optimization FAQ

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.