PNG TO ICO / PRACTICAL GUIDE
Convert a PNG to an icon: the actual steps
To convert a PNG to an icon, open the converter, select your PNG, choose the icon sizes (16, 32, 48 pixels by default), press Convert, and download the .ico file. The conversion encodes your image into the ICO container format. Renaming the file extension from .png to .ico does not convert it.
What "convert" actually does
An ICO file is a container that holds one or more bitmap images at specified sizes. Converting a PNG to an icon means encoding the PNG pixel data inside that container. The converter reads your PNG, resizes it to each selected size, and writes the results as frames inside a single .ico file. The original PNG is not modified.
This is different from changing the filename. A PNG renamed to .ico still contains PNG-encoded data. Most applications that expect an ICO will reject or misread it.
The steps, start to download
- Open the converter. Use the button above to open the ICOForge tool in your browser. No installation or account is required.
- Select your PNG. Click Choose your images or drag the file onto the input area. The image stays in your browser; it is not uploaded to a server.
- Choose icon sizes. The default selection is 16, 32 and 48 pixels. These cover the common browser tab fallback. Add 64, 96, 128 or 256 if your destination requires them.
- Decide how a rectangle becomes a square. If your PNG is not square, choose transparent padding to keep its proportions inside the square icon frame. Choose stretch only if you intentionally want it to fill the square.
- Press Convert to ICO. Wait for the result card to appear. A preview before conversion is not the finished download.
- Download the .ico file. Use the download button on the result card. Confirm the file ends in .ico. Keep your original PNG as a backup.
Where it goes wrong
| What you see | Likely cause | Fix |
|---|---|---|
| The icon looks tiny in the browser tab | Transparent margins in the source PNG take up most of the canvas | Crop the empty margins in an editor, then reconvert from the original |
| The icon looks stretched or squashed | Stretch was selected for a rectangular source | Reconvert with transparent padding instead of stretch |
| A white block appears behind the icon | The source PNG has an opaque background instead of transparency | Remove the opaque background in an editor before converting; the converter does not remove it automatically |
| The application refuses the file | The file is a renamed PNG or a ZIP, not an ICO container | Download the actual ICO from the result card, not the source image or the ZIP bundle |
| The file is much larger than expected | Many large sizes selected, or a high-resolution source with many colors | Select only the sizes your destination requires; start with 16, 32, 48 |
How many sizes to choose
For a browser favicon, 16, 32 and 48 pixels inside one ICO is the practical baseline. Apple touch icons (180×180, 152×152, 167×167) and Android manifest icons (192×192, 512×512) are separate PNG files, not frames inside the ICO. See the favicon size checklist for which file goes where.
Adding more sizes to the ICO does not fix small artwork or stretch. Each frame is a separate resize of the same source canvas. If the source has transparent margins, every frame inherits them.
ICO versus other icon formats
| Format | What it is | When to use it |
|---|---|---|
| ICO | Windows icon container, holds multiple sizes | Browser favicon fallback; Windows application icons |
| ICNS | macOS icon container, holds multiple sizes | macOS application and folder icons |
| PNG | Single raster image | Apple touch icons; Android manifest icons; modern browser favicons |
ICOForge converts PNG to ICO. If you need ICNS for macOS, the ICO container is not a substitute; the two formats are structurally different. A PNG linked with rel="icon" works in modern browsers but does not satisfy applications that require an ICO file.
Questions before you convert
Can I convert a PNG to an icon by renaming it?
No. Renaming changes the filename, not the encoded data inside. The file remains a PNG that happens to have an .ico extension. Use the converter to produce an actual ICO container.
Does the converter upload my image?
No. ICOForge processes the image in your browser. The file does not leave your device during conversion.
What size should the source PNG be?
Use the largest clean version you have. The converter resizes it down to each selected icon size. A source of 256×256 or larger gives the converter enough detail for all common icon sizes.
Can I convert a JPG to an icon?
Yes, but a JPG has no transparency. The resulting icon will have an opaque background. If you need transparency, use a PNG source instead.
Do I need a square PNG?
No. You can provide a rectangle and choose transparent padding to keep its proportions inside the square icon frames.
Scope
This guide explains the conversion steps and the common mistakes. It does not claim a conversion speed, an accuracy percentage, or universal compatibility across every application. Your PNG stays in your browser. The ICOForge tool runs locally without registration.
Read the detailed shape guide · Why icons look too small · Which size goes where
Verification record
Verification date: guide reviewed 2026-10-31 against current ICOForge converter behavior.
Source: icoforge.com converter; existing ICOForge fixture documentation.
Last updated: 2026-10-31.