SVG Viewer: Zoom, Pan and Inspect Any SVG

Open an SVG, zoom up to 40×, switch backgrounds and see what is inside the file.

SVG Viewer tool

1Add your SVG

Drop your SVG here, or click to browse Or paste SVG code anywhere on the page. Nothing is uploaded.
No file?

2Adjust the options

3Preview and download

Live preview
sample.svg
Input and output codeView, edit and copy the code
Input SVG code
Output

Under the hood

How SVG Viewer works

An SVG viewer shows an SVG exactly as a browser renders it, with zoom, pan, background options and a breakdown of what is inside the file.

  1. <svg viewBox="0 0 400 300"><path d="…"/></svg>

    Parse the SVG

    The viewer reads your SVG, strips anything unsafe such as scripts and event handlers, and prepares it for display.

    DOMParser · sanitize
  2. Render it

    The artwork is drawn by the browser, so what you see matches what a web page would show.

    Browser SVG renderer
  3. Zoom and pan

    Scroll to zoom up to 40× and drag to move around. The artwork stays sharp because it is vector.

    Wheel zoom · drag pan
  4. pathgrectcircle

    Report the contents

    Dimensions, viewBox, element counts by type, colors and file size are shown alongside the preview.

    Element census
The four stages of the SVG Viewer, from your input to the finished file.

What the viewer shows you

The real render
It uses your browser’s renderer, not a guess.
Four backgrounds
Switch between checkerboard, white, gray and black to check contrast.
A content census
See how many paths, groups and shapes the file has.

Step by step

SVG Viewer process

Four steps inspect an SVG. Zoom in to check fine details.

  1. Open your SVG

    Drop a file, paste code or press the sample button.

    Tip: Nothing is uploaded.

    Drop SVG
  2. Choose a background

    Use Checker for transparency, White or Black for contrast, or Gray for neutral.

    Tip: The viewer updates immediately.

    ZoomBackgroundPan
  3. Zoom and pan

    Scroll to zoom, drag to pan, or press Fit or Actual size.

    Tip: Zoom to 40× to inspect curves.

  4. Read the details

    Check dimensions, viewBox, elements and colors.

    Tip: Copy the code if you need it.

    Download SVGsvg-viewer.svg

Use the SVG Viewer

Reference

SVG Viewer settings / conversion chart

The table explains each detail the viewer reports. The chart compares typical element counts.

Typical elements in an SVG

Typical elements in an SVGpath: 5/5; g: 3/5; rect: 2/5; circle: 1/5.path5/5g3/5rect2/5circle1/5
Guide: most graphics are mostly paths and groups.

At a glance

  • Converts best: path.
  • Needs the most care: circle.

Guide: most graphics are mostly paths and groups.

SVG Viewer details and what they mean
DetailWhat it tells youWhy it matters
SizeDeclared width and heightThe natural display size
viewBoxThe drawing coordinate systemControls scaling
ElementsTotal nodes in the SVGA rough complexity measure
ColorsFills and strokes foundPalette overview
File sizeBytes of the SVG sourcePage weight

Answers

SVG Viewer FAQ

Questions people ask about the SVG Viewer, answered for this specific use case.

Is my SVG uploaded?

No. The viewer runs entirely in your browser.

Why does the SVG look different in another app?

Apps differ in how they handle features such as filters and fonts. The viewer shows how a browser renders it.

How far can I zoom?

Up to 40×. Vector artwork stays sharp at any zoom level.

Does it run scripts in the SVG?

No. Scripts and event handlers are stripped before display for safety.

Can I edit the SVG here?

You can edit the code in the input box and the viewer updates. For editing shapes use a vector editor.

Ready to try it?

Your result is one drop away.

Open the SVG Viewer

All converters

Every free converter and SVG tool

43 free tools that run in your browser. Pick a converter below, or search by format or task.