Skip to content
CrayonPix

PNG to ICO Converter

Create a .ico file containing several icon sizes from a single image — ready to use as your website's favicon.ico or as a Windows icon.

Loading the tool…

Your images are processed on your device and never uploaded.

How to use PNG to ICO

  1. 1

    Choose or drop your logo or image (PNG, JPG, WebP, SVG and more).

  2. 2

    Pick the sizes to include and whether to pad the image to a square.

  3. 3

    Click Download to save the .ico file.

The ICO format is the classic icon format of Windows and the original favicon format of the web. Unlike PNG, one .ico file can contain the same icon at several sizes, so a browser tab can use a crisp 16-pixel version while a desktop shortcut uses a 48-pixel one. This converter builds such a file from a single image, entirely in your browser.

Start from the largest, cleanest version of your logo you have — a square PNG of 256 pixels or more, or an SVG. Each size is downscaled from that source with high-quality smoothing.

Choose the sizes inside the .ico

Preset Sizes included Use it for
Favicon (default) 16, 32, 48 px favicon.ico for websites
Full set 16, 32, 48, 64, 128, 256 px Windows application and folder icons
Single 256 px icon 256 px When another tool or platform asks for one large icon

Pad to square is on by default: a wide or tall logo is scaled to fit inside the square and centered, with transparent margins. Turn it off and the image is stretched to fill the square, which distorts anything that isn’t already square — for that case, Make Image Square gives you more control over the padding and its color.

How to use the favicon on your website

  1. Rename the downloaded file to favicon.ico and put it at the root of your site, for example https://example.com/favicon.ico. Browsers request that address automatically.
  2. Add a link in the <head> of your pages so every browser finds it: <link rel="icon" href="/favicon.ico" sizes="any">.
  3. Optionally add a larger PNG for phones and modern browsers, such as a 180 × 180 apple-touch-icon — export it from your vector logo with SVG to PNG.

Browsers cache favicons aggressively, so if you don’t see the new icon right away, open the favicon.ico URL directly or try a private window.

Tips for icons that stay readable

  • Simplify. At 16 × 16 pixels, fine text and thin lines disappear. Use a symbol or a single letter rather than a full wordmark.
  • Mind the corners. For a rounded app-style icon, round the corners first with Round Corners, then convert.
  • Check the preview. The preview shows your image before it is packed into the ICO; if it looks busy at full size, it will be unreadable in a tab.

Technical details

The file is written with PNG-compressed entries, 32 bits per pixel, which Windows Vista and later and every current browser support. The 256-pixel entry uses the ICO convention of storing its size as 0. Nothing is uploaded: the image is decoded, resized and packed by the page itself, and the result contains no metadata from the original file.

Frequently asked questions

What sizes should a favicon.ico contain?

16, 32 and 48 pixels cover browser tabs, bookmarks, the Windows taskbar and desktop shortcuts. That is the default "Favicon" preset. Larger sizes are only useful for Windows desktop icons.

Can one .ico file hold several sizes?

Yes. An ICO file is a small container of images. This tool writes one entry per size you choose, and Windows or the browser picks the size that fits best.

My logo isn't square. Will it be stretched?

Not by default. "Pad to square" keeps the proportions and adds transparent space on the shorter sides. Uncheck it only if you want the image squeezed to fill the whole square.

Is transparency kept in the ICO?

Yes. Each size is stored as a 32-bit PNG inside the ICO, so transparent backgrounds stay transparent.

Can I convert JPG or SVG to ICO too?

Yes. Despite the name, the tool accepts any image your browser can read, including JPG, WebP, SVG and HEIC. A JPG has no transparency, so its background stays visible in the icon.

Is my image uploaded?

No. The icon is built by your browser on your device, and nothing is sent to a server.