SVG Viewer

Inspect local SVG markup at several scales without opening it as an active document.

Input

Processed on your device

How to use SVG Viewer

Open vector markup in a browser preview to inspect shapes, colors and viewBox behavior before using it on a site.

  1. Paste the SVG or open a local file, set Preview width and open the preview.
  2. Compare at more than one width if the graphic is intended to scale.
  3. Select Open preview and review the result.
Example input
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60"><rect x="5" y="5" width="50" height="50" rx="10" fill="#000000"/></svg>

Example use

Check whether a saved icon renders within its expected canvas before adding it to a design system.

Output and compatibility

The browser sanitizes active content and does not reproduce an external app’s fonts, remote resources or styling environment. A change in preview width can reveal an aspect ratio issue.

Troubleshooting

If the image is clipped or blank, inspect width, height and viewBox, and make sure the SVG is self-contained.

Use SVG Optimizer after confirming its original appearance.

Frequently asked questions

Does it run scripts embedded in the SVG?

The preview sanitizes active content.

Can I download it as PNG?

Use SVG to PNG for raster output.

Find a tool