Settings

1. Your image

Drop a square image here, or open one PNG, JPEG, WebP or SVG. 512×512 or larger, or an SVG, looks best. Nothing is uploaded.

No image yet.

How it works

Why a whole set

“A favicon” is really a spread: the tiny tab icon, the iPhone home-screen icon, the Android and PWA icons in the manifest, and a maskable one drawn to be cropped to a circle. Miss the maskable one and Android clips your logo's corners; miss the manifest icons and an installed web app has no icon at all. ICONS renders them all from one image on your device and hands you the manifest and the HTML with them.

Questions people ask about ICONS

What sizes of favicon does a browser ask for?

The tab icon is drawn at 16 CSS pixels, which is 32 device pixels on a high-density screen, so a 16×16 and a 32×32 PNG cover the tab. An iPhone takes apple-touch-icon at 180×180 for the home screen. Android and installed web apps take their icons from the web app manifest, and Chrome looks for a 192×192 and a 512×512 there. With no icon declared at all, browsers ask for /favicon.ico at the site’s root.

This makes 16, 32 and 48 pixel favicons, the 180 pixel Apple icon, 192 and 512 pixel manifest icons and a 512 pixel maskable one.

What is a maskable icon?

An icon an Android launcher may crop to whatever shape it uses: a circle, a rounded square, a squircle. The manifest marks it with "purpose": "maskable", and only the safe zone, a centred circle whose radius is 40% of the icon’s width, is sure to survive the crop. The rest must be background, or the launcher cuts into the logo.

Here the maskable icon is filled with the maskable background colour and your image is fitted into the central 80% square. The corners of that square still fall outside the circle, so a logo that fills its own image to the edges can lose its corners. A source with a margin of its own is safest.

Does it make a favicon.ico?

No. The HTML it writes links /favicon.ico, because browsers that ignore the PNG links ask for it, but the zip holds only PNGs; a note in it says to make the .ico from favicon-32x32.png with an ICO tool. If you would rather not, delete that line from the HTML and browsers use the PNGs linked below it.

What is in the zip?

The seven PNGs (favicon-16x16.png, favicon-32x32.png, favicon-48x48.png, apple-touch-icon.png, icon-192.png, icon-512.png and icon-maskable-512.png), the manifest as site.webmanifest, the tags as head-snippet.html, and the note about favicon.ico.

The manifest and the tags point at the site’s root (/icon-192.png, /site.webmanifest), so put the files there, or change the paths if they live in a folder.

What if my image is not square?

It is scaled to fit inside the square without cropping and centred, with the leftover space left transparent; on the maskable icon that space is the background colour. A square source looks best. A raster image smaller than 512 pixels is scaled up for the larger icons and comes out soft, which is why an SVG or a 512×512 PNG gives the cleanest set.

What do the theme colour and maskable background do?

The theme colour is written twice: as theme_color in the manifest and as <meta name="theme-color"> in the HTML. Some mobile browsers tint their address bar with it, and an installed app uses it for its title bar. The maskable background fills behind the maskable icon and is also the manifest’s background_color, which Android shows on the splash screen while an installed app starts.

The app name becomes the manifest’s name and short_name; the manifest also sets "display": "standalone" and "start_url": "/", which you can change after pasting.

Which image formats can I use?

Any image your browser can open: PNG, JPEG, WebP and SVG all work. A PNG or SVG with a transparent background keeps it in the favicons; a JPEG has none, so its background becomes part of every icon. The resizing is done by the browser’s own canvas, and every size is shown before you save so you can see whether the small ones still read.

Doing this often? OBSCURA Vector draws the icon as vector artwork and exports each artboard as a PNG at any size, or as SVG. Everything is US$5 a month or US$48 a year.