SVG Viewer

Open an SVG file, or paste SVG code, and see it straight away. Switch the background between a transparency checkerboard, light and dark to spot white or transparent parts, zoom in to check details, and see its width, height, viewBox, element count and file size. The SVG is shown as an image, where browsers never run scripts, and it is read on your device: nothing is uploaded.

Loading image tool...

Features

  • Open .svg files or paste and edit SVG code

  • Checkerboard, light and dark backgrounds

  • Zoom from 5% to 400% of the frame

  • Size, viewBox, number of elements and file size at a glance

  • Safe: shown as an image, so scripts inside the file cannot run

  • Switch to Inspect for a safety report, or Optimise to shrink the file

When you need an SVG viewer

No app opens the file

Windows and phones often open SVGs in a browser tab or not at all. Drop it here to see it with useful backgrounds.

Checking a logo or icon

See whether a logo has a transparent background and how it looks on dark headers.

Files from unknown sources

Preview an SVG without risk: images cannot run code, unlike opening the file directly in a browser tab.

About SVG files

What is an SVG?

SVG (Scalable Vector Graphics) describes shapes as code rather than pixels, so logos and icons stay sharp at any size and the files are often tiny. You can open an SVG in a text editor and read it.

Why preview safely?

An SVG can contain JavaScript. Opened directly in a browser tab, that script runs. Shown as an <img>, as here, browsers block scripts and outside resources. Use the Inspect view to see whether a file contains scripts at all.

Related tools

SVG Viewer - FAQ