SVG Viewer

Preview SVG files.

FreeNo accountOn your device

Runs in your browser. How to verify

Loading tool…

About this tool

Choose an SVG file and press Process. The page shows the SVG's source code so you can read or copy it. It does not draw the picture.

How to use

1
Step 1
Choose an SVG file.
2
Step 2
Press Process.
3
Step 3
Read or copy the source.

How it works

SVG files are text. The tool displays that text exactly as it is stored, without formatting. To see the graphic, open the file in a browser tab, or convert it to a raster image with SVG to PNG.

Worked example

A simple icon

Input
icon.svg
Output
The file's <svg> markup as text
Walkthrough
The markup is displayed unchanged.

Limitations

  • Shows source text, not the rendered image.
  • No pretty-printing or editing.
  • One file at a time.

Questions

How do I see the code inside an SVG?
Choose the SVG and press Process to view its source code.
Does it show the picture?
No. Use SVG to PNG to render it.
Is the file uploaded?
No. The SVG is read in your browser and never sent to a server.

Features

  • Shows SVG source
  • No upload
  • Private, in-browser

Related resources

Guides and videos from around the web—opens on YouTube or the publisher’s site.

  • PDF, What is it FOR?

    Computerphile

    File tools often sit next to document packet workflows.

    Watch on YouTube
  • How base64 encoding works

    Andrew Schmelyun

    Files become Base64 when embedded in JSON or HTML.

    Watch on YouTube