Part of Image tools: See all Image tools.
What is PNG To ICO?
Turn a PNG, JPG or WebP image into an ICO file for a website favicon or a Windows icon. Pick one size (16 to 256 px) or bundle seven sizes (16, 24, 32, 48, 64, 128 and 256 px) in one .ico file.
How to use PNG To ICO
- Upload a PNG, JPG or WebP image. A square image of at least 256x256 px gives the sharpest result.
- Pick one size from the Size list, or tick Include all sizes to get 16, 24, 32, 48, 64, 128 and 256 px in one .ico file.
- Click Convert & Download. The image is uploaded over HTTPS, converted on our server and then discarded, and the .ico file downloads. There is no preview, so open the file to check it.
- Put favicon.ico in your website root, or use the file as a Windows program or shortcut icon.
Why use this tool?
Browsers still look for favicon.ico, and Windows needs ICO files for program and shortcut icons. This tool makes a properly formatted single-size or multi-size ICO without graphic design software, free and with no sign-up.
FAQ
- What size should my image be for a good favicon?
- Start with a square image of at least 256x256 px. The tool scales it down to the sizes you choose. Smaller images are scaled up, which makes them look soft.
- Can one ICO file contain several sizes?
- Yes. Tick Include all sizes and the .ico file holds 16, 24, 32, 48, 64, 128 and 256 px versions, so browsers and Windows can pick the best one. Without the tick you get only the size you picked.
- How do I add the favicon to my website?
- Put favicon.ico in your website root folder and add <link rel='icon' href='/favicon.ico'> inside the head section of your HTML.
- Does the image need to be square?
- No, but icons are square. A non-square image is cropped to a square from the centre, so keep the important part in the middle. To choose the crop yourself, use <a href='/tools/image-crop'>Image Crop</a> first.
- Is transparency kept?
- Yes. Transparent areas in a PNG or WebP stay transparent in the ICO file.
- Is this tool free to use?
- Yes, it is free with no sign-up and no watermark. Files can be up to 500 MB, and there is a fair-use limit of 20 requests per minute.
PNG To ICO — In-Depth Guide
ICO files are the standard format for website favicons, the small icons that appear in browser tabs, bookmarks, and history. Converting a PNG logo or icon to ICO format is a necessary step when setting up any website. Most browsers expect a favicon.ico file at the root of your domain for proper icon display.
Windows application developers need ICO files for their program icons displayed in the taskbar, desktop shortcuts, and file explorer. Unlike PNG files, ICO format supports multiple resolutions within a single file, allowing Windows to select the best size for each display context from 16x16 pixels up to 256x256.
When creating an ICO file, start with a clean PNG image at 256x256 pixels or larger. Simple designs with bold shapes and high contrast work best because favicons are displayed at very small sizes. Avoid fine details and thin text that become illegible at 16x16 pixels. Test your favicon at multiple sizes before deploying.
For modern web development, you may also want to provide PNG favicons alongside the ICO file for broader platform support including Android and iOS home screen icons. However, the ICO file remains important for legacy browser support and is the most universally recognized favicon format across all platforms.
Why websites still need a real .ico file
A favicon is the tiny mark that shows up in a browser tab, a bookmark list, and often on a phone home-screen shortcut. Modern browsers will accept a PNG for that job, but a surprising number of older browsers, Windows shortcuts, desktop programs and installer packages still expect a proper .ico file. ICO is not just a renamed PNG: it is a container that can hold several square images at once, so the same file can supply a sharp 16×16 icon for a tab and a clearer 256×256 icon for a high-resolution desktop. If you only upload a single large PNG and hope for the best, some environments will stretch, blur or ignore it. Converting once into a well-formed ICO avoids that.
This tool turns a PNG, JPG or WebP into that ICO on our server. You pick one size, or tick Include all sizes to pack 16, 24, 32, 48, 64, 128 and 256 px into one download. The upload travels over HTTPS, the file is converted in memory and discarded after the download, and nothing is kept for an account or gallery. There is no preview step: open the downloaded .ico to check it before you publish it.
Start with a square source that is large enough
Icons are always square. The sharpest results come from a square source of at least 256×256 pixels, ideally a clean logo or mark with a transparent background. If your file is already a high-resolution PNG with transparency, leave it as PNG: transparency is kept in the ICO, which matters for logos that sit on dark and light browser chrome. JPG is fine for photos used as icons, but JPG has no transparency, so the background will be opaque.
If the image is not square, the tool centre-crops it to the largest square that fits inside the frame, then scales that square to the sizes you asked for. That is convenient for a roughly centred logo, and a problem if the important part sits near an edge. When you need to choose the crop yourself, run the file through Image Crop first (including the circle option if you want a round mark), then convert the cropped PNG here. Scaling a small image up to 256 px will look soft, so enlarge the design in a proper editor when you can, rather than relying on this converter to invent detail.
Single size versus multi-size ICO
A single-size ICO is enough for many simple websites: pick 32×32 for a classic tab icon, or 16×16 when you know the host only ever shows the smallest mark. The Size list offers 16, 32, 48, 64, 128 and 256. The API also accepts 24, and the multi-size bundle includes 24 even though the Size dropdown does not list it on its own.
Tick Include all sizes when the file will be reused in several places: browser tabs, Windows shortcuts, taskbar pins and installer resources. The download then contains seven embedded squares (16, 24, 32, 48, 64, 128 and 256). The response header X-Icon-Sizes lists exactly which sizes went into the file, which is useful when you are scripting a build. Multi-size files are larger than a single 32×32 ICO, but still tiny next to a typical web page, and they save you from shipping several separate icons.
What the converter actually does to your pixels
After the upload is read, the tool applies any EXIF orientation tag so a phone photo that looks upright in your gallery is upright here too. It then converts the image to RGBA so transparency can be preserved. Non-square images are centre-cropped as described above. The largest requested size is produced with a high-quality Lanczos resize, and smaller sizes are stored inside the same ICO container. Pillow writes a standard ICO; you should be able to drop the file into a site root or point a Windows shortcut at it without further conversion.
Formats the tool will not invent: it does not turn a photo into a vector, does not add padding around a mark that already fills the frame, and does not generate Apple touch icons or Android adaptive icons. Those are separate PNG (or SVG) assets with their own sizes. Use this page when you specifically need an .ico. If the upload cannot be read, or the size value is not one of the allowed numbers, you get a clear HTTP 400 rather than a broken download. Files over the site upload limit (500 MB) are rejected with 413; normal icons are nowhere near that size.
Putting the favicon on a website
The classic approach still works: save the file as favicon.ico in the root of your site and add a link tag in the document head:
<link rel="icon" href="/favicon.ico" sizes="any">
Many frameworks also let you place the file next to other static assets and reference that path. After you deploy, do a hard refresh or open the site in a private window: browsers cache favicons aggressively, so an old icon can linger for days even when the file on the server is new. If you also ship a 180×180 Apple touch icon or a set of PNG icons in a web app manifest, keep those as PNG; the ICO does not replace them, it covers the older favicon slot and Windows usages.
Common mistakes that make favicons look wrong
Most favicon complaints are not about the ICO format itself. They come from the artwork. A detailed illustration that looks fine at 512 px becomes mud at 16 px: thin lines vanish, small text disappears, and busy backgrounds turn into noise. Design the mark so it still reads as a silhouette when you squint. High-contrast shapes, one or two colours, and a little clear margin inside the square survive browser chrome far better than a full screenshot of a product page. If you already have a wordmark, consider a separate monogram or symbol for the tab icon rather than shrinking the whole logo until the letters are illegible.
Another frequent issue is caching and the wrong path. You update favicon.ico on the server, reload the page, and still see the old icon for hours. Private windows, a cache-busting query string on the link href during testing, or clearing site data for that host usually prove the new file is fine. Also check that your CDN or static host is actually serving the new bytes and not an old cached object with a long max-age. Finally, confirm you did not accidentally upload a PNG renamed to .ico without converting it: some servers will still deliver the file, but Windows and older agents may refuse it. This converter writes a real ICO container, which is the point of using it.
Where this fits next to the other image tools
A clean favicon usually needs a short pipeline rather than a single click. Export or draw the mark, crop it so the logo sits comfortably in a square (leave a little padding if the mark would otherwise touch the tab chrome), optionally resize to 512 or 256 so you are not upscaling later, then convert here. If the source is a huge photo, compress it first so the upload is quick; compression does not help much after the icon is already 256 px. For iPhone HEIC screenshots of a logo, convert with HEIC to JPG before this step. Need the icon as a plain PNG at several sizes instead of ICO? Use resize or crop and export PNG — this tool is specifically for the ICO container.
The page is free, needs no account, and does not watermark the file. Fair-use rate limiting applies (about 20 requests per minute) so the converter stays available for everyone. Claims on this page match what /api/png-to-ico does today: the listed sizes, optional multi-size bundle, centre crop for non-square uploads, EXIF uprighting, RGBA transparency, server-side processing with discard after download, and no in-browser preview.
Also try
Related tools that work well with this one: