pngtoicotool
Browser-only conversion

SVG → ICO

SVG to ICO

Upload one SVG or paste its code. Choose the icon sizes and download one ICO.

Local processing · no account

Drop one SVG here

or

SVG only · one file

ICO size layers

Choose the pixel layers to store inside one .ico file. All six start selected.

6 layers selected · one ICO file

The SVG stays in this browser.

SVG readyBrowser-rasterized SVG input
Layer controlChoose the ICO sizes to keep
Alpha checkedRead the conversion tests below

Supported input and output

One SVG in, one multi-size ICO out

This SVG to ICO converter accepts one well-formed SVG file or its complete pasted markup. The browser renders the SVG to PNG layers at the selected square sizes, then packages those layers into one ICO download. No account, upload, batch queue, or server conversion is involved.

  • One SVG file or pasted SVG code
  • 16, 32, 48, 64, 128, and 256 pixel ICO layers
  • Transparent pixels are carried in the PNG layers when the source rasterizes with alpha
  • External linked assets and browser-specific SVG features can affect rendering

Transparency

What happens to transparent pixels?

To convert SVG to ICO and keep a transparent background, leave the SVG canvas unpainted. The converter clears each square canvas before drawing. Transparent areas stay clear, and partial opacity is written into the PNG image data inside each ICO layer. A painted background in the SVG is part of the artwork, so it produces opaque pixels wherever it covers the canvas.

  1. 01
    Check the source canvas

    For transparency, leave the SVG page unpainted behind the icon. A full-size white rectangle is an opaque background.

  2. 02
    Keep alpha in the drawing

    Opacity on SVG shapes is rasterized into the PNG layer. Browser rendering can affect linked or unsupported SVG content.

  3. 03
    Inspect the downloaded ICO

    Each selected layer is a PNG image with an alpha channel. The checks below compare transparent, semi-transparent, and painted-background sources.

Local conversion checks

Transparent background checks

Tested on October 6, 2026 in Chrome on this machine. I converted three SVGs, then decoded the PNG image in every ICO layer and counted its alpha pixels. All six selected layers contained PNG images with an RGBA color type.

Unpainted canvas · solid circleIn the 64×64 layer: 3,026 transparent, 122 partial-alpha, and 948 opaque pixels. The circle's antialiased edge accounts for partial alpha.
Unpainted canvas · 50% circleIn the 64×64 layer: 2,778 transparent and 1,318 partial-alpha pixels; 0 opaque pixels. The shape's half opacity remained in the ICO.
Full-canvas white rectangleIn the 64×64 layer: 0 transparent, 0 partial-alpha, and 4,096 opaque pixels. The painted background remains; the converter does not remove it.

These checks cover the three SVGs described here in the tested browser. They do not establish rendering for external images, external fonts, filters, or every SVG feature.

Layer guide

What the ICO layers represent

Each selected number is a square pixel layer stored in the same ICO file. Multiple layers let icon-aware software choose a matching resolution for different display sizes.

16×16Small interface icon
32×32Standard desktop icon
48×48File and folder view
64×64Larger list view
128×128High detail preview
256×256Large icon layer

FAQ

SVG to ICO questions

How do I convert SVG to ICO?

Choose one valid SVG, keep the ICO size layers you need, and click Convert to ICO. The file is created in this browser.

Does the converter upload the SVG?

No. The file is read and rasterized in your browser, so it is not sent to a server.

What kind of SVG file is supported?

Use a well-formed SVG with a valid viewBox, or fixed numeric width and height values. When a viewBox provides the dimensions, the converter can supply missing pixel dimensions for browser rendering. External linked assets may not render in a local SVG image.

Can the ICO keep transparent SVG pixels?

Yes, when the SVG renders transparent pixels. The converter starts with a transparent canvas and stores the rendered PNG layers in the ICO. A background rectangle or other painted shape remains part of the output. The local checks above show both cases.

How do I convert SVG to ICO with a transparent background?

To convert SVG to ICO with a transparent background, remove any full-canvas background shape from the SVG, keep the icon artwork, and convert it here. The output preserves the rendered alpha in each selected ICO layer; it does not erase a background that is painted into the SVG.