What it does
A website shows its icon in browser tabs, bookmarks and on a phone’s home screen, and each place asks for its own file and size. This tool takes one logo and makes all six files in one go, so you don’t have to resize and convert the logo by hand. The icons are square, so you choose how a logo of another shape becomes one: Crop to square, the default, cuts the largest centred square from the logo, and Fit in square keeps the whole logo and centres it in a square as wide as its longer side. The card shows the logo’s format and size in pixels and says that it made 6 files from 16 to 512 px, so you can see that a 1,024 × 1,024 px PNG logo became the whole set. The logo is drawn once at 512 px, and every smaller size is made from that drawing. With Crop to square, a logo whose shorter side is under 512 px is enlarged to it, and with Fit in square, so is one whose longer side is under 512 px. The card then says “enlarged from” the size of the part that was drawn: an enlarged logo has no new detail, so a larger original gives sharper icons.
The six files
favicon.icoholds three images, at 16, 32 and 48 px. The 16 and 32 px images are the same PNGs as the separate files of those sizes.favicon-16x16.pngandfavicon-32x32.pngare the small PNG icons for browser tabs.apple-touch-icon.pngis 180 px, for the home screen of an iPhone or iPad. It is always saved on a white background, because Apple devices fill a transparent icon with black.android-chrome-192x192.pngandandroid-chrome-512x512.pngare the 192 px and 512 px icons for Android and installed web apps.
The HTML to paste
Upload the six files to the top folder of your site, then paste these lines between the <head> and </head> tags of your pages:
<link rel="icon" href="/favicon.ico" sizes="16x16 32x32 48x48">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="192x192" href="/android-chrome-192x192.png">
<link rel="icon" type="image/png" sizes="512x512" href="/android-chrome-512x512.png">
If you keep the files in another folder, change the start of each href to match.
How to use it
- Drop your logo on the box, paste it, or select Choose files. Select “Try a sample” to see an example logo made into the whole set.
- Choose a Shape and a Background. The icons are made at once, and again when you change a choice.
- Select Download on the card, or Download all, to save the six files together in one ZIP file.
- Press Ctrl+Enter (⌘+Enter on a Mac) to run again, or Esc to stop.
Good to know
- The logo can be up to 50 MB and 50 megapixels, and you add one logo at a time.
- The tool reads JPG, PNG, WebP, AVIF, GIF and BMP still images. SVG, animated images and HEIC photos aren’t supported yet.
- Every icon is a PNG, which keeps every pixel it draws, and favicon.ico holds PNG images.
- A square logo with some space around it works best, because icons are shown very small.
- The names of the six files are fixed, so the HTML above always matches them.
- The logo is drawn as it looks when you open it, so a picture taken sideways on a phone is turned upright first.
Privacy
Your logo is processed on your device: the tool runs in your browser and doesn’t upload it. The icons are made from the pixels alone, so camera details and location data from the original are always removed.