Skip to content
FlipConverto home

PNG to ICO Converter

Convert PNG to ICO for a website favicon or a Windows icon: pick any of six sizes from 16 to 256 pixels and get one .ico file that holds them all, made in your browser.

Loading PNG to ICO Converterโ€ฆ

Runs entirely in your browser. Files stay on your device โ€” nothing is uploaded. Verify it yourself

How do you convert a PNG to an ICO file?

Open the PNG here, tick the icon sizes you need โ€” 16, 32 and 48 pixels for a favicon, up to 256 for Windows โ€” and download. Each size is stored as a PNG inside one .ico container, which Windows Vista and later and all current browsers read.

Cost
Free, no limits
Upload
None โ€” runs on your device
Sign-up
Not required
Works offline
Yes, once loaded

How to convert PNG to ICO

  1. Choose the image

    A square PNG of at least 256 pixels with a transparent background gives the cleanest icons. JPG, WebP, AVIF, GIF and BMP also open.

  2. Tick the sizes

    16, 32 and 48 pixels are ticked to start with; add 64, 128 or 256 for Windows icons.

  3. Handle a non-square image

    If the image is not square, choose whether to fit it with transparent bars or crop the centre.

  4. Check and download

    Look at each size in the preview, then download the .ico file.

Examples

  • A 512 ร— 512 transparent logo.png, sizes 16, 32 and 48logo.ico with three images

    A complete favicon.ico for a website.

  • A 1200 ร— 600 banner, cropIcons from the centre 600 ร— 600 square

    Fit instead would add transparent bars above and below.

Key features of the PNG to ICO Converter

  • Six icon sizes: 16, 32, 48, 64, 128 and 256 pixels, in any combination
  • One .ico file with every chosen size as a 32-bit PNG
  • Shrinks in halving steps so small sizes stay smooth
  • Fit or crop for non-square images, with transparent padding
  • Preview of every size before you download
  • Warns when a size is larger than the source image

Supported formats

Input

  • PNG
  • JPG
  • WebP
  • AVIF
  • GIF (first frame)
  • BMP

Output

  • ICO with PNG-compressed images
  • 16, 32, 48, 64, 128 and 256 px

When should you use this?

  • Making a favicon.ico for a website from a logo PNG.
  • Creating a Windows icon for a shortcut, folder or app with sizes up to 256.
  • Turning a square app or profile image into an ICO for software that only accepts ICO.

Limitations

  • Each image is stored as PNG inside the ICO. Windows Vista and later and current browsers read this; very old software expecting bitmap icons may not.
  • Fine detail cannot survive at 16 ร— 16. A detailed logo becomes a blur at that size, whatever the tool does.
  • The tool does not make .icns (macOS), apple-touch-icon or web manifest icons โ€” only ICO.

Troubleshooting

The browser still shows the old favicon

Browsers cache favicons hard. Reload with the cache cleared, or open the site in a private window to check the new one.

The 16 px icon is unreadable

Simplify the design for small sizes โ€” a single letter or symbol works better than a full logo โ€” and make that the source.

Common mistakes to avoid

  • Starting from a small source. A 64-pixel image enlarged to 256 looks soft; the tool warns when that happens.
  • Using a JPG with a white background for a favicon that sits on dark browser tabs.
  • Ticking every size for a favicon. 16, 32 and 48 are enough, and extra sizes only make the file bigger.

Pro tips

Tips for better results

  • Source image

    Start from a square, transparent PNG of 256 px or more

    Start from a square, transparent PNG of 256 pixels or more, so every size is made by shrinking.

  • Favicons

    16, 32 and 48 pixels are enough for a website

    For a website favicon, 16, 32 and 48 pixels are enough; add 256 only for Windows icons.

  • Checking

    Judge the 16-pixel icon at its real size

    Check the 16-pixel preview at its real size before downloading โ€” it is what appears in browser tabs.

Concepts behind image files

The terms that decide what changes when an image is compressed, resized or converted.

