Skip to content

SVG Viewer

Preview SVG markup live and inspect what is inside it.

Render

What is inside it

Quick Tool Overview

The SVG Viewer puts markup and render side by side, updating as you type, and reports what is actually in the file: viewBox, element count, every colour used, external font and image references, and whether it has an intrinsic size. That last group is what makes an SVG render blank elsewhere.

What it does
Renders and inspects SVG markup
You give it
SVG code or a file
You get back
A live render and a structural report
Best for
Debugging and editing SVG by hand
Image Tools Free, unlimited use No sign-up Runs in your browser

About the SVG Viewer

SVG is text, which is its great advantage and the reason it is awkward to work with: you cannot tell what a block of markup draws without rendering it.

This is markup on one side and the render on the other, updating as you type. Alongside the preview it reports what is actually in the file — the viewBox, the element count, every colour used, whether it references external fonts or images, and whether it has an intrinsic size. That last group is what causes most of the confusion when an SVG renders blank in a canvas or an email, so it is called out rather than left to be discovered.

Key features of the SVG Viewer

Live render

The preview follows every keystroke, which is the fastest way to adjust a fill or a path.

Flags the blank-render causes

Missing viewBox, zero dimensions and external references are called out rather than discovered later.

Colour inventory

Every fill and stroke colour listed, which is how you find the one hard-coded value in an icon set.

Element count

A quick read on complexity, and on whether a file needs optimising before shipping.

Export to PNG

Rasterise the current markup at any size without leaving the page.

How to use the SVG Viewer

  1. 1

    Paste your SVG

    Or load a file. It renders as you type.

  2. 2

    Read the report

    viewBox, element count, colours and any external references.

  3. 3

    Edit and watch

    Change a fill or a path and see it immediately.

  4. 4

    Export what you need

    The tidied markup, or a PNG at any size.

Frequently asked questions

Usually a missing viewBox, zero width and height, or a reference to an external font or image. All three are flagged in the report.

Reviews of the SVG Viewer

What people who use the SVG Viewer think of it. Reviews come from visitors and are posted as written.

No ratings yet

Yours would be the first.

  • 5 0 reviews rated 5 stars
  • 4 0 reviews rated 4 stars
  • 3 0 reviews rated 3 stars
  • 2 0 reviews rated 2 stars
  • 1 0 reviews rated 1 star

Write a review

Used this tool? Your rating helps the next person decide.

Your rating

Plain text only — links, email addresses and HTML are not accepted. Your name and review are shown publicly; nothing else is collected. See the privacy policy.

0 reviews

Newest first

No reviews yet

Be the first to rate the SVG Viewer. It takes half a minute and no account.

Write the first review

More image tools