How to convert PNG to ICO
- Drop a PNG, JPG or WebP image on the input or click it to choose one. A copied image can also be pasted with Ctrl+V.
- Tick the sizes the ICO should hold. 16, 32 and 48 px are ticked to start with; 64, 128 and 256 px are there for Windows shortcuts and high-density screens.
- Check the preview strip, which shows every size the ICO will hold, side by side. If your image is smaller than the largest size you ticked, a warning says those sizes will be upscaled.
- Click Download ICO. The file is named after your image, so logo.png downloads as logo.ico.
Why use this tool
A favicon from a logo export
Your designer sent a 512 px PNG of the logo. Drop it here, keep 16, 32 and 48 px, and save the result as favicon.ico at the root of the site.
Windows program and shortcut icons
Windows uses ICO files for program and shortcut icons. Tick 256 px as well, so the icon stays sharp in large icon views and on high-DPI displays.
Replacing an old, blurry favicon
Many old favicon.ico files hold a single 16 px image that the browser stretches on high-density screens. Rebuild it from a large image with 32 and 48 px included.
Private by design
Your files are decoded and converted in this browser tab and never uploaded, so client artwork and unreleased designs stay on your device. No account and no watermark.
Good to know
Why one ICO holds several sizes. An ICO file is a small container with one image per size, and whatever shows the icon picks the size that fits: a small one for a browser tab, a larger one on a high-density screen or a Windows shortcut. Each size here is resized from your original with smoothing, which looks better than letting a browser shrink or stretch a single picture.
Start from a large, square image. Shrinking works well: a large image is reduced in halves before the final size, so small icons stay smooth. Enlarging does not: when your image is smaller than a size you tick, that size is upscaled and looks soft, and the tool warns you. An image that is not square is centred in each icon with transparent space on its shorter sides, with a notice.
Formats. The tool reads PNG, JPG and WebP images. Transparency in a PNG or WebP is kept; a JPG has none, so its background stays solid. An animated image gives its first frame. Each size is stored as a 32-bit PNG inside the ICO, which current browsers, Windows Vista and later, and macOS read.
Adding the favicon to a page. Save the file as favicon.ico at the root of your site; some browsers and tools request /favicon.ico even when a page declares no icon. To declare it, and an SVG icon as well, add these lines to the page's head:
<link rel="icon" href="/favicon.ico" sizes="32x32"><link rel="icon" href="/icon.svg" type="image/svg+xml">
Limits. Images up to 16,384 px on a side and 67 megapixels in total can be converted. Files over 50 MB get a warning. The largest size an ICO entry can describe is 256 × 256 px.
In — A 64 × 64 px PNG, sizes 16, 32, 64 and 128 px
photo-64.pngOut — Warning shown
Your image is 64×64 — sizes above that will be upscaled.Frequently asked questions
Why does the tool say some sizes will be upscaled?
Your image is smaller than the largest size you ticked. The tool cannot add detail that is not in the original, so that size is enlarged and looks soft. Use a larger source image, ideally 256 × 256 px or more, or untick the sizes above your image’s size.
Can I convert a JPG or WebP to ICO?
Yes. The tool reads PNG, JPG and WebP images. A JPG has no transparency, so its background stays solid in the icon; use a PNG or WebP with a transparent background if the icon should have none.
Which sizes should I include?
16, 32 and 48 px are enough for a website favicon, and they are ticked when the page opens. Add 64, 128 and 256 px for a Windows program or shortcut icon. Each extra size makes the file a little larger.
Does the ICO keep transparency?
Yes. Each size is stored as a 32-bit PNG with its alpha channel, so transparent areas of a PNG or WebP stay transparent. The preview shows them over a checkerboard.
Is my image uploaded anywhere?
No. The image is decoded, resized and packed into the ICO in this browser tab. Nothing is sent to a server.