Skip to main content
DailyBox

SVG Viewer: open and inspect SVG files safely

Open an .svg file or paste its code to see it at any zoom, on a transparent, light or dark background. Unsafe content is removed before it is drawn.

Drop an SVG file here

Up to 5 MB. Opened only in your browser.

Your SVG is processed in this browser tab. It is never uploaded.

How it works

  1. Choose a file, drop it on the page, or paste SVG code.
  2. Zoom with the buttons or Ctrl and the mouse wheel, drag to pan, and switch the background.
  3. Download or copy the cleaned SVG, or open it in the Inspector or Editor.

Common uses

  • Previewing an icon on a dark background before using it.
  • Opening an SVG someone sent you without trusting it blindly.
  • Checking the real pixel size and file size of a logo.

What it does

  • Transparent checkerboard, light and dark backgrounds.
  • Zoom from 5% to 3200% with panning and a full-screen mode.
  • Shows size, viewBox, file size and element count.
  • Reports exactly what was removed for safety.

Good to know

The Viewer shows the file as an image, so external pictures, fonts and links inside it don't load. Compressed .svgz files and files over 5 MB aren't supported.

Frequently asked questions

Can an SVG file run code?
It can, if it is opened as a web page. The Viewer removes scripts, event handlers and external references first and shows the result as an image, where scripts never run.
Why does my SVG look blank?
Often it has no viewBox or size, or its content sits outside the visible area. Open it in the Inspector to see which.
Does the Viewer change my file?
No. If nothing unsafe was found, Download and Copy give you the file exactly as it was. Otherwise they give the cleaned version.
What file sizes are supported?
Up to 5 MB. Larger files are refused so the page stays responsive.

Related tools