PNG to ICO Converter – Free, Multi-size .ico Online
Convert PNG to ICO when you need one multi-size .ico instead of a renamed PNG. A PNG is one bitmap. An ICO is a container, so one favicon.ico can hold several sizes and the browser or Windows picks a layer. The form above this article does that in the browser and also downloads PNGs at 16, 32, 48, 180, 192 and 512. ImageMagick and Python below write the same kind of ICO from the command line. Which pixel size belongs on which surface is in the favicon dimensions guide.
How to convert PNG to ICO
Start from a square PNG. 256×256 is enough for a favicon; 512×512 is the better source if you also export the manifest icons. Scaling down stays sharp. Scaling a 16 px or 32 px file up does not.
Open Tools. Download ICO on Image to Favicon writes 16×16, 32×32 and 48×48 into one favicon.ico. The ZIP from that tool also includes the selected PNGs (16, 32, 180, 192 and 512 by default), site.webmanifest, and the HTML snippet.
Or use the format converter on the same page: choose ICO, leave 16, 32 and 48 checked, and convert. Check 64, 128 or 256 only when the file is a Windows application icon.
Put favicon.ico at the site root and point at it from the home page. The link tags are in the favicon size chart.
Which sizes belong in the ICO
For a website favicon, put these three layers in the file:
Size
Include in favicon.ico?
What uses it
16×16
Yes
Browser tab on a standard display
32×32
Yes
Browser tab on a high-DPI display
48×48
Yes
Windows desktop shortcut
64×64, 128×128, 256×256
Only for a Windows application icon
Large Windows icons. A site favicon does not need them, and they make /favicon.ico heavier
180×180, 192×192 and 512×512 stay as separate PNGs. They are the apple-touch-icon and the web manifest icons, not extra layers inside the ICO. The full chart is the favicon size guide.
Why ICO Still Matters in 2026
Universal browser support — ICO works in every browser, including very old versions of IE.
Multi-size container — One ICO holds a separate bitmap per size. For a site, that set is 16, 32 and 48. The browser or Windows picks one layer instead of scaling a single PNG.
Windows integration — Windows desktop shortcuts use the ICO format.
Automatic fallback — Browsers request /favicon.ico at the site root even when the page has no <link rel="icon">.
Download ICO saves favicon.ico with 16, 32 and 48. The ZIP also packs the PNG sizes you leave selected, plus the manifest and HTML.
To choose layers yourself, use the format converter on that page. 16, 32 and 48 start checked.
Bonus: The ZIP also includes the HTML code snippet and a site.webmanifest file — everything you need to add favicons to your site.
Method 2: Command Line with ImageMagick
For developers who prefer the terminal, ImageMagick is the gold standard:
# Install ImageMagick
# macOS: brew install imagemagick
# Ubuntu: sudo apt install imagemagick
# Windows: choco install imagemagick
# Convert PNG to ICO (single size)
magick convert input.png -resize 32x32 favicon.ico
# Favicon.ico: 16, 32 and 48
magick convert input.png -define icon:auto-resize=16,32,48 favicon.ico
# Optional, for a Windows application icon rather than a site favicon
magick convert input.png -define icon:auto-resize=16,32,48,64,128,256 favicon.ico
The three-size file is the one to publish as /favicon.ico. The browser or Windows picks a layer. The six-size command is for a Windows application icon, where 256×256 is a large icon and not a browser-tab asset.
Method 3: Using FFmpeg
If you already have FFmpeg installed, this writes a single 32×32 image into the ICO. It does not pack 16 and 48 alongside it, so the browser converter or ImageMagick is the better way to make a multi-size favicon:
ffmpeg -i input.png -vf scale=32:32 favicon.ico
Method 4: Python Script
Using the Pillow library. The list below is the favicon set. Add 64, 128 and 256 only for a Windows application icon:
The recommended approach is to provide both formats:
<!-- ICO as fallback -->
<link rel="icon" type="image/x-icon" href="/favicon.ico">
<!-- PNG for modern browsers (crisper rendering) -->
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
Modern browsers will prefer the PNG. Older browsers and Windows shortcuts will use the ICO. You get the best of both worlds.
Tips for Best Results
Start with a square image — Non-square images will be stretched or cropped.
Use at least 512×512 as input — Scaling down produces better results than scaling up.
Keep it simple — At 16px, fine details disappear. Bold shapes and high contrast work best.
Use transparent backgrounds — Solid backgrounds look outdated in modern browser tabs.
Test at actual size — Zoom your icon down to 16×16 pixels and check readability.
PNG to ICO questions
What sizes should a PNG to ICO file include?
For a website favicon.ico, include 16×16, 32×32 and 48×48. The browser or Windows picks one of those layers. Add 64, 128 or 256 only when the file is a Windows application icon; those layers make a site favicon heavier than the tab needs. An ICO stores a separate bitmap for each size, which a single PNG cannot do. The rest of the set, including 180, 192 and 512, is in the favicon size guide.
Will a small PNG stay sharp at 256 px?
No. Start from a square PNG of at least 256×256 px, and 512×512 is safer. Each ICO size should be scaled down from that source. Enlarging a 16 px or 32 px PNG only produces a blurry large icon.
How do I convert PNG to ICO for free?
Open the Tools page, upload a square PNG, and use Download ICO. That file contains 16, 32 and 48 px. The format converter on the same page lets you check those sizes, and also 64, 128 and 256 if you need a Windows application icon. ImageMagick and Python on this page do the same packing from the command line.
Convierte PNG a ICO cuando necesitas un favicon.ico con varias capas, no un PNG renombrado. Un PNG es un solo bitmap. Un ICO es un contenedor: el navegador o Windows elige una capa. Las medidas de cada superficie están en la guía de tamaño de favicon.
Cómo convertir PNG a ICO
Parte de un PNG cuadrado. 256×256 basta para un favicon; 512×512 es mejor si también exportas los iconos del manifiesto. Reducir se mantiene nítido. Ampliar un archivo de 16 o 32 px, no.
Abre Herramientas. En Imagen a favicon, descargar ICO escribe 16×16, 32×32 y 48×48 en un solo favicon.ico. El ZIP añade los PNG que dejes marcados (16, 32, 180, 192 y 512 por defecto), el manifiesto y el HTML.
O usa el conversor de formato de esa misma página: elige ICO y deja marcados 16, 32 y 48. Marca 64, 128 o 256 solo si el archivo es un icono de aplicación de Windows.
Publica favicon.ico en la raíz y enlázalo desde la página de inicio.
Qué medidas incluir en el ICO
Para el favicon de una web, el archivo lleva estas tres capas:
16×16 — pestaña en una pantalla normal.
32×32 — pestaña en una pantalla de alta densidad.
48×48 — acceso directo de Windows.
64, 128 y 256 — solo para un icono de aplicación de Windows. Engordan el favicon.ico de un sitio sin mejorar la pestaña.
180×180, 192×192 y 512×512 se quedan como PNG aparte: son el apple-touch-icon y los iconos del manifiesto.
El formato ICO sigue siendo el respaldo que los navegadores piden en /favicon.ico aunque la página no tenga una etiqueta link.
Por qué ICO sigue siendo importante en 2026
Soporte universal en navegadores — ICO funciona en todos los navegadores, incluyendo versiones muy antiguas de IE.
Contenedor de múltiples tamaños — Un solo archivo ICO puede contener múltiples tamaños de imagen (16×16, 32×32, 48×48, 64×64, 128×128 y 256×256); el navegador elige el mejor.
Integración con Windows — Los accesos directos del escritorio de Windows y los pines de la barra de tareas utilizan el formato ICO.
Respaldo automático — Los navegadores buscan /favicon.ico en la raíz de cada sitio web por defecto.
La herramienta genera todos los tamaños de favicon (ICO, 16×16, 32×32, 180×180, 192×192, 512×512).
Descarga el paquete completo como un archivo ZIP.
Extra: El ZIP también incluye el fragmento de código HTML y un archivo site.webmanifest — todo lo que necesitas para añadir favicons a tu sitio.
Método 2: Línea de comandos con ImageMagick
Para los desarrolladores que prefieren la terminal, ImageMagick es el estándar de oro:
# Install ImageMagick
# macOS: brew install imagemagick
# Ubuntu: sudo apt install imagemagick
# Windows: choco install imagemagick
# Convert PNG to ICO (single size)
magick convert input.png -resize 32x32 favicon.ico
# Favicon.ico: 16, 32 y 48
magick convert input.png -define icon:auto-resize=16,32,48 favicon.ico
# Opcional: icono de aplicación de Windows, no el favicon de una web
magick convert input.png -define icon:auto-resize=16,32,48,64,128,256 favicon.ico
Para un sitio, publica el archivo de tres medidas como /favicon.ico. El de seis medidas es un icono de aplicación de Windows: 256×256 es un icono grande, no un recurso de la pestaña.
Método 3: Usando FFmpeg
Si ya tienes FFmpeg instalado:
ffmpeg -i input.png -vf scale=32:32 favicon.ico
Método 4: Script de Python
Con la librería Pillow. La lista es el conjunto del favicon. Añade 64, 128 y 256 solo para un icono de aplicación de Windows:
El enfoque recomendado es proporcionar ambos formatos:
<!-- ICO as fallback -->
<link rel="icon" type="image/x-icon" href="/favicon.ico">
<!-- PNG for modern browsers (crisper rendering) -->
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
Los navegadores modernos preferirán el PNG. Los navegadores más antiguos y los accesos directos de Windows usarán el ICO. Así obtendrás lo mejor de ambos mundos.
Consejos para obtener los mejores resultados
Empieza con una imagen cuadrada — Las imágenes no cuadradas se estirarán o recortarán.
Usa al menos 512×512 como entrada — Reducir el tamaño produce mejores resultados que aumentarlo.
Mantenlo simple — A 16px, los detalles finos desaparecen. Las formas audaces y el alto contraste funcionan mejor.
Usa fondos transparentes — Los fondos sólidos se ven anticuados en las pestañas de los navegadores modernos.
Prueba a tamaño real — Reduce tu icono a 16×16 píxeles y verifica la legibilidad.
ICO 형식은 웹 초기부터 표준 favicon 형식으로 사용되어 왔습니다. 최신 브라우저가 PNG favicon을 지원하지만, 최대 호환성을 위해서는 ICO가 여전히 필수적입니다. 여기서는 PNG를 ICO로 변환하는 다양한 방법을 소개합니다.
2026년에도 ICO가 여전히 중요한 이유
범용 브라우저 지원 — ICO는 매우 오래된 IE 버전을 포함하여 모든 브라우저에서 작동합니다.
다중 크기 컨테이너 — 단일 ICO 파일은 여러 이미지 크기(16×16, 32×32, 48×48, 64×64, 128×128, 256×256)를 포함할 수 있으며, 브라우저가 가장 적합한 것을 선택합니다.
Windows 통합 — Windows 바탕 화면 바로 가기 및 작업 표시줄 고정에는 ICO 형식이 사용됩니다.
자동 폴백 — 브라우저는 기본적으로 모든 웹사이트의 루트에서 /favicon.ico를 찾습니다.