Convert PNG to ICO (favicon) (Beta)

Make a multi-size .ico icon or favicon from a PNG, JPG or SVG.

Opens: JPEG, PNG, APNG, WebP, GIF, BMP, TIFF, ICO, CUR, TGA, QOI, PNM, DDS, HDR, OpenEXR, farbfeld, AVIF, HEIC, HEIF, JPEG XL, JPEG 2000, PSD, PSB, SVG, DNG, CR2, CR3, NEF, ARW, ORF, RW2, RAF, PEF, SRW, PCX, XBM, XPM, SGI, WBMP, ZIP
Saves: JPEG, PNG, WebP, AVIF, GIF, BMP, TIFF, ICO, TGA, QOI, PNM, ZIP

Convert

Images
Choose files… or drop them here
.jpg, .jpeg, .jpe, .jfif, .png, .apng, .webp, .gif, .bmp, .dib, .tif, .tiff, .ico, .cur, .tga, .qoi, .pbm, .pgm, .ppm, .pnm, .pam, .dds, .hdr, .exr, .ff, .avif, .heic, .heif, .hif, .jxl, .jp2, .j2k, .j2c, .jpc, .psd, .psb, .svg, .svgz, .dng, .cr2, .cr3, .crw, .nef, .nrw, .arw, .srf, .sr2, .orf, .rw2, .rwl, .raf, .pef, .srw, .3fr, .iiq, .erf, .kdc, .dcr, .mrw, .mos, .mef, .pcx, .xbm, .xpm, .sgi, .wbmp, .zip · up to 200 MB each, 200 files max
    Add more files

    One or many pictures, or a .zip of a folder (sub-folders are kept in the result).

    Options

    JPEG, WebP and AVIF. 80–90 looks like the original; WebP at 100 is lossless.

    Non-square pictures are centred on a transparent square. Sizes larger than the picture are left out.

    Fills transparent areas in formats without transparency (JPEG, BMP, PNM). A hex colour such as #ffffff.

    More options

    SVG drawings are rendered at this size. 0 = the size written in the SVG.

    0 = keep the size. Smaller pictures are not enlarged.

    Off by default so photos you share don't reveal where they were taken. JPEG, PNG, WebP and AVIF.

    By default animated GIF, WebP and PNG stay animated when saved as GIF, WebP or PNG.

    Your files are deleted after processing.

    Make an ICO icon or favicon

    An .ico file holds the same icon at several sizes, so Windows and browsers can pick the sharpest one for each place: 16 px in a browser tab, 32 or 48 px on a desktop, up to 256 px in large views. This page makes one from a PNG (or a JPG, WebP, SVG and most other formats).

    1. Upload your logo or picture. A square PNG with a transparent background works best.
    2. Choose the sizes: Favicon (16, 32 and 48 px) for a website, or All sizes (16 to 256 px) for a Windows program or shortcut icon.
    3. Click Convert and download the .ico file.

    How the icon is made

    • Non-square pictures are centred on a transparent square, so nothing is cut off.
    • Each size is scaled down from your picture with a high-quality filter. Sizes larger than the picture itself are left out, because enlarged icons look blurry; start from a picture of at least 256 × 256 px for the full set.
    • Transparency is kept. Every size is stored as a compressed PNG inside the ICO, which all current versions of Windows and all browsers read.

    Using it as a favicon

    Name the file favicon.ico and put it in the top folder of your website, or link it in your page's head: <link rel="icon" href="/favicon.ico">. Browsers pick the size they need.

    Tips

    • Tiny icons (16 px) lose fine detail. A simple, bold shape or a single letter reads best.
    • Converting an SVG logo? It is drawn at 1024 px first, so every icon size is scaled down from a sharp picture.
    • To get separate PNG files per size instead, use the Image Resizer.

    More about what this tool reads and writes: Image Converter.