Image Tools

PNG to ICO

This free PNG to ICO converter packs a PNG (or JPG/WebP) image into one multi-size .ico file with any of 16, 32, 48, 64, 128 and 256 pixel sizes, for a website favicon.ico or a Windows icon. Each size is resized and stored as transparent 32-bit PNG data entirely in your browser, so nothing is uploaded.

Runs in your browser. Your files and text never leave your device - nothing is uploaded.

Click or drag a PNG image here

Includes multiple sizes in one .ico file (the standard favicon format), so the browser or OS picks the sharpest one for the context. Processing happens entirely in your browser.

Convert PNG to ICO Online

The Tools Kit’s free PNG to ICO converter turns a logo or image into a multi-size .ico file, the format browsers use for favicon.ico and Windows uses for desktop and shortcut icons. Pick which icon sizes to include, from 16x16 up to 256x256, and the converter packs them all into one file that downloads straight away.

Everything happens in your browser: the image is resized on a canvas and the .ico file is assembled on your device, so nothing is uploaded and there is no signup or watermark. PNG is the recommended input because it keeps transparency, but JPG and WebP images convert too.

How to Convert a PNG to an ICO File

  1. 1

    Add your image

    Click the upload area or drag a file onto it. PNG works best, and JPG or WebP files are accepted too. Use a square image of at least 256 by 256 pixels for the sharpest result.

  2. 2

    Choose the icon sizes

    Tick the sizes to include: 16, 32, 48, 64, 128 and 256 pixels. 16, 32, 48 and 64 are selected by default, which covers browser tabs and Windows.

  3. 3

    Click Convert to ICO

    The image is resized to each selected size in your browser and packed into a single .ico file.

  4. 4

    Save the .ico file

    The download starts automatically and keeps your original file name with an .ico extension. Rename it to favicon.ico if you are using it as a website favicon.

Icons are square, and the converter draws the whole image into each square size, so a wide or tall image is stretched rather than cropped. Square it up first with the image cropper, or use circle crop for a round icon on a transparent background.

Which Favicon Sizes to Include

  • 16x16 — browser tabs, the address bar and bookmark lists at standard resolution.
  • 32x32 — tabs on high-DPI screens, the Windows taskbar and many shortcut views.
  • 48x48 — Windows Explorer and desktop icons at the default size.
  • 64x64 — larger icon views and high-DPI scaling; cheap to include.
  • 128x128 and 256x256 — large and extra-large Windows icon views. Useful for an application or desktop icon, but rarely needed in a website favicon.ico.

The default selection of 16, 32, 48 and 64 pixels is a sensible favicon.ico for most websites. Each extra size adds its own PNG data to the file, so ticking 128 and 256 mainly makes the favicon heavier without improving how it looks in a browser tab. If you also need separate PNG icons for other places, the favicon generator exports each size as its own PNG file.

How the ICO Format Works

An .ico file is a small container rather than a single picture. It begins with a 6-byte header that records how many images it holds, followed by a 16-byte directory entry for each image giving its width, height, bit depth, byte size and where its data starts. The image data comes after the directory. With the four default sizes, the header and directory take 6 + 4 × 16 = 70 bytes; with all six sizes, 6 + 6 × 16 = 102 bytes.

This converter stores each size as compressed 32-bit PNG data with its alpha channel, the PNG-in-ICO approach supported by Windows Vista and later and by every current browser. That keeps transparent edges clean and the file far smaller than uncompressed bitmap icons. One quirk of the format: a width or height byte can only go up to 255, so a 256-pixel image is recorded as 0, which software reads as 256.

Getting a Sharp, Transparent Icon

Start from the largest, cleanest version of your logo you have, ideally square and at least 256 by 256 pixels. Downscaling keeps detail, while upscaling a small image blurs the larger icon sizes. If your logo is a vector file, export it to a large PNG with the SVG to PNG converter before converting it here.

For a transparent favicon, the source must already have a transparent background. A JPG cannot store transparency, so convert it with JPG to PNG and remove the backdrop with the background remover first. At 16 pixels fine text and thin lines disappear, so a simplified mark or a single letter often reads better than a full wordmark.

Common uses

  • Creating a favicon.ico for a website, blog or web app
  • Making a custom Windows icon for a desktop shortcut or folder
  • Supplying the .ico file a desktop app build tool or installer expects
  • Replacing an old single-size favicon with a multi-size one that stays sharp on high-DPI screens
  • Converting a transparent logo PNG into an icon without installing desktop software

For more converters and editors for logos and photos, browse the image tools collection.

ICO and favicon terms explained

TermWhat it means here
ICOThe Windows icon file format; one .ico file can hold several images of different sizes
FaviconThe small icon a browser shows in tabs, bookmarks and the address bar; favicon.ico is the traditional file name
ICONDIRThe 6-byte header at the start of an .ico file that records how many images it contains
ICONDIRENTRYA 16-byte directory record per image giving its width, height, bit depth, byte size and position in the file
PNG-in-ICOStoring each icon image as compressed PNG data inside the .ico, supported since Windows Vista and by modern browsers
Alpha channelThe transparency information in a PNG; it is kept, so transparent corners stay transparent in the icon

Frequently Asked Questions

Reviewed by Raja Jahangir · Last reviewed: October 7, 2026

How do you convert a PNG to an ICO favicon?

To convert a PNG to ICO, upload the image, tick the sizes to include from 16, 32, 48, 64, 128 and 256 pixels (16 to 64 are selected by default), and click Convert to ICO. Each size is resized in the browser and embedded as PNG data inside one .ico container, so browsers and Windows pick the sharpest match.

What sizes should a favicon.ico contain?

Include 16x16 for browser tabs and address bars, 32x32 for high-DPI tabs and the Windows taskbar, and 48x48 for Windows Explorer icons. Adding 64x64 is cheap insurance for large-icon views. 128 and 256 are rarely needed in a favicon.ico and mainly inflate the file; use separate PNGs for app icons at those sizes.

Sources and standards