SVG Optimizer

Sanitize SVG and remove optional metadata, whitespace and excessive numeric precision. Accepts SVG, IMAGE/SVG+XML files directly on your device. Configurable options include Remove comments, Remove metadata, Remove title and description, Remove editor data.

Quick Reference

Sanitize SVG and remove optional metadata, whitespace and excessive numeric precision. Accepts SVG, IMAGE/SVG+XML files directly on your device. Configurable options include Remove comments, Remove metadata, Remove title and description, Remove editor data.

  • Input: .svg, image/svg+xml
  • Runtime: On-device Browser UI, Node CLI (vipervoid), and MCP
  • Options: Remove comments (default: true); Remove metadata (default: true); Remove title and description (default: false); Remove editor data (default: true); Remove empty groups (default: true); Collapse markup whitespace (default: true); Remove width and height while keeping viewBox (default: false); Number precision (default: Off); PNG scale (default: 1×); Custom PNG width (px) (default: 0)
  • Example: Run directly with default or custom options -> Deterministic local output displayed for copy, download, or JSON inspection
  • CLI: vipervoid run svg-optimizer --text "Sample input" --opt comments="true"

Related Design tools