SVG to ICO Converter

Turn an SVG image into a Windows ICO icon, right in your browser.

or drop files here

SV

SVG Format

Scalable Vector Graphics

An XML-based vector image format and W3C standard. Shapes, paths and text are described mathematically, so images scale to any size without losing sharpness.

  • resolution independent
  • XML text
  • supports animation and scripting
  • styleable with CSS
IC

ICO Format

Windows icon

A container format for icons on Microsoft Windows that can hold several bitmap images of different sizes and color depths in a single file. Browsers also use it for favicons.

  • multiple sizes in one file
  • alpha transparency
  • PNG or bitmap entries

How to convert SVG to ICO

Follow these steps to convert SVG to ICO online.

    1

    Choose your SVG file, or several at once.

    2

    Wait while the converter turns each file into ICO.

    3

    Download each new ICO file. Your original file isn't changed.

Before changing SVG to ICO

  • The ICO holds one image, not a set of sizes.
  • A side over 256 px is fitted inside 256 x 256 with its proportions kept. Smaller images keep their size.
  • The browser draws the SVG as an image, so linked pictures, stylesheets and web fonts never load.
  • Metadata is dropped, and the pixels pass through 8-bit RGBA.

Understanding SVG for ICO output

What is an SVG file?

An SVG is a Scalable Vector Graphics file, an open W3C standard. Version 1.0 became a Recommendation in 2001 and 1.1 in 2003. Written in XML, it defines two-dimensional graphics through shapes, text and embedded images, which is why it can be scaled to any size and stay sharp.

An SVG is plain text, so any text editor opens it, and tools can search, index and compress the file. The .svgz extension marks an SVG compressed with gzip. Through CSS and JavaScript an SVG can be styled, scripted and animated, and clipping paths, masks and filter effects are supported. A browser can show it as a page of its own, or an HTML page can embed it. Every major browser displays SVG, and the registered media type is image/svg+xml.

Because shapes are stored as instructions rather than pixels, one SVG can serve a favicon, a poster and everything between. People use it for illustrations, diagrams, charts and maps, as well as logos and icons on the web.

You usually have an SVG because a logo or icon was drawn in a vector editor. The pixels only come into it when something, such as an icon file, needs a bitmap.

Programs that open SVG files

  • Linux, Windows and Mac: Mozilla Firefox displays SVG, and Inkscape does native SVG editing.
  • Web and Mobile: Google Chrome displays SVG, and so does Safari.

SVG and ICO compared

  • Names: SVG files end in .svg (image/svg+xml), and ICO files end in .ico (image/vnd.microsoft.icon).
  • What is stored: an SVG holds shapes, text and styling. An ICO holds bitmap images, and the entries can be PNG or bitmap. ICO files use little-endian byte ordering and may contain more than one image.
  • Sizes: Windows Vista's icon guidance lists 256-by-256 images for high-DPI screens. Enlarged for such a display, a small icon may look soft, so the icon should hold a suitable larger image.
  • Uses: The ICO format is Microsoft's, used for graphical interface icons, and it serves Windows application icons and website favicons.
  • Support: Windows File Explorer, GIMP, IrfanView and any web browser open ICO. Firefox displays ICO pictures in browser content, and Chrome supports ICO images.

This page's ICO holds one image. The browser draws your SVG at the size it reports, and the page adds no scale factor. When a side is longer than 256 px, the image is fitted inside a 256 x 256 box, proportions kept, and a smaller image keeps its size. The 256 px size goes into the ICO as a PNG. Metadata is not carried over, and the pixels pass through 8-bit RGBA. The download is named after your SVG with the .ico ending, and your SVG is never changed. Several SVG files are converted in turn, each into an ICO of its own.

Other ways to convert SVG to ICO

  • Inkscape (Windows, Mac, Linux): to get a PNG at the size you want, choose File > Export PNG Image or press Shift+Ctrl+E. Pick the export area from Page, Drawing, Selection or Custom, give the pixel dimensions or a resolution in Image Size, type a file name and click Export.
  • ImageMagick (command line): the ImageMagick usage guide builds a favicon from that PNG with magick image.png -alpha off -resize 256x256 -define icon:auto-resize="16,32,48,256" favicon.ico. The input can be any image as long as it is square, so resize a non-square one first. The guide says 16 and 32 pixels are the most common ICO sizes and that few browsers use 128 or 256.

Problems with SVG files

  • Text looks different: lettering follows the fonts available where the file is drawn, and a substitute font changes it.
  • A picture inside the SVG is missing: the browser draws this file as a picture and fetches nothing it links to, whether or not you are online, so linked pictures, stylesheets and web fonts never appear. Embed the image as a data URI.
  • An embedded photo looks soft: photos placed inside an SVG are pixels, and they keep their own resolution however large the drawing is.
  • An .svgz file is not offered: the file picker shows only .svg files.
  • The page says "Image decode failed.": the browser couldn't draw the file. Open it in Chrome, Edge, Firefox or Safari to see whether it is a valid SVG.

Frequently Asked Questions

Everything you need to know about our converter

How do I convert an SVG to ICO?

Can I get 16, 32 and 48 px sizes in one ICO?

What size will the icon be?

Can I use the ICO as a favicon?

Is the ICO still a vector?

Why does the text in my icon look different?

Why is a picture linked from my SVG missing?

Does the ICO keep my SVG's metadata?

Can I turn a set of SVG logos into icons together?

Is my SVG uploaded when I convert it?