A .ico is not just another image format: it is a container that holds several sizes of the
same icon in one file.
Windows and browsers still look for it
The tab icon, the shortcut on a desktop, the icon Windows shows for a file type or a
program: they are all read from a .ico. A site that only ships a PNG still works in most
modern browsers, but older ones and a lot of desktop software ask for the .ico first.
Several sizes from one upload
Inside the single file the tool builds 16, 24, 32, 48, 64, 128 and 256 pixel images, so
Windows can pick the one it needs for a large desktop icon or a tiny list entry without
rescaling anything at the last moment. One upload, one file to copy.
A PNG is the right starting point
PNG is lossless and stores transparency, so nothing is lost before the icon is built and a
cut-out logo keeps its edges. Every size inside the .ico is encoded from that clean master,
which is why a PNG source beats a JPG one for an icon every time.
What goes into the .ico
An icon is a square by definition, and only so many pixel sizes fit sensibly in one file.
16 to 256 pixels, depending on the source
Every size up to the longest side of your PNG is built, plus 16, 32 and 48 which an icon
needs even when the upload is small. Upload 512 px and the file holds 16, 24, 32, 48, 64,
128 and 256; upload 64 px and it holds 16, 24, 32, 48 and 64 — the larger entries would
only be upscaled guesses, so they are left out.
The artwork is squared on transparency
Icons are square, so a wide or tall PNG is centred on a transparent square canvas instead
of being stretched. That keeps the proportions right but makes the visible mark smaller,
which is why a square source works best. Nothing is cropped away.
Transparency survives, colour stays as it is
Each entry is stored as a PNG payload inside the container, so transparent areas stay
transparent and the 256-colour limit of the old icon format never applies. Do check the
smallest size: a thin outline that reads well at 256 px can disappear completely at 16.
The quality field does nothing here
Icon entries are lossless, so there is no quality to trade away and the field is ignored.
The width field still works — it resizes the artwork before the icon is built — but for a
favicon it is simpler to upload the PNG as it is; the sizes inside the .ico are produced
from it either way.
How to convert PNG to ICO
Three steps, one file, nothing to install.
Add a square PNG
Drag it onto the box, click to choose, or paste it with Ctrl+V (Cmd+V on a Mac). Up to
25 MB. A 256 px or 512 px square with a transparent background is the ideal source; a
screenshot or a photo works, but the small sizes will be less legible.
Leave the width and background alone
The PNG is used as uploaded, and transparency is kept, which is what an icon wants. Only
set a width if the source is far larger than 512 px and you want the icon built from a
smaller master; the result is the same file either way, just lighter.
Download the .ico
The result line shows the largest size inside the file and the total weight. Save the
.ico, rename it to favicon.ico if that is what the site expects, and put it at the root of
the site or next to the program that needs it.
Three tips for a clean icon
Sixteen pixels forgive almost nothing, so start from the right file.
Upload 256 px or more, square
The largest entry in the icon is 256 px, so a source of that size or bigger can be
downscaled cleanly to every other size. A smaller source still builds a valid .ico, but
the big entries are left out and a 128 px shortcut icon will look soft.
Simplify before you convert
Drop the wordmark under the symbol, thicken hairlines and keep to two or three colours.
The alternative — one detailed logo shrunk to 16 px — becomes a smudge in the tab bar and
on the taskbar.
For a full website set, use the favicon generator
This page produces the .ico on its own. A site usually also wants the 16 and 32 px PNGs,
an Apple touch icon, the 192 and 512 px Android icons, a web manifest and the link tags —
the favicon generator builds all of them in one ZIP. The
PNG to WebP converter is handy if you also want a lighter
version of the same logo for the page itself.
Frequently asked questions
Is this converter free?
Yes. There is no account, no trial, no credit card and no watermark, and you can build as many icons as you like. A short rate limit keeps one visitor from occupying the server for everyone else.
Which sizes does the .ico contain?
Up to seven images: 16, 24, 32, 48, 64, 128 and 256 pixels. Everything at or below the longest side of your PNG is built, and 16, 32 and 48 are always included because every icon needs them. Sizes that would only be an upscale of a smaller upload are skipped, so a 64 px source produces a 5-size file rather than invented detail.
Is transparency kept in the icon?
Yes. Each size is stored as a lossless image with an alpha channel, so a cut-out logo stays cut out and the corners of a rounded mark do not gain a white box. Only the squaring step adds anything: a non-square upload is placed on a transparent square canvas, centred, without stretching or cropping.
How large may my PNG be?
Up to 25 MB per file, with the image itself limited to 50 megapixels. Since the largest icon entry is 256 px, anything beyond a 512 px square adds weight to the upload and nothing to the result — a source of 256 to 1024 px is the sweet spot.
What happens to my files?
Files are processed on our server and not stored. The PNG is read as it arrives and only the finished .ico is sent back to your browser.