Keep the drawing, trim the markup
For supported static SVGs, the optimizer removes comments and whitespace between structural elements. Geometry, IDs, viewBox and text remain in place. Both previews help you check the result before downloading.
Remove comments and redundant structural whitespace from supported static SVGs. Compare the previews and byte counts before downloading the result.
No result yet. Enter values or load the worked example.
Validate supported static SVG → remove comments and structural whitespace → compare bytes
ONE WORKED EXAMPLE
The 10 × 5 rectangle keeps its dimensions. The comment and structural line breaks are removed.

<!-- note --> <rect width="10" height="5"/>
<rect width="10" height="5"/>THE FIELD NOTES
Use the result now, then read the practical notes for assumptions, examples, limitations, and the choices behind it.
The 10 × 5 rectangle keeps its dimensions. The comment and structural line breaks are removed.
For supported static SVGs, the optimizer removes comments and whitespace between structural elements. Geometry, IDs, viewBox and text remain in place. Both previews help you check the result before downloading.
The 10 × 5 rectangle keeps its dimensions. The comment and structural line breaks are removed.
The batch barcode generator and itf 14 barcode generator create new barcode graphics from code data. This optimizer instead accepts an existing SVG and removes only supported structural markup. Check barcode geometry and quiet zones before printing.
The restricted subset excludes scripts, animation, CSS styles, foreign namespaces and resource references. Unsupported input is rejected rather than silently rewritten. Paths and numeric precision are not simplified. If serialization is not smaller, the original accepted SVG is returned with zero savings.
THE PRODUCT IS NEXT
For supported static SVGs, the optimizer removes comments and whitespace between structural elements. Geometry, IDs, viewBox and text remain in place. Both previews help you check the result before downloading.
The 10 × 5 rectangle keeps its dimensions. The comment and structural line breaks are removed.
The batch barcode generator and itf 14 barcode generator create new barcode graphics from code data. This optimizer instead accepts an existing SVG and removes only supported structural markup. Check barcode geometry and quiet zones before printing.
The restricted subset excludes scripts, animation, CSS styles, foreign namespaces and resource references. Unsupported input is rejected rather than silently rewritten. Paths and numeric precision are not simplified. If serialization is not smaller, the original accepted SVG is returned with zero savings.
Remove comments and redundant structural whitespace from supported static SVGs. Compare the previews and byte counts before downloading the result.
The restricted subset excludes scripts, animation, CSS styles, foreign namespaces and resource references. Unsupported input is rejected rather than silently rewritten. Paths and numeric precision are not simplified. If serialization is not smaller, the original accepted SVG is returned with zero savings.
No. Inputs are processed locally in this browser and are not included in analytics. Keep your own source copy before closing or refreshing the page.
BUILT BY LOOK ATLAS
Turn a simple product photo into polished, campaign-ready creative for your store, ads, and social channels. No studio. No reshoots.
Create your first shoot free, then keep going when you’re ready.