Running on your device · 0 bytes uploaded

# SVG sanitizer & sandboxed preview

See what an SVG is trying to do — scripts, handlers, external references, trackers — then get a sanitized copy that cannot fetch or run anything. Output is text by default; the preview is opt-in and fully sandboxed.
SVG markupOr load an SVG fileDisclose & sanitize

- No promise of pixel-perfect survival — removed filters or styles mean the sanitized file may draw differently.
- Internal fragment references (#id) survive; every external reference is stripped, including data: URIs.
- Sanitizing runs on the main thread with DOMPurify and the browser's own XML parser — no worker needed, nothing uploaded.
Nothing in yet

Paste, drop, or type to begin. Everything stays on this device.

paste or drop an SVG to see what it carries

## Next door in Files

- [Font inspector](/files/font)
- [Markdown ⇄ HTML](/text/markdown)
[All files tools](/files)

---

Canonical HTML: https://nutter.tools/files/svg
Markdown version: https://nutter.tools/files/svg/index.md
Plain-text version: https://nutter.tools/files/svg/index.txt
Agent index: https://nutter.tools/llms.txt

