Esta página aún no está disponible en Español, así que estás leyendo la versión en inglés.

PWA icons and maskable icons: sizes, safe zone and iOS

Which sizes you really need, and why your logo gets cropped.

Manifiesto de la app web Inicial 2 min de lectura Revisada el 27 nov 2026

Icons are the part of a PWA people see most, and the part most often done wrong. Here is what you actually need.

The minimum

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

Plus, in your HTML:

<link rel="icon" href="/favicon.svg" type="image/svg+xml">
<link rel="icon" href="/favicon-32.png" sizes="32x32">
<link rel="apple-touch-icon" href="/apple-touch-icon.png">

Chrome needs at least a 192 px and a 512 px icon to offer installation. The browser scales them for everything else.

What "maskable" means

Android, ChromeOS and some launchers cut every app icon into the same shape: a circle, a squircle, a rounded square or a teardrop, depending on the device. A normal icon gets shrunk and placed on a white circle, which looks out of place.

A maskable icon is a full-bleed square with your logo kept inside a safe zone: a circle in the middle whose diameter is 80% of the icon's width. Anything outside that circle may be cropped.

  • Fill the whole square with your background colour. No transparency.
  • Keep the logo inside the central 80% (for a 512 px icon, a circle of 409 px).
  • Provide it as a separate icon with "purpose": "maskable". Avoid "purpose": "any maskable": the same image then gets used as a normal icon, where it looks too small or too padded.

Test yours with our maskable icon preview.

Monochrome icons

"purpose": "monochrome" is for a single-colour silhouette that the system can tint, for example in notification badges. Support is limited; it is optional.

iPhone and iPad

iOS uses the apple-touch-icon link, not the manifest icons, for the Home Screen in most versions. Make it 180 x 180, opaque (iOS fills transparency with black), with your logo slightly padded. iOS rounds the corners itself.

Favicons

A single SVG favicon covers modern browsers and can even switch colours for dark mode with a media query inside the SVG. Keep a 32 px PNG for older browsers and tools.

Generate them all

Use the icon generator on this site (it runs in your browser and makes a zip), or the open-source pwa-asset-generator in your build. Then paste the result into your manifest.

Checklist

  • 192 and 512 px PNGs, plus maskable versions.
  • An opaque 180 px apple-touch-icon.
  • An SVG favicon and a 32 px PNG.
  • The sizes value matches the real pixel size of each file.
  • Icons are served with long cache times and new file names when they change.