Chip in

SVG file format (.svg)

Vector wrapper. Output embeds the image losslessly, it is not traced.

Last updated

What is an SVG file?

In short: An SVG file (.svg) is an image file in the SVG format. SVG describes shapes, paths and text as instructions rather than pixels, so it is drawn fresh at whatever size it is displayed. It can be converted to JPG, PNG or WEBP for free in a web browser with iHateFiles, without uploading it.

A W3C standard published in 2001, built on XML.

SVG describes shapes, paths and text as instructions rather than pixels, so it is drawn fresh at whatever size it is displayed. A logo in SVG is equally sharp on a watch and a billboard, and the file is often smaller than a single small PNG of the same thing.

What SVG is good at

  • Sharp at every size, on every screen density
  • Tiny files for logos, icons and diagrams
  • Editable as text, and stylable and animatable with CSS

Where SVG falls short

  • Not suitable for photographs
  • Complex illustrations can be slow to draw
  • Being executable markup, it needs care when accepting uploads

When to use SVG

Use SVG for logos, icons, charts and diagrams: anything drawn rather than photographed.

How to open a SVG file

Every browser and every modern design tool.

Opening a .svg file on each platform
WindowsOpens in Edge and Chrome. Photos will not; Windows shows no thumbnail without a shell extension.
macOSPreview and Safari both render SVG.
LinuxGIMP, Inkscape and every browser. Inkscape is the tool that actually edits it.
PhoneOpens in the browser on both platforms.
In a browserEvery browser renders SVG, and it stays sharp at any size.

The thing that usually goes wrong

Converting a photograph to SVG does not turn it into vectors. It embeds the same pixels inside an SVG wrapper, which is larger than the original and no sharper.

Questions

What is a SVG file?

Vector wrapper. Output embeds the image losslessly, it is not traced. Files use the .svg extension.

How do I open a SVG file?

Most image software opens SVG directly. If yours does not, convert it here to something more common. It takes a few seconds and nothing is uploaded.

Can I convert SVG for free?

Yes. Every conversion here is free and unlimited, because your own device does the work rather than a server we have to pay for.

Is SVG lossless?

Yes. SVG stores every pixel exactly, at the cost of a larger file.