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
- Choose a file, drop it on the page, or paste SVG code.
- Zoom with the buttons or Ctrl and the mouse wheel, drag to pan, and switch the background.
- 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
- Something looks wrong? Check the code in the SVG Inspector.
- Ready to change it? Edit it in the SVG Editor.
- See every tool in SVG Studio.
Related tools
- SVG InspectorFind invalid XML, broken references and other problems in SVG code.
- SVG EditorEdit SVG code and canvas together, with undo and redo.
- SVG StudioA private workspace to view, inspect and edit SVG files.
- File ConverterConvert images, PDF, Word, text, data, audio and video between formats in your browser.