Browser-based image tool · iOS, Android and PWA icons

App Icon Set Generator

One logo in; an Xcode AppIcon.appiconset with Contents.json, Android mipmap and adaptive icon files, and PWA icons with a manifest snippet out, packed in one ZIP. The resizing and zipping happen in this tab.

Source logo

One PNG, JPG or WEBP, best at 1024 × 1024 px or more. Up to 25.00 MB and 50 megapixels. EXIF rotation is applied.

Drop a logo here or click to choose

.png, .jpg, .jpeg, .webp

Fills transparent areas of the iOS icons (iOS icons must be opaque), the maskable PWA icon and the Android adaptive background, and pads a non-square logo.

Icon set

iOS, Android and PWA folders

Add a logo to make the app icon set.

Web app manifest icons

Paste this array into your manifest. It is also saved as pwa/manifest-icons.json in the ZIP.

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

App Icon Set Generator

Operator: Abdulla Al Fahad. How tools are built and checked

Shipping one app to three places means producing the same logo in dozens of pixel sizes, each with its own rules. Xcode wants an asset catalog folder with a Contents.json that names every file. Android wants density folders, plus a separate foreground layer for adaptive icons that survives being cut into a circle, a squircle or a teardrop. A web app manifest wants a 192 and a 512 icon and, if you care how it looks on Android home screens, a third one with extra margin. Exporting all of that by hand from a design tool is a long list of repeated steps.

This tool takes one logo and writes the whole set into a single ZIP with an ios, an android and a pwa folder. It also writes the text files that go with the images: Contents.json, the adaptive icon XML, the colour resource and a manifest icons snippet. You choose the background colour once, and that colour fills the places where a platform needs a solid backdrop. It is not a favicon tool; for favicon.ico and browser-tab icons use the favicon generator instead.

Key features

  • Complete AppIcon.appiconset with Contents.json and 18 opaque PNGs, including the 1024 px marketing icon
  • Android mipmap launcher icons from mdpi to xxxhdpi and a 512 px store icon
  • Adaptive icon foreground layers with safe-zone padding, the anydpi-v26 XML and a background colour resource
  • PWA 192 and 512 icons, a maskable 512 icon and a manifest icons snippet with your folder path
  • One background colour for iOS fill, maskable icon, adaptive background and padding of non-square logos
  • Non-square logos are padded with the background colour or cropped from the centre, as you choose
  • Warning when the source is under 1024 px, plus a preview grid in the page and in the ZIP

What goes in the iOS, Android and PWA folders

The source can be a PNG, JPG or WEBP. Its type is read from the file signature, a 25 MB file-size limit applies, and a source above 50 megapixels is turned away because one icon never needs that much detail. EXIF rotation is applied before anything is drawn, so a phone-camera photo is not saved sideways. A PNG with transparency is the best starting point: keep the logo on a transparent canvas and let the tool decide where a background is needed. The longest side you provide caps the real detail. A 512 px source can still produce a 1024 px App Store icon, but that file is an enlargement and the page warns when the square it uses is under 1024 px.

The iOS folder holds eight iPhone files, nine iPad files and the 1024 px marketing icon, 18 PNGs in all. They cover 20, 29, 40, 60, 76 and 83.5 point slots at the scales Xcode lists (for example 83.5 pt at 2x is 167 px, and 60 pt at 3x is 180 px). Every iOS file is filled with your background colour, so none has a transparent pixel; iOS icons must be opaque, and a transparent area would otherwise come out black or be flagged. Contents.json lists each file with its idiom, point size and scale, in the format Xcode reads from an AppIcon.appiconset folder.

The Android folder holds ic_launcher.png at 48, 72, 96, 144 and 192 px for mdpi to xxxhdpi, the legacy icon for older devices. It also holds ic_launcher_foreground.png at 108, 162, 216, 324 and 432 px, which is the adaptive icon layer (108 dp at each density). The logo on that layer is scaled to 66 of the 108 dp, the central area that Android's adaptive icon guidance describes as the safe zone, and the rest is transparent. mipmap-anydpi-v26/ic_launcher.xml joins that layer to a colour resource named ic_launcher_background, written to values/ic_launcher_background.xml with your colour. A 512 px play-store-icon-512.png is included for the store listing.

