How to use the PNG to ICO Converter
- 1
Add an image
A square PNG with transparency, 256 × 256 or larger, works best.
- 2
Choose sizes
Tick the icon sizes to include.
- 3
Download the .ico
One file containing every chosen size.
- 4
Use it
As a Windows icon or favicon.ico for your website.
Features
Several sizes in one file
Windows picks the sharpest one.
Transparency
Kept from your PNG.
Square padding
Non-square images are centred on a transparent square.
Modern format
PNG-compressed icons for Vista and later.
favicon.ico
Works in every browser.
Never uploaded
Images are processed in your browser and never leave your device.
Who uses it — and for what
Desktop apps
Icons for Windows programs.
Folder icons
Customise folders and shortcuts.
Websites
favicon.ico for the site root.
Game launchers
Shortcut icons.
What is an ICO file?
ICO is the Windows icon format. One .ico file can hold several sizes of the same icon, so Windows (and browsers, for favicon.ico) pick the sharpest size for each place it appears — 16 px in a browser tab or file list, 32 and 48 px on the desktop, up to 256 px for large icon views. This converter stores each size as a compressed PNG inside the ICO container, the format supported by Windows Vista and later and by every modern browser.
Tips
Start with a square image of at least 256 × 256 pixels; non-square images are centred on a transparent square. Simple shapes with bold contrast stay readable at 16 px. For a website you usually only need 16, 32 and 48 px — use the Favicon Generator to get the full set of PNG and Apple icons too.
Your images are processed by your own browser and never uploaded, so private photos stay on your device. There’s no sign-up, no watermark and no daily limit.
Design for small sizes
At 16 px there are only 256 pixels to work with. Use bold shapes and strong contrast, and avoid thin lines and small text. If the 16 px version is unclear, create a simplified version of your logo for small sizes.
Which sizes Windows actually uses
Windows picks the icon size closest to the space it needs, and that space grows with display scaling. A 16 px slot at 150% scaling becomes 24 px — which is why a 24 px option exists — and 32 px slots become 48 px. Large and extra-large Explorer views use 48 to 256 px. Including 16, 24, 32, 48 and 256 covers most situations; adding 64 and 128 helps when icons are shown at in-between sizes. Each size is made from a high-resolution master (512 px when your image is at least 512 px wide) and scaled down in halving steps for clean edges.
ICO for apps, shortcuts and favicons
Desktop-app build tools for Windows commonly expect a multi-size .ico that includes 256 px. For a website, a favicon.ico with 16, 32 and 48 px is enough. For shortcuts, right-click the shortcut, open Properties and use Change Icon to choose your file. Non-square images are centred on transparent padding rather than stretched, so the proportions of your artwork are always preserved.
Worked examples
A website favicon.ico
Include 16, 32 and 48 px — upload the file to your site root as favicon.ico.
A Windows app icon
Include all sizes up to 256 px for large icon views.
A wide logo as an icon
A 1200 × 800 logo is fitted inside a 512 × 512 transparent square: it becomes 512 × 341 px with about 85 px of empty space above and below. At 16 px the logo is only 16 × 11 px tall. That is why wide logos look tiny in a browser tab — use just the symbol or initial for small icons.
What is inside the file
An ICO starts with a 6-byte header and a 16-byte directory entry per size, followed by the images. With the default four sizes (16, 32, 48 and 256) the header and directory take 6 + 4 × 16 = 70 bytes; the rest is four PNG images. The width and height bytes can only count to 255, so a value of 0 means 256 px.
Pro tips
- Use the Favicon Generator for the full set of web icons.
- Start from a square 512 px image for the cleanest results.
- Click a size chip to add or remove it; the previews update straight away.
- Pasting an image with Ctrl+V works as well as dropping a file.
Glossary
- ICO
- The Windows icon file format.
- Favicon
- The small icon shown in browser tabs.
- Icon directory
- The table at the start of an ICO file listing each image’s size and position.
- Display scaling
- The Windows setting that enlarges everything on high-resolution screens, such as 125% or 150%.
Frequently asked questions
What sizes should an ICO file have?
16, 32 and 48 px for favicons; add 64, 128 and 256 for Windows app icons.
Does the ICO keep transparency?
Yes, transparent PNG areas stay transparent.
Will it work on Windows XP?
PNG-compressed icons need Windows Vista or newer.
Can I convert JPG to ICO?
Yes, but JPGs have no transparency, so the icon will have a solid background.
How do I change a folder icon in Windows?
Right-click the folder → Properties → Customize → Change Icon, then choose the .ico file.
Why does my icon look blurry at 150% scaling?
Windows may be enlarging a smaller size. Include 24 and 48 px so it has a sharp version to pick.
How large will the .ico file be?
Roughly the total of the PNG images inside it plus 6 bytes and 16 bytes per size; the 256 px image is usually the biggest part.
Last updated 2026-11-28 · Built by Vinayak Agarwal · Part of Image Tools (36 tools)