i♥MyFiles. My Tools
Image tools

SVG Optimizer & Cleaner

Clean SVG whitespace and remove active or external content that can pose a risk when opening untrusted SVG files. Sanitization can change unsupported SVG behavior; always review the preview and keep your original.

Runs in your browser - files are never uploaded
Image tools

SVG Optimizer & Cleaner

Minify and sanitize SVG markup, then inspect a sandboxed preview.

← All tools
Drop files here, or browse

Choose files from your device

Preview
Confirm metadata removal

This edits document properties only; page content, links, annotations and forms are preserved where the PDF engine supports it. Some metadata structures (for example extended XMP written by other editors) may not be fully removed. Your original file is not changed - a separate cleaned PDF is created.

How to use it

  1. Upload an SVG or paste SVG markup.
  2. Inspect the isolated sanitized preview and size comparison.
  3. Download the cleaned SVG.

Frequently asked questions

Does optimization preserve every visual effect?

Not guaranteed. Unsupported or unsafe elements can be removed, so review the preview before using the output.

Are SVG scripts executed?

No. The preview is sandboxed and scripts, event handlers, foreignObject and external resource references are removed.

Is the file uploaded?

No. Parsing and sanitization happen in your browser.