Back to tools

SVG Optimizer

Clean and minimize SVG markup with svgtidy

100% client-side — your SVG files stay on your device

Drop SVG files here or browse

Optimize one file or batch-process a whole set locally

Clean SVG markup without changing the artwork

This tool runs svgtidy locally in your browser to strip comments, metadata, hidden elements, and other redundant markup.

  • Batch optimize multiple SVG files in one pass.
  • Inspect the cleaned SVG code before downloading.
  • Download one file or package the whole batch as a ZIP.

Selected files

Add SVG files to begin

Local SVG cleanup with svgtidy

SVG Optimizer uses the svgtidy WebAssembly package to remove comments, metadata, hidden elements, redundant grouping, and other export noise while preserving the visible artwork.

Batch optimization workflow

Process one SVG or a full batch, compare original and optimized markup, review file-size savings, then download individual files or a ZIP archive generated entirely in the browser.

Read the SVG Optimizer documentation