The pwa folder has icon-192.png, icon-512.png and icon-512-maskable.png, plus manifest-icons.json whose paths start with the folder you type on the page. The maskable icon fills the whole square with your colour and keeps the logo inside the central 70 percent, which leaves a margin for the shape a launcher or home screen may apply. How much a given device crops is its own decision, so check the result on a real one. A preview.png in the root shows five of the icons side by side, and a short README.txt says where each folder goes.

How it works

The file is checked for a PNG, JPEG or WEBP signature, its size is read from the header, and it is refused before decoding if it exceeds 25 MB or 50 megapixels. The browser then decodes it with EXIF orientation applied. The logo is placed on one square master canvas of at most 2048 px per side: padded with the background colour, cropped to the centre, or used as is when it is already square.

Each output is drawn from that master. Large reductions are done in halving steps instead of one jump, which keeps edges from going jagged when 1024 px shrinks to 20 px. iOS files and the maskable icon get a solid colour painted first. Adaptive foreground and maskable files are drawn into a smaller box inside the canvas, centred, using the 66/108 and 70 percent ratios described above. Android legacy and PWA icons keep any transparency that is in your logo.

Contents.json, the XML files and the manifest snippet are plain text generated from the same size table that drives the images, so the file names in Contents.json always match the PNGs. JSZip packs everything inside the tab and the browser saves the ZIP through a temporary object URL.

Typical uses

  • Preparing the first icon set for a new mobile app when the designer delivered a single 1024 px logo
  • Replacing the launcher icon of an existing Android project with an adaptive icon that survives round and squircle masks
  • Making installable icons for a progressive web app, including a maskable one for Android home screens
  • Refreshing a rebrand across an iOS app, an Android app and a web app from one source file
  • Producing placeholder icons for an internal build so testers do not see the default platform icon

Building one

  1. Choose your logo, ideally a square PNG of 1024 px or more with the artwork centred.
  2. If the image is not square, decide between padding with the background colour or cropping the centre.
  3. Set the background colour. Use your brand colour if the logo is light or transparent, or white for a dark logo.
  4. Check the preview: the App Store icon should look right with iOS corners, and the adaptive foreground should sit comfortably inside the coloured square.
  5. Type the folder your PWA icons will be served from, then copy the manifest snippet if you need it.
  6. Download the ZIP and copy each folder to its project: the appiconset into Assets.xcassets, the android folders into app/src/main/res, the pwa files next to your manifest.

Example

logo.png, 1024 × 1024, transparent background, background colour #1a73e8

logo.png: a white check mark centred on a transparent canvas, 1024 × 1024 px

logo-app-icons.zip (32 PNG files plus Contents.json, two XML files, manifest-icons.json, preview.png and README.txt)

ios/AppIcon.appiconset/icon-iphone-60@3x.png  180 × 180, opaque, blue behind the check mark
ios/AppIcon.appiconset/icon-ios-marketing-1024.png  1024 × 1024
ios/AppIcon.appiconset/Contents.json  18 entries
android/mipmap-xxxhdpi/ic_launcher.png  192 × 192
android/mipmap-xxxhdpi/ic_launcher_foreground.png  432 × 432, check mark inside the central 264 px
android/values/ic_launcher_background.xml  <color name="ic_launcher_background">#1a73e8</color>
pwa/icon-512.png  512 × 512
pwa/icon-512-maskable.png  512 × 512, blue fill, logo within the central 358 px

Tips for best results

  • Keep the key artwork within the central 60 percent of the source. Adaptive icons crop more than you expect, and a logo that touches the edge loses its corners.
  • Do not bake rounded corners into the source. iOS applies its own rounded mask to the opaque square, and Android launchers apply theirs.
  • If your logo is white or very light, set a darker background colour; a white logo on the default white fill disappears on iOS and in the maskable icon.
  • Export the logo at 1024 × 1024 or larger so no file is an upscale.
  • Choose "Pad with background" for a wide wordmark, then check the preview: the logo will be small inside the square, which is often a sign that it needs a simpler icon-only version.
  • Open the preview.png in the ZIP before committing the files; it shows the background colour and the iOS corner shape together.

Things to check before you rely on it

