consolelog.tools

PNG to ICO Converter

Convert a PNG (or JPG/WebP) into a multi-resolution Windows .ico favicon. Pick any sizes from 16×16 up to 256×256 — or add your own — and bundle them all into one file, with alpha transparency preserved. Everything runs locally in your browser.

About this ToolHow it works, benefits & use cases

Turn a PNG (or JPG, WebP, or SVG) into a proper Windows .ico file without leaving your browser. Your image is decoded to a canvas and re-rendered at each size you choose — 16×16, 32×32, 48×48 by default, plus any presets up to 256×256 or a custom pixel size you add yourself — and all of them are packed into a single multi-resolution .ico. Modern ICO embeds PNG data, so the alpha channel is preserved and transparent logos stay transparent. A live preview shows every size on a checkerboard so you can see exactly how each icon renders, and the download button reports the final file size. Choose how a non-square image maps into the square icon (contain, cover, or stretch), and pick a solid background if you would rather not keep transparency. Everything runs locally — the image is never uploaded to a server.

How to Use

  1. 1Drop your PNG onto the upload area (or click to browse). JPG, WebP, and SVG also work; a square, high-resolution source gives the sharpest result.
  2. 2Toggle the size presets you want (16, 24, 32, 48, 64, 128, 256) — each one is bundled into the same .ico file.
  3. 3Need an unusual size? Set a value with the Custom size stepper and click Add; remove any size from the “Included” list with its × button.
  4. 4Pick a Fit mode for non-square images (Contain letterboxes, Cover crops to fill, Stretch distorts) and keep the background transparent or set a solid color.
  5. 5Check the live per-size preview, then click “Download .ico” — the button shows the exact file size and saves your favicon.

Key Benefits

  • Bundles multiple resolutions (16–256px) into one .ico, the way real favicons work
  • Preserves PNG transparency — the alpha channel survives into the .ico
  • Add any custom pixel size from 1 up to the 256×256 ICO maximum
  • Live checkerboard preview of every included size, so you see each icon before you download
  • Contain / Cover / Stretch fit control for non-square source images
  • Reports the final .ico file size on the download button
  • Runs entirely in your browser — the image never leaves your device

Common Use Cases

  • Creating a favicon.ico for a website from an existing PNG logo
  • Packaging 16/32/48px icons into one file for a Windows desktop application
  • Generating a crisp 256×256 icon for high-DPI displays and shortcuts
  • Converting a transparent brand mark to .ico while keeping its transparency
  • Producing a single multi-size icon so the browser can pick the right resolution per context

Click to upload or drag and drop

Accepted: image/png,image/jpeg,image/webp,image/svg+xml • Max 5 MB

PNG recommended (JPG, WebP, SVG also work). A square, high-res image gives the sharpest icons.

Upload an image to get started. Nothing is uploaded to a server — conversion happens entirely in your browser.

Icon sizes

Every selected size is bundled into the one .ico file. Toggle any preset, or add a custom size.

px
Included:16×1632×3248×48

Rendering

ICO keeps the alpha channel, so transparent PNGs stay transparent — ideal for favicons on any page background.

One .ico, every size

A Windows .ico file can hold several resolutions at once, and the browser or OS picks the best one for each context — a browser tab, a taskbar, a desktop shortcut. Bundling 16×16, 32×32 and 48×48 covers virtually every favicon need; add 256×256 for crisp large displays. Your image is decoded and re-encoded locally with the canvas API and never leaves this page.

Was this tool helpful?

Share Your Experience

Help others discover this tool!

Related tools