CSS / FRONTEND · RUNS IN YOUR BROWSER

SVG Viewer

Paste SVG for an instant safe preview and see exactly what was stripped out.

Up to 500,000 characters and 10,000 nodes. Scripts, event attributes, external resources, and embedded HTML are always removed.

Preview

Preview backdrop

Paste SVG and it will render here.

SVG source

About this tool

Paste SVG source and it renders immediately, with no need to save a file first. Everything passes an allow-list filter first: `<script>`, event attributes like `onload`, HTML embedded through `<foreignObject>`, and any resource pointing at an external URL are removed, and only then is the result rendered through an isolated image element — so opening an SVG of unknown origin is safe. The tool lists exactly which elements and attributes it removed, so you can see what the file originally contained.

How it works

  1. Paste SVG source, or load the example.
  2. Switch the preview backdrop between light, dark, and transparency checks.
  3. Review the removal list to see whether the file was clean.

Privacy

Every calculation and preview runs inside this browser. Your input is never uploaded, stored, or written to the URL or any log.

Frequently asked questions

Why does some SVG render incompletely?
Because the safety filter removes external references and embedded HTML. If the original linked an external bitmap through `<image>` or embedded markup in `<foreignObject>`, those parts are gone. Purely vector artwork is unaffected.
Is my file uploaded anywhere?
No. Filtering and rendering both happen inside your browser. Nothing is sent to a server, written to the URL, or stored anywhere; closing the tab is all it takes to discard it.