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
- SVG to PNG — Rasterize local SVG at a preset scale or custom width.
- Color Picker — Convert a CSS color to HEX, RGB, HSL, HSV and OKLCH.
- Contrast Checker — Measure contrast and find nearby AA or AAA text colors.
- CSS clamp() Generator — Interpolate fluid font size between two viewport widths.
- px ⇄ rem / em Converter — Convert pixels and relative CSS units.
- Viewport Unit Calculator — Convert a viewport-relative length into pixels or back to viewport units.