Niche Formats

Logo to every size, with favicon

A client, a web host or an app store asks for “the logo at 16, 32, 192 and 512”: drop it once and take everything away in one archive.

What this conversion is for

One logo ends up in many places, each at its own size: the browser tab (tiny), the home screen icon of an installed web app (large), a profile picture, the header of an invoice. Redrawing every size by hand is slow and easy to get wrong. This tool scales your image, centers it in a square and builds the icon file that holds several sizes at once. Sizes are always in pixels; there is nothing to convert.

What is in the archive

Chromium-based browsers ask for at least one 192 × 192 and one 512 × 512 icon before they offer to install a web app. Both are in the default list. Apple devices use their own touch icon for a home screen shortcut, commonly 180 × 180 pixels; add that size to the list if your site needs it. Other platforms ask for other sizes, so type the ones you were given.

For a clean result

Start from the largest image you have. Shrinking works well, enlarging makes things blurry, and the tool warns you when your file is smaller than the biggest size requested. An SVG is ideal if it carries a size or a viewBox. Very detailed logos lose their legibility at 16 pixels, so look at the small size before you hand it over. Browser tabs can be dark or light, so check a transparent logo on both.

The image is processed by your browser and is not uploaded.

Formula used and sources

For each size t: the image is scaled by a factor of min(t ÷ width, t ÷ height) and centered in a t × t square.

ICO file: a 6-byte header, one 16-byte entry per image (the value 0 stands for 256 pixels), then the PNG images.

Other tools on this site