Original size
Security + Web Asset Utility
SVG Optimizer + Sanitizer
Clean SVG code before publishing by removing risky script surfaces, editor metadata, comments, and unnecessary markup.
SVG Input
Drop one SVG file here, paste SVG code below, or click to browse.
No SVG file selected yet.
Sanitizing Options
Paste or upload an SVG to start.
Optimized Output
Output size
Saved
Risks removed
Sanitized Preview
A safe preview will appear after sanitizing.
Sanitizing Report
Run the sanitizer to see removed items.
Professional SVG Publishing Workflow
Treat SVG files as code. Clean them before upload, especially when they come from design tools, icon packs, or third parties.
Quality Checks
- Remove script surfaces, event handlers, and unsafe links before embedding SVG inline.
- Keep title and description when the SVG needs accessibility context.
- Validate the visual output after optimization before shipping to production.
FAQ
Is this the same as SVGO?
No. This browser tool focuses on practical sanitizing and safe optimization without a build step.
Can sanitized SVG still be unsafe?
Review critical assets before inline embedding. This tool removes common risky surfaces but cannot replace a full security policy.
Are files uploaded?
No. SVG parsing, cleaning, preview, copy, and download all run locally in your browser.