Skip to main content
Faviqo

Guides · Updated 2026-12-04

Maskable icons explained: the safe zone and how to use it

Install a progressive web app on an Android phone and the icon on the home screen can look wrong: a small logo floating inside a white circle, or a logo with its edges cut off. Both are the same issue. Android shapes launcher icons with a mask, and your icon was not designed for it.

Maskable icons are the fix. They are icons drawn with the mask in mind, so the system can crop them to any shape without losing the important part. This guide explains how they work, how to design one, and how to declare it.

Why launchers mask icons

Different Android manufacturers use different icon shapes: circles, squares with rounded corners, squircles and teardrops. To make a home screen look consistent, the system takes each app icon and clips it to the shape the device uses. Native apps supply layered adaptive icons for this. Web apps do not have layers, so the browser needs a single image that can safely be clipped.

If you supply an ordinary icon, with a logo that fills the whole canvas, the system has two bad options. It can clip it and cut off the edges of your logo, or it can shrink it and place it on a plain background, producing the logo in a white circle effect.

What makes an icon maskable

A maskable icon is a full-bleed image: the background colour fills the entire square, to the edges, and the important content sits in a central region called the safe zone. Whatever shape the system cuts, it always keeps the safe zone intact, and anything outside it may be cropped away.

The safe zone is a circle in the centre of the canvas whose diameter is 80 percent of the icon's width. For a 512 pixel icon, keep the logo inside a circle about 410 pixels across, centred. The remaining outer ring is expendable background.

How to design one

Follow a short set of rules and the result will look right on any device.

  • Fill the whole square with a solid brand colour or a simple background. Do not leave transparent corners.
  • Place the logo in the centre, inside the 80 percent circle, and keep text and fine detail well within it.
  • Make the logo large enough to be recognisable, since it will be cropped and displayed small.
  • Use one colour for the background so that any crop looks deliberate.
  • Test it with a maskable preview tool, trying circle, rounded square and squircle shapes.

Declaring maskable icons in the manifest

In the web app manifest, each icon has a purpose field. The value maskable tells the browser that the image is designed for masking. The value any, which is the default, means it is an ordinary icon to be used as is.

Best practice is to supply both. Use a regular icon with any purpose for places that show icons unmasked, such as the install dialog and task switchers, and a maskable one for launchers. Keep them as separate files, because a maskable image looks oversized when used unmasked.

{
  "icons": [
    { "src": "/icon-192.png", "sizes": "192x192", "type": "image/png", "purpose": "any" },
    { "src": "/icon-512.png", "sizes": "512x512", "type": "image/png", "purpose": "any" },
    { "src": "/maskable-192.png", "sizes": "192x192", "type": "image/png", "purpose": "maskable" },
    { "src": "/maskable-512.png", "sizes": "512x512", "type": "image/png", "purpose": "maskable" }
  ]
}

A common mistake: any maskable

You may see tutorials that set purpose to the string any maskable, using one file for both jobs. It works, but it forces a compromise: the icon must be safe under a mask, so it looks too small and padded where it is shown unmasked. Separate files give a better result for the cost of one extra image.

Checking your work

Chrome's developer tools have an Application panel that lists the manifest and its icons, and warns if an icon is missing or wrongly sized. Maskable preview tools let you drop the image on top of the common mask shapes and see what is cropped. Faviqo's checker also draws the safe zone over an icon you upload, so you can see whether your logo sits inside it.

If the logo touches the edge of the circle in the preview, shrink it. It is much better to look slightly small than to have a letter cut off on a customer's phone.

Was this guide helpful?

Questions

What is the maskable icon safe zone?

A centred circle whose diameter is 80 percent of the image width. Keep the logo inside it, because the outer area may be cropped.

Do I need maskable icons?

Only for installable web apps on Android. They prevent cropped logos and the logo in a white circle effect. A regular website does not need them.

Can one image be both any and maskable?

It can, with purpose set to any maskable, but it will look padded where shown unmasked. Two separate files give a better result.

Try it

More guides