SVG Viewer

Paste SVG/XML code and preview the vector graphic directly in your browser. The preview supports zooming and panning.

SVG Viewer

SVG code

Paste SVG/XML code or edit it directly.

Preview

Scripts and external resources are blocked for security.

100%

Valid SVG code will appear here.

What this tool does

The SVG Viewer renders SVG code directly in your browser so you can inspect a vector graphic without sending the code to an external service.

How to use the tool

  1. Paste a complete SVG document into the code field or edit the XML directly.
  2. Inspect the rendered graphic and use zooming or panning to examine details.
  3. Reset the view or clear the field when you want to inspect another SVG.

Useful applications

  • Check an SVG you created before using it on a website.
  • Inspect a vector graphic's viewBox, shapes and spacing in the browser.
  • Compare small changes in SVG code with the rendered output.

Notes and limitations

  • The code is processed locally in your browser. Scripts, embedded HTML and external resources are blocked.
  • Unsupported or potentially unsafe SVG content may be removed from the preview.

Frequently asked questions

Why is my SVG not displayed?

Check that the content is valid XML with an <svg> root element. Incomplete or malformed documents are not rendered.

Are external images or fonts loaded?

No. External resources and executable content are blocked for security.