OfflaneAI

PNG to ICO —
a proper multi-size favicon.ico

Drop your logo, optionally add a background tile and padding, and download favicon.ico with 16, 32 and 48 px layers — plus Apple, Android and manifest files in the same ZIP.

  • 🔖 ICO with 16/32/48 px layers
  • 🍎 Apple & Android icons too
  • 📄 HTML snippet included
  • 🔒 Nothing is uploaded

Loading the tool… (JavaScript required)

Why does an ICO need several sizes?

Browsers and Windows pick the layer that matches the display: 16 px for tabs, 32 px for the taskbar and bookmarks, 48 px for desktop shortcuts. A single-size ICO looks blurry when scaled.

Can I use an SVG or JPG as the source?

JPG yes; SVG does not load in Chrome and other Chromium browsers, so export it as a PNG of 512 px or larger. A square PNG with transparency gives the cleanest result; the tool centres non-square images with the padding and background you choose.

Do I still need favicon.ico in 2026?

Modern browsers prefer PNG or SVG icons, but many tools, Windows shortcuts and older browsers still request /favicon.ico. The ZIP contains both, so every case is covered.

Which files does a modern website need?

favicon.ico (for old browsers and bookmarks), favicon-32x32.png and favicon-16x16.png, apple-touch-icon.png (180 px, for iPhone home screens), android-chrome-192x192.png and android-chrome-512x512.png (for Android and PWAs) and a site.webmanifest that references them. The ZIP contains all of them plus the <link> tags.

What image should I start with?

A square PNG with a transparent background, at least 512×512, with a simple shape — fine detail disappears at 16 px. Use the padding and background options to add a coloured tile behind a logo that is too thin.

Where do I put the files?

Upload them to the root of your site (same folder as index.html) and paste the HTML snippet from README.html into the <head>. WordPress, Shopify and Wix also accept the 512 px PNG in their site-icon settings.

What an ICO file is

ICO is a container. One .ico file holds several square pictures of different sizes, and the program that shows the icon picks one. The favicon.ico made here holds three layers, 16, 32 and 48 px, and each layer is stored as a 32-bit PNG with full transparency. Every layer is drawn from your original image, not scaled down from the next larger layer.

PNG layers inside an ICO are read by all current browsers and by Windows Vista and later. Windows XP and some old icon editors cannot open this form.

Getting the ICO out of the download

The tool produces one ZIP, favicon-package.zip, not a single ICO. Unpack it and take favicon.ico. The other files in the archive are for iPhone and Android home screens and for the web manifest; you can ignore them if all you need is the ICO.

For a website, put favicon.ico in the root folder, so it is reachable at /favicon.ico. Browsers and many other programs ask for that exact address even when the page has no icon link.

Settings for a clean ICO

The 16 px layer is the one people see most, in browser tabs and bookmarks, and it is where most logos fail. Judge every change by the 16 px preview, which is shown at real size without smoothing.

Your PNGBackgroundPaddingRounded corners
Square logo with a transparent backgroundTransparent0%—
Dark logo that must also show on dark tab barsSolid colour10–15%15–25%
Wide wordmarkCrop it to the symbol or first letter first——
Logo on a white boxRemove the white first, then Transparent0%—

A non-square PNG is scaled to fit and centred, never cropped or stretched. A wide wordmark therefore becomes a thin, unreadable strip at 16 px. Cut it down with the crop tool before loading it.

Pitfalls

  • Small source images. A 64 px PNG is enough for the ICO layers, but the same ZIP also contains 512 px files, which turn soft from a small source. Use 512 × 512 px or larger if you want the whole package.
  • Thin lines. A one-pixel outline at 512 px all but vanishes at 16 px. Simplify the drawing for the icon.
  • Windows application icons. This ICO stops at 48 px. A desktop program icon normally also carries a 256 px layer, so use dedicated icon software for that job.
  • The old icon still shows. Browsers cache favicons separately and for a long time. Open /favicon.ico directly and reload it after replacing the file.

The favicon generator guide describes every file in the ZIP and the HTML lines to add to your pages.