Dashboard 100% Local Execution

SVG Optimizer & Rasterizer

Minify SVG XML markup and rasterize vectors to 1x, 2x, or 4x PNG/JPEG.

Loading tool…

About This Tool

Clean up SVG source markup with a lightweight browser-based minifier. Preview the vector, compare approximate file-size changes, copy or download the cleaned SVG, and rasterize it as PNG or JPEG at 1x, 2x or 4x scale.

How to Use This Tool

  1. Upload an SVG file or paste SVG markup into the source editor.
  2. Review the live vector preview and the approximate original and minified sizes.
  3. Copy the cleaned SVG markup or export the minified SVG file.
  4. To create a raster image, choose 1x, 2x or 4x scale and PNG or JPEG, then select Rasterize Image.

Frequently Asked Questions

Does this tool support SVG preview?

Yes. Valid SVG markup is displayed in a live vector preview.

What does the SVG optimizer remove?

Its lightweight minifier removes items such as XML declarations, DOCTYPE declarations, comments, metadata blocks, selected editor-specific attributes and unnecessary whitespace. It is not a full SVGO optimization engine.

Can I convert SVG into PNG?

Yes. You can rasterize the SVG as PNG or JPEG at 1x, 2x or 4x scale.

Can I copy the optimized SVG?

Yes. Use Copy Clean SVG to copy the cleaned markup, or export it as an SVG file.