Resolution
The pixel dimensions of the image or frame, such as 1920ร—1080. It sets the amount of real detail present. Enlarging afterwards interpolates between existing pixels and produces a softer picture โ€” no amount of upscaling recovers detail that was never captured. Reference: CSS Values and Units Module Level 4, W3C
Colour depth
How many bits describe each pixel's colour. Most formats use 8 bits per channel, giving about 16.7 million colours. Indexed formats such as GIF store a palette of at most 256 instead, which is why photographs converted to them show visible banding. Reference: GIF89a Specification, CompuServe, hosted by W3C
Metadata
Information stored alongside the content itself โ€” camera settings, GPS coordinates, artist and album tags, author names. Conversion frequently drops it, which is usually a privacy benefit and occasionally a loss if you relied on it.
Colour space
The rule that maps the numbers in a file to visible colours. sRGB is what browsers assume, Display P3 and Adobe RGB describe wider ranges used in photography, and CMYK describes ink rather than light. A file converted without its profile keeps its numbers and changes its colours. Reference: sRGB, the default colour space, ICC
DPI and PPI
Dots or pixels per inch: a number describing how large the picture is meant to print, stored as a tag beside the pixels. It changes nothing on a screen, which draws by pixel count alone, and nothing about the detail present โ€” only the size a printer lays the same pixels down at. Reference: CSS Values and Units Module Level 4, W3C
EXIF data
The block cameras and phones write into a photograph: exposure, lens, orientation, the date, and on a phone usually the coordinates it was taken at. Converting writes a fresh file without it, which loses the shooting data and removes the location along with it. Reference: CIPA DC-008: Exchangeable image file format (Exif), CIPA
Pixel
One addressable square of a raster image, holding a single colour. A 1920ร—1080 picture is 1920 across and 1080 down, about 2.07 million in all, and that count is fixed when the file is written โ€” which is why enlarging one later invents the pixels it does not have. Reference: PNG Specification, Third Edition, W3C

What is inside an ICO file

An ICO file is a small directory followed by images. The 6-byte header says how many images there are; a 16-byte entry for each gives its width, height, bit depth, length and position; then the images follow. This tool stores each size as a 32-bit PNG inside that container โ€” the format Windows has read since Vista and every current browser reads as a favicon. Older Windows XP-era software that expects bitmap entries may not show PNG-compressed icons.

Which sizes to include

For a favicon, 16, 32 and 48 pixels are enough: browsers pick 16 or 32 for tabs and bookmarks, and 48 is a common size for Windows desktop icons. Windows desktop and app icons use larger sizes, up to 256. Every extra size adds its PNG to the file, so leave out the ones you do not need.

How the small sizes are made

The source is first drawn into a square of up to 1024 pixels, then halved step by step down to each icon size. Shrinking in halves averages neighbouring pixels at each step, which keeps thin lines from breaking up the way a single jump from a large image to 16 pixels can. Fine detail still disappears at 16 ร— 16 โ€” design the small sizes to be simple.

Privacy and file handling

The PNG to ICO Converter runs entirely in your browser. Your file is read by the page, processed on your own device, and the result is handed straight back to you โ€” no copy is sent anywhere, because none needs to be.

You can confirm this rather than take our word for it: open your browserโ€™s developer tools, watch the Network tab, and use the tool. No request carries your file or your input. It also keeps working with the connection off.

Details are in the privacy policy.

What next?

Make a square source of 256 pixels or more before converting.

Resize the image first

PNG to ICO Converter โ€” questions

How do I convert PNG to ICO?

Open the PNG, tick the sizes you want (16, 32 and 48 are ticked to start with) and download the ICO. The file holds every ticked size, and Windows or the browser picks the right one.

What size should a favicon ICO be?

Include 16, 32 and 48 pixels. Browsers use 16 or 32 in tabs and bookmarks. Add 256 only if the same file is a Windows app or desktop icon.

My image is not square. What happens?

You choose: fit the whole image inside the square with transparent bars, or crop the centre square. Icons are always square.

Can I make an ICO from a JPG or WebP?

Yes. JPG, WebP, AVIF, GIF and BMP also work. A JPG has no transparency, so its background stays in the icon; use a transparent PNG for a shaped icon.

Part of Image Tools ยท Browse every tool