OCXLY
Design & Images · Free Tool

SVG Optimizer

Paste an SVG and strip the metadata, comments and editor namespaces that bloat files — then round long coordinates to shrink it further. The drawing is untouched, and nothing leaves your browser.

Decimals

How it works

Your SVG is parsed locally with DOMParser. The optimizer removes the weight that editors like Illustrator and Inkscape leave behind — XML comments, <metadata>, and editor-specific namespaces and attributes (inkscape:, sodipodi:) — then rounds long coordinate numbers to the decimal precision you choose and collapses whitespace. The drawing itself is untouched, so it renders identically at a smaller size. Nothing is uploaded.