SVG Viewer

Paste SVG/XML code and view 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 not executed for security reasons.

100%

Valid SVG code will appear here.

What this tool does

The SVG Viewer displays SVG code directly in your browser. It lets you 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 zoom or panning to examine details.
  3. Reset the view or clear the field when you want to inspect another SVG.

Useful applications

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

Notes and limitations

  • The code is processed locally in your browser. Scripts, embedded HTML and external resources are not executed.
  • 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 reasons.