PNG to ICO

Convert PNG, JPG or SVG to an ICO file online — a favicon.ico with 16, 32 and 48 px, or a Windows icon with every size up to 256 px. Free, private, in your browser.

Select an image

or drop a PNG, JPG, WEBP or SVG image here

or import from

Processed in your browser — your images never leave your device.

More tools

An ICO file is not one image but a small set of them: the same icon at several sizes, so a browser tab, a taskbar and a desktop can each pick the one that fits. oMyImage's PNG to ICO converter builds that set from a single picture. Start from a PNG, JPG, WEBP or SVG, choose the sizes — favicon or full Windows icon — and preview every size at its real pixel dimensions before you download one .ico file.

How to convert PNG to ICO

  1. 1

    Add an image

    Select a PNG, JPG, WEBP or SVG image — square with a transparent background is best.

  2. 2

    Choose the sizes

    Pick Favicon (16, 32, 48) or Windows icon (16 to 256), or tick the exact sizes.

  3. 3

    Download the ICO

    Check every size in the preview, then download one .ico file.

What is inside an ICO file

ICO is the Windows icon format, and it is a container: one file holds several square images, typically from 16 × 16 up to 256 × 256 pixels. Windows picks the closest size for each place an icon appears — a file list, the taskbar, the desktop — and browsers do the same for the tab and bookmarks. That is why a single resized PNG renamed to .ico is not a real icon.

Files made here store the sizes below 256 as 32-bit bitmaps with full transparency, the form every Windows version in use and every browser reads, and the 256-pixel size as compressed PNG, the way Windows' own icons do. The result opens in any icon-aware program.

Making a favicon.ico

For a website, choose the Favicon preset: 16, 32 and 48 pixels. 16 is the classic browser-tab size, 32 is used on high-resolution screens and in the taskbar when a site is pinned, and 48 covers Windows shortcuts and larger bookmark and site-tile views. Together they give every common place a size that does not need stretching.

Name the file favicon.ico and put it in the root folder of your site, so it is reachable at /favicon.ico. Browsers request that address automatically, even on pages that do not declare an icon. Modern sites often add PNG and SVG icons with link tags as well, but the .ico at the root remains the one every browser and many tools look for first.

Icons for Windows folders and shortcuts

For a desktop shortcut, a folder or an app, choose the Windows icon preset, which includes every size from 16 to 256 pixels. Windows uses the large sizes for desktop icons and big Explorer views, and the small ones for lists and the taskbar; if a size is missing it scales the nearest one and the icon looks blurry.

To use the icon, right-click a shortcut, open Properties and choose Change Icon; for a folder, open Properties, then Customize, then Change Icon, and browse to your .ico file. Keep the .ico somewhere it will not be moved or deleted, because Windows reads it from that location.

Designing for 16 pixels

At 16 × 16 pixels there is room for a shape and maybe a letter, not for a detailed logo. Bold shapes, strong contrast and a simple silhouette survive; thin lines, small text and subtle gradients turn into grey mush. The preview shows each size at its actual pixel size, so you can judge the 16-pixel version honestly before downloading.

To get the cleanest small sizes, the image is reduced in steps, halving its size each time with high-quality smoothing, rather than shrunk in one jump, which tends to drop thin details unpredictably. If the 16-pixel icon still looks busy, try a simplified version of the logo — just the initial or the symbol — as the source.

Square icons from any image

Icons are square. If your image is not, choose Fit whole image to keep everything and fill the sides with transparency, or Crop to square to trim the longer side from the centre. A transparent background is kept by default; tick the white background option if the icon will be shown somewhere that turns transparency black.

The best source is a square PNG with a transparent background at 256 pixels or larger. A JPG works too, but it has no transparency, so its background becomes part of the icon. An SVG is ideal: it is drawn at high resolution first, so every size is sharp.

PNG to ICO features

Every size in one file

16, 24, 32, 48, 64, 128 and 256 pixels, packed into a single .ico.

Transparency kept

Icons keep a full transparent background, with smooth anti-aliased edges.

No upload

The icon is built in your browser; your image never leaves your device.

Security & privacy

Your image is resized and packed into an ICO file entirely in your browser. Nothing is uploaded, stored or tracked.

Frequently asked questions

How do I convert PNG to ICO?

Add your image, pick the Favicon or Windows icon preset, check the preview and click Download ICO.

What sizes should a favicon.ico have?

16, 32 and 48 pixels — the Favicon preset. They cover browser tabs, high-resolution screens and Windows shortcuts.

What sizes does a Windows icon need?

Up to 256 pixels. The Windows icon preset includes 16, 24, 32, 48, 64, 128 and 256, so Windows never has to stretch a size.

Can I convert JPG or SVG to ICO?

Yes. PNG, JPG, WEBP, GIF, BMP and SVG all work. JPG has no transparency, so its background stays; SVG gives the sharpest results.

Is the transparent background kept?

Yes. Transparency is kept at every size, unless you choose a white background.

My image is not square — what happens?

Choose Fit whole image to keep all of it with transparent sides, or Crop to square to trim the longer side.

Where do I put favicon.ico?

In the root folder of your website, so it loads at yoursite.com/favicon.ico. Browsers look there automatically.

How do I change a folder icon in Windows?

Right-click the folder, open Properties, then Customize, then Change Icon, and choose your .ico file.

Why does my 16-pixel icon look blurry?

There are only 256 pixels to work with. Use a simpler source — just the symbol or the initial — with bold shapes and strong contrast.

Is my image uploaded?

No. The ICO file is created entirely in your browser.