SVG Optimizer & Preview
Optimize SVG markup locally, preview the result, and generate encoded or Base64 data URIs.
SVG source
Optimization runs as you type; comments, metadata, Inkscape/Sodipodi attributes, and empty defs/g nodes are removed.
About SVG Optimizer & Preview
Optimize SVG markup locally, preview the result, and generate encoded or Base64 data URIs. Processing happens locally in your browser, and the tool does not upload the entered content.
Privacy and compatibility
Results depend on browser capabilities and the supplied input. Review generated output before using it in production or formal documents.