Favicons and app icons: every size you need
A website needs favicon.ico (16, 32, 48), a 180 px apple-touch-icon and 192/512 px icons for Android. An Android app needs ic_launcher from 48 to 192 px, and Google Play needs a 512×512 PNG. Keep the design simple with strong contrast.
Your icon is the smallest piece of your site's or app's identity, yet the most visible: in browser tabs, bookmarks, phone home screens, app stores and Google's mobile search results. A missing or blurry icon makes a project look unfinished. This guide explains which sizes you need and why, and how to design an icon that works at every size.
Website icons (favicons)
| File | Size | Where it appears |
|---|---|---|
| favicon.ico | 16, 32, 48 | Browser tabs, bookmarks, Windows |
| favicon-32x32.png | 32 | Modern browsers |
| apple-touch-icon.png | 180 | iPhone and iPad home screens |
| android-chrome-192 / 512 | 192, 512 | Android home screens and web apps |
favicon.ico is old but still useful: many programs request it directly from your site root (/favicon.ico) without reading your page's code. Google shows your icon next to your site name in mobile search results and recommends a square icon of 48 px or a multiple of it.
Android app icons
Android displays icons at different sizes depending on screen density, so an app needs one copy per density in its mipmap folders:
| Folder | Size |
|---|---|
| mipmap-mdpi | 48×48 |
| mipmap-hdpi | 72×72 |
| mipmap-xhdpi | 96×96 |
| mipmap-xxhdpi | 144×144 |
| mipmap-xxxhdpi | 192×192 |
Since Android 8 the system also uses adaptive icons: a foreground layer (your logo) and a background layer (a colour or pattern), which the phone masks into its own shape (circle, rounded square…). They're usually created in Android Studio's Image Asset tool. Leave enough padding around your logo because the edges can be cropped.
The Google Play listing icon must be a 512×512 PNG. Google Play applies the rounded corners and shadow itself, so don't add them to your design.
iOS icons
iOS apps need a 1024×1024 icon for the App Store plus smaller copies for the home screen, Settings and notifications (20 to 180 px). They must have no transparency — iOS fills transparent areas with black — and no rounded corners, which the system adds.
Designing an icon that works at 16 px
A 16×16 icon has just 256 pixels. So:
- No text: your full name won't be legible. Use the initial or the logo's symbol alone.
- Simple, bold shapes: thin lines disappear at small sizes.
- Strong contrast: tabs can be light or dark, so a solid coloured background guarantees visibility in both.
- One or two colours from your brand — extract them from your logo with Colour palette from image.
- Test: check the 16 and 32 px previews before you commit.
Creating every icon from one image
- Prepare a square logo at 512 px or more, ideally on a transparent background. If it's on white, remove it first with Remove background.
- Open the favicon & app icon generator and choose the logo.
- Choose background, shape and padding while watching the preview.
- Click “Generate icons” and download the ZIP.
Adding the icons to your site
Upload the files to your site root (the same place as your home page), then paste this inside <head> on every page:
<link rel="icon" href="/favicon.ico" sizes="any"> <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="manifest" href="/site.webmanifest">
On WordPress you can instead upload it under Appearance → Customize → Site Identity → Site Icon.
Why isn't my new icon showing?
- Browsers cache favicons for a long time: try a private window or open
/favicon.icodirectly. - Check that the paths in your code are correct and the files are really uploaded.
- Google can take days or weeks to update the icon in search results.