How to Create a Favicon from a PNG (Free PNG to ICO)
Generate a proper multi-size favicon from a square PNG — privately, in your browser.
A favicon is the small icon that appears in browser tabs, bookmarks and search results. The classic format is .ico, which packs several sizes into one file so it looks sharp everywhere. This guide shows how to make one from a PNG, without uploading anything.
How to make a favicon
- Start from a square PNG, ideally 256×256 or larger, with a transparent background.
- Open the PNG to ICO converter and choose the file.
- Convert and download the
.ico. - Save it as
favicon.icoin your site root and add<link rel="icon" href="/favicon.ico">to your pages’<head>.
The favicon is generated locally — your image never leaves your device.
Tips for a crisp favicon
- Keep the design simple and bold; the 16×16 version is tiny.
- Use transparency so the icon works on light and dark tabs.
- The tool includes 16, 32, 48, 64, 128 and 256 pixel sizes automatically.
Favicon sizes at a glance
| Size | Displayed | Importance |
|---|---|---|
| 16 × 16 | Browser tab, bookmarks | Essential |
| 32 × 32 | Taskbar, shortcuts | Essential |
| 48 × 48 | Desktop icons | Recommended |
| 64 × 64 | High-DPI shortcuts | Recommended |
| 128 × 128 | App and file icons | Optional |
| 256 × 256 | High-resolution displays | Recommended |
One ICO file can hold several of these sizes, and the browser picks the one it needs. A single 32 × 32 favicon is usually enough; add 256 × 256 if you support modern high-DPI displays and Windows tiles.
ICO or PNG for favicons?
The `.ico` format is the traditional standard and offers the widest support across browsers and devices. Modern browsers also accept PNG favicons, which is fine as a fallback — but ICO remains the safest choice for desktop and pinned tabs.
Designing a favicon that survives 16 pixels
At 16 × 16 you have 256 pixels to describe your brand, so detail works against you. Start from a single recognisable shape rather than a scaled-down logo: one letter, one mark, or a simplified silhouette. Design at the smallest size first, then scale the same shapes upward for the larger entries — not the other way round.
- Test on light and dark backgrounds. A mostly-white icon disappears in a light-theme tab.
- Keep a margin. Shapes that touch the border look cramped and get clipped on retina displays.
- Avoid thin strokes. Hairlines below about 2 px turn into noise at small sizes.
Installing the favicon on your site
Browsers request /favicon.ico from the site root automatically, so the minimum is placing the file there. To support modern devices and pinned tabs properly, reference it explicitly in every page’s head:
| File | Purpose |
|---|---|
favicon.ico in the root | Classic fallback, automatic request |
icon-192.png | Android home screen and PWA |
icon-512.png | High-resolution splash and maskable icons |
apple-touch-icon.png | iOS home screen bookmarks |
Add <link rel="icon" href="/favicon.ico" sizes="any"> plus a PNG fallback for browsers that skip .ico entirely. Once the file is cached, browsers request it rarely, so it stays cheap to serve.
Common mistakes
- Caching: after replacing the favicon, force-reload or append a version query (
?v=2) to see it change. - Non-square source: non-square PNGs are scaled and centred, which can crop your design.
- Too much detail: a photo of a scene becomes an unrecognisable blur at 16 pixels.
- Wrong path: check the network tab — a 404 on
favicon.icois the most common install error.
Frequently asked questions
How do I make a favicon from a PNG?
Open the PNG to ICO converter, choose a square PNG, convert and download the .ico.
Which sizes are included?
16, 32, 48, 64, 128 and 256 pixels, packed into a single ICO file.
Is my image uploaded?
No. The favicon is generated locally in your browser.
Conclusion
You can create a professional multi-size favicon from a PNG in seconds — free and private.