All projects

svg-forge

An SVG optimizer that runs entirely in the browser, inspired by SVGOMG. SVGO 4 in Web Workers, batch processing, and export as a Vue component, CSS or an SVG sprite. Installs as an app and works offline.

svg-forge showing an optimized landscape illustration with the SVGO settings panel, in light and dark themes

What's inside

  • SVGO runs in a Web Worker, so the interface never freezes; the result updates live
  • Batches are optimized in parallel workers and download as a zip
  • An SVG sprite from a batch, with ids prefixed so icons never clash
  • User SVG never touches the page DOM: previews go through <img>, scripts never run
  • Before and after slider, and a code view with search that loads on demand