Skip to main content

Free PNG to ICO Favicon Converter

Convert PNG, JPG, WebP, or SVG images into multi-size .ico favicon files. Pick the sizes you want bundled (16, 32, 48, 64, 128, 256) and download a single .ico.

Works offline once loaded

Drop a file here, or click to browse

PNG, JPG, WebP, SVG, HEIC, HEIF Β· processed on your device

or press Ctrl+V to paste from your clipboard

Browse files

Tip: you can paste a screenshot with Ctrl+V

Your files never leave your device. All processing happens locally in your browser.

Common uses

  • Create a Website Favicon from PNGConvert your logo PNG to a multi-size favicon.ico file for your website tab icon.
  • Create a Windows Desktop IconConvert PNG or JPG images to .ico files for Windows desktop shortcuts and application icons.
  • Multi-Size Cross-Platform IconBundle multiple icon sizes (16, 32, 48, 64, 128, 256) into one .ico file that works everywhere.
  • PWA Icon Source FileGenerate a base .ico from your PWA logo for fallback support in older browsers that don't use the manifest.
  • Convert Brand Logo to ICO FormatTransform your company or brand logo from PNG, JPG, or SVG into a high-quality .ico file for digital touchpoints.

How It Works

The conversion runs entirely in your browser using two mechanisms written directly in this tool: the Canvas API to scale and render each icon frame, and a hand-written ICO binary encoder that packs those frames into a single .ico file β€” no library is downloaded, and no file ever leaves your device.

  1. 1
    Image decoded into a canvas
    Your uploaded PNG, JPEG, WebP, or SVG is loaded into an HTMLImageElement and drawn onto an off-screen canvas at each requested size (16Γ—16 through 256Γ—256). The canvas uses high-quality bicubic smoothing and respects your fit choice: 'contain' letterboxes the image with transparent or colored padding, while 'cover' crops a centered square from the source.
  2. 2
    Each frame exported as PNG bytes
    The browser's built-in canvas.toBlob('image/png') encodes each scaled frame into a lossless PNG. These raw bytes are what get embedded inside the .ico container β€” modern browsers and Windows handle PNG-in-ICO natively, which keeps file sizes smaller than the older BMP-based format.
  3. 3
    ICO binary assembled in memory
    A hand-written encoder builds the .ico file structure from scratch using DataView: a 6-byte ICONDIR header declares the image count, followed by a 16-byte directory entry for each size (recording width, height, bit-depth, byte length, and data offset), then all PNG payloads concatenated in sequence. No third-party library is involved.
  4. 4
    Preview shown, file downloaded
    Before offering the download, the UI renders a pixel-accurate preview of every packed size against a checkerboard background so you can verify transparency before saving. The assembled Blob is handed to the browser's download mechanism as 'favicon.ico'.

Your image is processed entirely within your browser β€” it is never uploaded to any server, and no copy is retained after you close the tab.

Related Tools

Frequently Asked Questions