iOS icons are written opaque. If your logo has a drop shadow or glow on transparency, the glow is flattened onto the background colour, which can leave a halo edge. Bake the shadow onto the colour you will use, or drop it.

The adaptive foreground is scaled to 66 of 108 dp. A logo that already has its own margin will end up small. Crop the margin from the source before loading it.

The tool writes the sizes in common current asset catalogs. It does not read your project, so if Xcode or Android Studio asks for a size that is not listed (for example a watchOS or monochrome Android 13 themed icon), you will need to add it separately.

A JPG has no transparency, so a JPG source arrives with whatever background it already has, and the adaptive foreground will then show that rectangle on the background colour.

The manifest snippet only lists the three PWA icons. Fields such as name, start_url and theme_color are yours to add, and the maskable purpose should be confirmed in your own testing.

Requirements for stores and platforms change. Check the current Apple, Google and web app documentation before you submit; nothing here guarantees that a store will accept the files.

Common errors and how to fix them

"... is a GIF image" or "... is not an image file"
The file's signature does not match PNG, JPG or WEBP, whatever its extension says. Re-export the logo as a PNG from your design tool, or take a screenshot of it and save that.
The page quotes a megapixel count for your logo and says it is above the limit.
A 1024 px icon never needs that many pixels. Resize the logo to 2048 × 2048 or smaller in an image editor and load it again.
A yellow notice says the square used is below 1024 px.
The App Store icon and the larger Android layers will be enlarged copies. Re-export the logo at 1024 × 1024 or more from the original vector or design file.
The icon set will not build and the page asks for a background colour.
The colour box needs a hex value such as #1a73e8 or #fff. Pick one with the colour swatch or fix the typed value.

Best practices

  • Design the icon as a single bold shape on a plain field; fine detail disappears at 20 px.
  • Check the smallest sizes in the ZIP, 20 and 29 px, to see whether the logo is still recognisable.
  • Keep the source file and the chosen background colour with your project so the set can be regenerated after a small change.
  • Test the Android adaptive icon in at least a round and a squared launcher mask, and the PWA icon on a real device.

Why the foreground and the maskable icon are padded

An Android adaptive icon is drawn as two 108 dp layers that the launcher masks and can move slightly for effects. Android's guidance treats the middle 66 dp as the area to keep important artwork in, so artwork placed on the outer ring may be cut. This tool therefore shrinks your logo to 66/108 of the layer, which is about 61 percent of its width, and centres it on a transparent layer.

A maskable PWA icon follows the same idea for the web. The platform may apply a circle or other shape, so the logo is kept inside the central 70 percent and the colour fills the full square. The 70 percent figure is this tool's choice, a little more generous than a strict circular safe zone for a square logo; if your artwork reaches into its own corners, reduce it in the source.

What the background colour touches

One colour does several jobs. On iOS it replaces transparency in every file. In the maskable icon it fills the square behind the logo. In the Android resource file it becomes the adaptive background layer. When you pad a non-square logo, it also fills the bars. The legacy Android launcher icons and the plain PWA icons do not receive a fill, so their transparent areas stay transparent.

Frequently asked questions

Where are the icons made?

In the open tab: the browser decodes your logo, draws every size on canvases and JSZip packs the ZIP. No icon data is sent in a request, and the page keeps the images only in memory until you close or reload it. The site's analytics are separate from this process.

How is this different from the favicon generator?

The favicon generator makes favicon.ico, tab icons and one Apple touch icon for a website. This tool makes the asset catalog for an iOS app, the density folders and adaptive layers for an Android app, and the installable icons for a web app manifest.

Can I drag the appiconset straight into Xcode?

That is the intended use: put the AppIcon.appiconset folder inside your Assets.xcassets folder or drag it into the asset catalog. If the app icon set in your project has a different name, rename the folder to match the name in your build settings.

Why are the iOS icons not transparent?

iOS app icons must be opaque, and a transparent area would not display as you expect. The tool fills those pixels with the background colour so each file is a solid square.

Where does the Android ZIP content go?

Copy the mipmap folders and the values folder into app/src/main/res in your Android project. If your project already has a values/ic_launcher_background.xml, merge the colour entry instead of overwriting the file.