Skip to content

Menu

Free tool

SVG viewer

Open one SVG file or a whole folder of icons, or paste SVG code, to see what it looks like, how big it is and what is inside. Edit the code and the preview follows. Nothing is uploaded, and scripts in the file never run.

  • Free, no sign-up
  • Never uploaded
  • Works offline once loaded
SVG viewer

Guide

SVG viewer, explained

Open one SVG file or a whole folder of icons, or paste SVG code, to see what it looks like, how big it is and what is inside. Edit the code and the preview follows. Nothing is uploaded, and scripts in the file never run.

Open SVG files without installing anything

Windows Photos and many image viewers cannot open SVG, and opening one in a browser tab shows it on a plain background at whatever size it happens to be. Drop the file here to see it on a checkerboard, white or dark background, fitted to the window or at 100% and 200%.

Drop a whole folder of icons at once and each file gets a thumbnail above the preview; click one to inspect it. The panel next to the preview lists the size in pixels, the viewBox and the file size, and counts the paths, basic shapes, groups, text elements and embedded images, so you can tell at a glance whether an icon is a clean single path or a heavy export.

Read and edit the code

The code panel works as an online SVG reader and a small editor: change a fill color, a stroke width or the viewBox and the preview updates as you type. If the code stops being valid SVG, the preview stays on the last version that worked and tells you so. Revert brings back the file as you opened it, and Save SVG downloads your edited copy.

Save as PNG or use it in CSS and HTML

Save PNG draws the SVG at twice its own size, at least 512 and at most 4,096 pixels on the long side, with a transparent background. For another size, a JPG or many files at once, use SVG to PNG or SVG to JPG.

Copy data URI gives a data:image/svg+xml address you can paste into a CSS background-image or an <img src> without hosting a file. Copy Base64 gives the Base64 form that some email templates and older tools ask for.

Safe to open files from anywhere

SVG files can contain scripts and links to outside files. The viewer shows the SVG as an image, the same way a page shows an <img>, so scripts never run and nothing is fetched from other servers. If a file has scripts or outside links, the viewer tells you, because those parts will also be missing when you use the SVG as an image elsewhere.

FAQ

Frequently asked questions

Something else? Write to contour@niamori.ai.

How do I open an SVG file?

Drop it on the viewer above, or choose one or several files with the button. You can also paste SVG code copied from a website or an editor. It works the same on Windows, Mac, Linux and Chromebooks, because it runs in the browser.

Is it safe to open an SVG file from the internet?

Here it is. The file is read on your device and never uploaded, and it is shown as an image, so any scripts inside never run and nothing is loaded from other servers. The viewer lists the scripts and outside links it finds.

Can I edit an SVG online here?

Yes, at the code level: edit colors, sizes, the viewBox or any attribute and watch the preview change, then save the edited SVG. To move or redraw shapes by hand, use a vector editor such as Inkscape or Figma.

Can I convert the SVG to PNG here?

Yes. Save PNG downloads a sharp PNG with a transparent background. For a size of your choice, a JPG or a batch of files, use SVG to PNG or SVG to JPG.

Does it work as an SVG file opener on Windows, Mac and Linux?

Yes. It runs in any current browser, so it opens .svg and compressed .svgz files the same way on Windows, macOS, Linux, Chromebooks and phones, with nothing to install. The file is read on your device and never uploaded.

Are my files uploaded?

No. Everything runs in your browser, so your files stay on your device. That makes it safe for client artwork and unreleased designs.

What else does Contour do?

Contour converts PNG, JPG and WebP images into clean, editable SVG vectors, also in your browser. The SVG download is free for any single image, traced at up to 1.6 megapixels; Pro traces at up to 16 megapixels and adds batches and PDF, EPS and DXF export.

Turn your next image into a vector.

Free in your browser. Pro adds 16-megapixel tracing, batches and PDF, EPS and DXF export for US$5 a month.