Images & SVG

SVG Viewer

Paste SVG markup and see a safe, live preview alongside plain-language source diagnostics. Scripts, event handlers and remote references are removed before anything is rendered.

Runs in your browser v1.0.0

SVG source

sanitized before preview

Paste a complete <svg> document, or load the example. Your markup never leaves this page.

Source diagnostics

0 findings

Live preview

updates as you type
100%

Safe markup used by the preview

How it works

The markup is scanned and cleaned in your browser: <script> elements, on* event attributes, embedded HTML (foreignObject), remote http(s) references and javascript: URLs are removed before the graphic is parsed as XML and shown. If the markup cannot be parsed as XML, the exact problem is reported instead of a blank preview. Nothing is uploaded and no network request is made.