What icon sizes does a website need?

Your website's logo turns up in three places: browser tabs, phone Home Screens and installed web apps. Each one wants its own square icon, and the smallest is only 16 px across.

Here's which sizes go where, and how to make a set that still reads at tab size.

Which icon sizes go with each place?

Think of the same logo printed on a business card and on a storefront sign. It's one design, but each copy is made for the space it gets. Website icons work the same way: a browser tab gives your logo a speck of room, while a Home Screen tile or an installed web app shows it much larger.

Here's the set FluffyBench's favicon and app icon generator made from one logo, sorted by where each file goes.

Generated icons sorted by destination: 16 px, 32 px and 48 px PNGs for a browser tab, a 180 px Apple touch icon for the iPhone and iPad Home Screen, with Apple's archived examples adding 152 px and 167 px for iPads, and 192 px and 512 px icons for an installed web app.

Where each website icon goes

Three places, six picture sizes, one design. The rest of this guide takes them one at a time, smallest first. How we reviewed

Here's the same part of a 512 px app icon made from a small logo and from a full-size logo, both shown at 100%.

Sheep's face in the 512 px app icon made from a 128 px source: soft edges around the eye and face.

From a 128 px logo

Sheep's face in the 512 px app icon made from a 512 px source: crisp edges around the eye and face.

From a 512 px logo

Start from a square logo at least 512 px across, because a smaller one gets enlarged for the big icons and looks soft.

Which files belong in a browser tab?

A browser tab has the least room of all, so it gets the smallest files: PNGs at 16 px, 32 px and 48 px. With several sizes on offer, the browser can choose the one that fits the screen best.

Detail is the first thing to go at tab size. Here's the source logo beside its tab icons, at real size and enlarged so you can see each pixel.

The 512 px FluffyBench source logo, the 16 px icon in a browser tab at real size, and the 16 px, 32 px and 48 px tab icons enlarged with square pixels.

Tab icons up close

If your logo stops reading at 16 px, a simpler mark will serve the tab better than a smaller copy of the whole logo.

Many sites also keep a favicon.ico at their root, for pages without an explicit icon link. One ICO file can hold several sizes; the generator's holds the same three. Our guide to image containers explains how one file holds several sizes.

Only need a favicon.ico?

FluffyBench's ICO converter

It turns an image you already have into one ICO file with several sizes inside.

Which Apple touch icon sizes should you use?

When someone saves your site to an iPhone or iPad Home Screen, the tile shows the Apple touch icon. Apple's archived web guidance gives 180 px for its iPhone example and 152 px and 167 px for iPad examples. Treat those as examples, not a list you must fill: FluffyBench's generator makes one 180 px file.

Give the touch icon its own solid background and square corners, and let iOS do the rounding.

The 180 px apple-touch-icon.png, a square with a solid background and square corners, beside an illustrated Home Screen where the same image appears with rounded corners.

The Apple touch icon file and its Home Screen tile

iOS may fill transparent areas with a color you didn't pick, so a solid background keeps the tile looking the way you designed it.

Which icons go in a web app manifest?

Some sites can be installed like an app, from the browser's menu. The installed app reads its icons from a web app manifest: a small text file that lists the icons along with details such as the app's name and start page. FluffyBench's generator lists two icons in its manifest, at 192 px and 512 px.

Each entry in the manifest names one image file and its size.

The generated site.webmanifest lists android-chrome-192x192.png at 192 px and android-chrome-512x512.png at 512 px, each with type image/png and purpose any.

The manifest's icon list and its files

The purpose value "any" marks an ordinary icon, not one prepared for cropping.

Icons alone don't make a site installable: the manifest needs those other details too, and the site has to be served correctly. The generator's manifest holds only the icon list, so add your app's name and start page, or copy the list into the manifest you already have.

What is a maskable icon?

Some platforms crop app icons into a circle or a rounded square, like a cookie cutter pressed over the artwork. An icon marked maskable in the manifest is one that's allowed to be cropped that way. FluffyBench's generator doesn't mark its icons maskable, so a maskable icon is an extra file you'd prepare yourself.

If you do make one, keep everything important inside the centered safe circle, whose radius is 40% of the icon's width.

A maskable icon fills its whole square with background. A dashed circle centered in the icon, with a radius of 40 percent of the icon width, marks the safe zone. Cropping to a circle or a rounded square removes the corners but leaves the safe zone whole.

The maskable icon safe zone

Fill the whole square with background: the corners may be cut off, and a platform may fill transparent pixels with its own color.

What if your logo isn't square?

Every one of these icons is square, but plenty of logos are wide wordmarks. FluffyBench's favicon and app icon generator never stretches or crops: it fits the whole picture inside the square, centers it and leaves transparent space around it.

Here's one wide logo fitted into a square three ways, each also shown at tab size.

An illustration: a wide logo made of the FluffyBench sheep and a wordmark, fitted into a square three ways. Stretched, its proportions change. Kept whole and centered, its text gets tiny. Cut down to the compact sheep mark, it still reads at 32 pixels.

One wide logo, three ways

Rendered for this guide. If your logo has a compact mark, give the generator that instead of the full wordmark.

If the space around a centered logo is transparent, check how it looks against the surface where the icon will sit; our guide to transparent image edges explains what can change.

Making your icon set in FluffyBench

FluffyBench's favicon and app icon generator makes all nine files from one image, on your device: favicon.ico, three tab PNGs, the Apple touch icon, two web app icons, the manifest and the tags for your page.

Here's the whole job in five steps, from choosing your logo to copying the tags for your page.

  1. The empty icon workspace with its Choose image button.
    The empty icon workspace with its Choose image button.
    Step 1. Choose a square logo at least 512 px across so the largest app icon isn't an enlargement. The nine files are made on your device as soon as it's added.
    1. Choose image opens your file picker.
  2. Apple icon background set to White.
    Apple icon background set to White.
    Step 2. Apple icon background fills see-through areas of the Apple touch icon with White, its one choice. The other icons keep their transparency.
    1. Leave Apple icon background on White.
  3. How it looks: the tab icon in a browser tab and the Home Screen icon.
    How it looks: the tab icon in a browser tab and the Home Screen icon.
    Step 3. Check How it looks. If the tab icon is hard to recognize, start again from a simpler mark.
    1. Can you still recognize the tab icon?
    2. Does the Home Screen icon look right?
  4. The Download all 9 (ZIP) button above the finished icon set.
    The Download all 9 (ZIP) button above the finished icon set.
    Step 4. Download all 9 (ZIP) saves every icon, the manifest and the tags in one file.
    1. Download the whole set as a ZIP.
  5. The generated link tags with their Copy button.
    The generated link tags with their Copy button.
    Step 5. Copy takes the link tags, not the pictures. They go in your page's <head>, as the next section shows.
    1. Copy the tags for your page.
    2. Each tag names one file from the set.

Ready to make your own icon set?

FluffyBench's favicon and app icon generator

Open the generator to make the files and tags shown above from your own logo.

Your page points to each file with a link tag in its <head>, the part of the page visitors don't see. Think of each tag as an address on an envelope: if the file isn't where the address says, the browser can't find it.

Here's where each copied tag points, and the three steps to put the set online.

Link tags in the page's head point to the files: rel icon to favicon.ico and the three tab PNGs, rel apple-touch-icon to apple-touch-icon.png, and rel manifest to site.webmanifest, which lists the two app icons. Then three steps: upload the files to one folder, paste the tags with each href matching where its file lives, and open the page to check.

How a page's tags reach the icon files

The copied tags use plain file names, so they work when the files sit beside your page. Put them anywhere else and change each href to match.
Search FluffyBench