PNG to ICO Converter
Turn a PNG into one ICO file holding several icon sizes, for favicons and Windows.
PNG. Drag or paste files here.
Processed on your device. Never uploaded.
Converted images don't keep camera or location data.
To convert PNG to ICO, add your PNG, tick the icon sizes you need (16, 32 and 48 px are chosen) and select Convert. The largest size is resized from your image, each smaller size from that one, and all are stored in one ICO file with transparency kept. A non-square image is centered on a transparent square. Download the ICO, or several as a ZIP.
A PNG to ICO converter turns a PNG image into an ICO file, the icon format Windows and browsers use for favicons and app icons. One ICO holds several sizes: in the worked example, a 160 × 120 px logo becomes logo.ico with 16, 32 and 48 px icons.
How to convert PNG to ICO
- Select Choose images, or drag a PNG onto the drop area. You can also click the drop area and paste it with Ctrl+V (⌘V on Mac).
- Under Icon sizes, tick the sizes you need: 16, 24, 32, 48, 64, 128 or 256 px.
- Select Convert. The result lists the sizes in the ICO and its file size.
- Select Download, or Download all (ZIP) for several PNGs at once.
A file that isn’t a PNG gets a message with a link to the page that converts it.
Icon sizes
| Size | Typical use |
|---|---|
| 16 × 16 | Browser tabs and bookmarks |
| 24 × 24 | Windows taskbar at 100% scale |
| 32 × 32 | Browser tabs on high-density screens, small Windows icons |
| 48 × 48 | Medium Windows icons |
| 64 × 64 | Windows title bar and system tray at 400% scale |
| 256 × 256 | Large Windows icons |
The largest size you choose is resized from your image, and each smaller size from that one, so no size is made from a smaller one.
Square icons from any image
Icons are square. A PNG that isn’t is centered on a transparent square as wide as its longer side, so nothing is cropped or stretched. If the largest size you choose is larger than your image, it is enlarged, which adds no detail, and the page notes it.
How it works
Your browser decodes the PNG. A background worker centers it on a transparent square and resizes it to the largest size with pica, an open-source resizing library, then each smaller size from that one. Your browser’s encoder then saves each size as a 32-bit PNG. The tool packs them into one ICO file. The ICO holds no text, author, date or other metadata from the PNG.
Limits
- Formats: PNG in, ICO out. To make an ICO from a JPG, WebP or SVG, use the image converter.
- Sizes: 16 to 256 px, at least one.
- Image size: up to 50 megapixels, and up to 100 MiB per file, shown on the page as 104.9 MB.
- Number of files: up to 100 in the list at a time.
- Runs in your browser: speed and memory depend on your device.
Sources
- Construct your Windows app’s icon (Microsoft Learn; icon sizes Windows uses; updated July 21, 2026)
- The evolution of the ICO file format, part 4: PNG images (Raymond Chen, The Old New Thing, Microsoft, October 22, 2010; PNG icons since Windows Vista)
- HTML Standard: link type “icon” (WHATWG Living Standard, updated November 14, 2026; the /favicon.ico fallback)
Worked example
Inputs
- PNG
- logo.png, 160 × 120 px, 696 bytes
- Sizes
- 16, 32 and 48 px, the default
Results
- Saved as
- logo.ico, 2.3 kB
- Not square
- Centered on a transparent square as wide as its longer side, then resized to 16, 32 and 48 px
Frequently asked questions
Which sizes should a favicon ICO include?
16 px covers browser tabs and bookmarks, 32 px the same on high-density screens and 48 px medium icons in Windows, which is why they are chosen. Add 256 px for an icon Windows shows in large views. More sizes make a larger file. For a Windows app icon, Microsoft recommends at least 16, 24, 32, 48 and 256 px.
What happens if my PNG isn't square?
Icons are square, so the image is centered on a transparent square as wide as its longer side, then resized to the largest size you chose, and each smaller size from that one. Nothing is cropped or stretched. For the best result, start from a square image.
Why are the icons stored as PNG inside the ICO?
An ICO file can hold each size as a small PNG or as an older bitmap. PNG entries keep transparency and make smaller files than bitmaps at large sizes. Windows Vista and later and current browsers read them. Windows XP and older need bitmaps.
Do websites still need a favicon.ico?
When a page links no icon, browsers may look for /favicon.ico at the site's root, as the HTML standard allows. Putting this ICO there, next to any PNG icons your pages link, covers both cases.
Will the 16 px icon look sharp?
Each size is resized with a high-quality filter, the largest from your image and the smaller ones from the largest, but at 16 px fine detail and thin text disappear. Simple shapes with strong contrast read best at small sizes.

