SVG Optimizer
Strip comments, metadata, and whitespace from SVG markup.
SVG input
Optimized SVG
About the SVG Optimizer
Clean up hand-written or exported SVG markup by removing comments, titles/descriptions, empty attributes, and extra whitespace, with a live before/after size comparison.
Examples
Optimize exported SVG
<svg><!-- comment --><title>x</title>...</svg>Output
<svg>...</svg>Related tools
Base64 Image Encoder
Images
Convert images to Base64 data URLs and back again.
Color Picker from Image
Images
Sample any pixel color from an uploaded image.
Favicon Generator
Images
Generate a full set of favicon sizes from one image.
Image Color Palette Extractor
Images
Extract the dominant colors from any image.
Image Compressor
Images
Shrink JPEG, PNG, and WebP images without a server.
Image Cropper
Images
Crop images by dragging a selection box, right in your browser.
Frequently asked questions
Read more
- Compressing and converting images without uploading them
How Canvas-based compression works, when WebP wins, and how to keep quality while cutting page weight.
- Image optimization for the web: formats, compression and sizing
A practical framework for picking a format, a resolution and a compression level so images stop being the heaviest part of the page.
Version 1.0.0 · Updated 2026-08-06 · Runs entirely in your browser