Convert ICO to SVG
Convert an ICO into an SVG path drawing by selecting the largest icon frame and tracing its visible regions. This is useful when a favicon is the only surviving copy of a simple mark. It does not combine every size in the container, restore the original vector, or preserve the pixel-perfect appearance of a tiny favicon.
Use this without the search next time. Prathom Workbench puts Prathom's tools in your toolbar.
Add to Chrome — freeDrop your ICO file here, or click to browse
Up to 50 MB. Deleted automatically after 30 minutes.
What it does
- Selects the largest embedded ICO frame
- Writes SVG paths rather than embedding the icon bitmap
- Works best for high-contrast favicon artwork
- Explains why small icon traces need cleanup
How to use ICO to SVG
- 1
Choose an ICO containing the mark
Upload the favicon or Windows icon you have. Multi-size ICO files are common; the converter chooses the frame with the greatest area so it avoids enlarging the smallest tab icon when a better source is available.
- 2
Run the trace
The selected frame is rendered to a temporary bitmap, reduced to foreground and background, and traced into SVG paths on the server.
- 3
Check small details
Open the result at a large size and inspect letters, holes, and corners. A 16-pixel favicon may be adequate as a visual reference but rarely contains enough information for a polished, large-format redraw.
How it works
The first important detail is container handling. The server does not pass the ICO straight to a command that might expand every embedded image into several unnamed files. It measures the frames, chooses the largest one by area, and renders that frame to a temporary PNG. This makes the output deterministic and avoids silently returning the wrong file from a multi-image container.
That selected bitmap is then stripped down for tracing. ImageMagick removes the alpha concept from the working copy and applies a midpoint brightness threshold. Potrace follows the resulting foreground regions and emits smooth SVG paths. The finished document is therefore a vector drawing in the technical sense, but its geometry is derived from one raster frame. The other ICO sizes are not present in the output, and no hidden original path information is available to recover.
Why the largest frame is only a sensible default
Icon containers are built for different display sizes, not for vector editing. A 16-pixel frame may deliberately omit a thin line so it remains legible in a browser tab. A 64- or 256-pixel frame may include more detail, which gives tracing more samples to work with. Choosing the largest therefore reduces avoidable upscaling, but it does not guarantee that the frame is the original design or that its pixels are clean.
This matters especially for letters. A favicon may alter a wordmark's spacing, merge two strokes, or remove a counter to survive at tiny size. The SVG will scale those decisions perfectly, preserving a small-icon compromise as crisp but incorrect large artwork. Check the result against any branding you know before using it.
Honest tracing limitations
The conversion discards the ICO container, every frame except the largest, original color values, metadata, and animation-like frame arrangements. It also does not preserve a guaranteed pixel-identical transparent edge. Anti-aliasing, shadows, subpixel hints, and compression artifacts become threshold decisions. A simple black mark can convert cleanly; a colorful illustration or photo-like icon can become a collection of blobs and holes.
If you need a favicon in a different size, keep the ICO or export a raster frame instead. If you need a brand asset at poster size, use this output only as a shortcut to a redraw. The honest advantage here is recovering an inspectable path outline from a stranded icon, not promising that a tiny bitmap was secretly a complete vector source.
Examples
A simple two-color favicon
Selecting the largest frame avoids throwing away detail that exists in the container. The broad needle and circular border give the threshold clear regions, so the SVG makes a useful scalable web mark after a quick check for extra specks and any cleanup around the circle.
A tiny photographic avatar icon
The largest available frame is still only 32 pixels and contains gradual tone changes. Tracing cannot invent eyes, skin contours, or clean geometry from those measurements, so the result is a technical SVG and a poor replacement for the original artwork.
Frequently asked questions
Why does the converter use only one ICO frame?
An ICO is a container that commonly stores several independent renditions such as 16, 32, 48, and 256 pixels. They are not layers that can be merged into one drawing; each is a raster snapshot. The largest frame is the most defensible source because it usually contains the most edge information and requires the least enlargement. If the large frame is missing or badly designed, the converter cannot repair that fact by looking at the smaller ones.
Will the SVG keep my favicon's transparent background?
Do not assume pixel-level transparency will survive as a matching SVG mask. The chosen frame is made into a binary tracing bitmap, and transparent or partially transparent pixels influence the threshold rather than becoming a carefully named editable alpha region. The resulting paths describe the traced foreground. If the exact cutout matters, inspect the file and recreate the background and holes manually in a vector editor.
Is an ICO-to-SVG result suitable for printing a logo?
Sometimes as a starting point, rarely without review. A clean 256-pixel monochrome logo can yield a sensible outline, while a 16-pixel favicon has already simplified corners, lettering, and spacing for screen legibility. The trace faithfully follows those simplified pixels, not the larger logo that may have existed before the favicon was exported. For signage or packaging, use the SVG as a reference and have the important curves redrawn.
Further reading
- A Three-Size Favicon Was 15 KB and the Same Images Were 1.3 KBA favicon is the smallest image on a website and one of the larger files in its root directory, which is a strange thing to be true. The reason is that .ico is not a compressed format at all, and every extra size you add costs its full uncompressed weight.
- An SVG Straight Out of the Export Dialog Was 38% Metadata and Spare DigitsSVG is text, and an export dialog writes a lot of text nobody asked for: who made the file, when, in what, and every coordinate to six decimal places. None of it draws anything, and on a small logo it is more than a third of the file.
- Which Favicon Sizes You Actually NeedMost favicon guides list a dozen sizes and explain none of them. Only a few are ever actually drawn, the rest are cargo from an older web, and knowing which is which turns an afternoon of exporting into about five minutes.