A TOOL FOR THE TASK

Free online SVG editor and viewer

Open, view and edit SVG code with a live preview, then download SVG or PNG. Free online SVG editor and viewer. No sign-up.

Edit SVG code. See it instantly.

Free · No sign-up · Stays in your browser

Live preview

Live preview of the SVG code

The quick answer

This free SVG editor shows the SVG code beside a live preview. Open an .svg file or paste markup, change colors, sizes and shapes in the code, and watch the preview update. Download the edited SVG or export a PNG. Scripts and external links are removed for safety.

How to edit an SVG file

  1. Open an .svg file or start from the sample.
  2. Edit the code; the preview updates as you type.
  3. Fix any error shown under the preview.
  4. Download the SVG or export it as PNG.

Common quick edits

Change a fill="#…" value to recolor a shape, adjust width and height to resize, or edit the viewBox to crop. The SVG circle and rect guide explains the main attributes.

Safe preview

The preview is drawn as an image, so scripts in an SVG cannot run. Scripts, event handlers and external references are removed from the downloaded copy.

Private by design

The conversion runs in your browser with JavaScript. Files are not uploaded, stored or logged. Read the privacy policy for details about ordinary website requests.

By Shahab Uddin · Updated

A few useful answers

Before you hit download

How do I open an SVG file?

Any modern browser opens SVG files: drag the file into a browser tab. To view and edit the code, open it here.

Can I draw shapes with the mouse?

No. This is a code editor with live preview. For drawing, use Inkscape or another vector editor.

Are my files uploaded?

No. The file is read and converted by JavaScript in your browser tab. JPEGtoSVG has no upload endpoint and keeps no conversion history. Close the tab and the data is gone.

Next, make it useful.