OfflaneAI

Favicon generator —
every size and format in one ZIP

Drop a logo or square image, pick a background, padding and corner radius, download a ZIP with all icons, site.webmanifest and a ready-to-paste HTML snippet.

  • 🔖 favicon.ico + PNG 16–512 px
  • 🍎 Apple touch · Android icons
  • 📄 Web manifest + HTML snippet
  • 🔒 Nothing is uploaded

Loading the tool… (JavaScript required)

Which files does a modern website need?

favicon.ico (for old browsers and bookmarks), favicon-32x32.png and favicon-16x16.png, apple-touch-icon.png (180 px, for iPhone home screens), android-chrome-192x192.png and android-chrome-512x512.png (for Android and PWAs) and a site.webmanifest that references them. The ZIP contains all of them plus the <link> tags.

What image should I start with?

A square PNG with a transparent background, at least 512×512, with a simple shape — fine detail disappears at 16 px. Use the padding and background options to add a coloured tile behind a logo that is too thin.

Where do I put the files?

Upload them to the root of your site (same folder as index.html) and paste the HTML snippet from README.html into the <head>. WordPress, Shopify and Wix also accept the 512 px PNG in their site-icon settings.

How to make a favicon set

  1. Add your logo. Drop a PNG, JPG or WebP file on the upload area or click it to choose one. The file name and its size in pixels appear above the preview.
  2. Check the preview. The icon is drawn at 16, 32, 64 and 180 px. The two smallest are shown at their real size without smoothing, the way a browser tab displays them.
  3. Choose the background. “Transparent” keeps the logo as it is. “Solid colour” puts a tile behind it and opens the “Background color” picker.
  4. Set “Padding” and “Rounded corners”. Padding (0–30%) shrinks the logo inside the icon. Rounded corners (0–50%) round the tile and are available only with a solid colour.
  5. Type the app name. “App name (for the manifest)” is the name a phone shows under the icon when someone installs your site.
  6. Press “Download favicon package (ZIP)”. You get favicon-package.zip with 16 files.

What is inside the ZIP

FilePixel sizeWho uses it
favicon.ico16, 32 and 48 in one fileBrowser tabs, bookmarks, and anything that requests /favicon.ico by default
apple-touch-icon.png180iPhone and iPad home screen
android-chrome-192x192.png192Android home screen, through the manifest
android-chrome-512x512.png512Install dialog and splash screen of a web app, through the manifest
favicon-16x16.png to favicon-512x512.png16, 32, 48, 64, 96, 128, 180, 192, 256, 512Spare sizes for CMS site-icon fields, app stores, documentation
site.webmanifest—Tells Android and Chrome the app name, icons and colours
README.html—The HTML snippet, to open in a browser and copy

Every size is drawn from your original image, not from a neighbouring size, so the 16 px icon is as sharp as the source allows.

The ICO file

favicon.ico holds three layers, 16, 32 and 48 px, each stored as a 32-bit PNG with transparency. Windows Vista and later and all current browsers read this form. Windows XP and some old icon editors do not.

The web manifest

The manifest lists the 192 and 512 px icons, sets display to standalone, and writes your app name into both name and short_name. theme_color and background_color take the tile colour, or white when the background is transparent. Open the file in a text editor to shorten short_name or change a colour; it is plain JSON.

Background, padding and corners

Transparent or solid colour

A transparent icon shows only the logo. That looks clean in a browser tab, with two risks: a dark logo disappears on a dark tab bar, and iOS fills transparent areas of a home-screen icon with black. A solid tile avoids both.

Padding

Padding is the total share of the icon left empty. At 20% the logo fits inside a box that is 80% of the icon, with 10% free on each side. Use 0% for a logo that is already a full square, and 10–20% for a symbol on a coloured tile.

A logo that is not square is scaled to fit and centred. It is never cropped or stretched, so a wide wordmark becomes a thin strip. Cut it down to the symbol with the crop tool first.

Rounded corners

The value is the corner radius as a share of the icon size; 50% turns the tile into a circle. Rounding applies to the colour tile only. The logo itself is not clipped, so an opaque square image with 0% padding still covers the corners. Rounding works as expected with a transparent-background logo on a tile.

Settings by target

TargetBackgroundPaddingRounded corners
Browser tab onlyTransparent0%—
Tab icon that works on light and dark themesSolid colour10–15%15–25%
iPhone home screenSolid colour10–20%0%, iOS rounds the icon itself
Android and installable web appSolid colour10–20%0%
Round badge lookSolid colour20–30%50%

All files in one ZIP share the same settings. For a transparent tab icon and a solid home-screen icon, generate twice and combine: take favicon.ico from the transparent run and the Apple and Android files from the solid one.

Installing the icons on your site

Copy the files to the root of the site and add these lines to the head of every page. The same text is in README.html and under the download button.

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

The icon.svg line

The ZIP does not contain icon.svg. Delete that line, or add your own vector logo under that name. If you only have a bitmap, the image to SVG converter can trace it.

Paths

The snippet and the manifest point to the site root (/favicon.ico, /android-chrome-192x192.png). If the icons live in a subfolder, change the paths in both places.

Frameworks and site builders

  • Vite, Astro, Create React App and similar. Put the files in the public folder; they are served from the root.
  • Next.js App Router. Place favicon.ico in the app folder. The framework also picks up icon.png and apple-icon.png there, so rename the 512 px and 180 px files accordingly.

Seeing the new icon

Browsers keep favicons in a separate cache for a long time. After replacing the files, open /favicon.ico directly and reload it, or add a version to the link, for example href="/favicon.ico?v=2".

Preparing the source image

  • Square and at least 512 × 512 px. Smaller images are enlarged without complaint and the 512 px icon turns soft. Enlarge a small logo with the AI image upscaler before loading it.
  • Transparent background. A logo saved on white keeps its white box inside the tile. Remove it with the background remover.
  • Judge by the 16 px preview. If the shape is unreadable there, use only the symbol or the first letter of the name.
  • Match the tile to the brand. Read the exact HEX code of your logo colour with the colour palette tool and enter it in the background picker.

Limits worth knowing

  • Website icons, not Windows application icons. The ICO stops at 48 px. A desktop program icon normally also carries a 256 px layer.
  • No maskable icon. The manifest does not declare a maskable variant, so an Android launcher may place the icon inside its own shape instead of letting it fill the shape.
  • No separate dark-mode icon. One image serves both themes.
  • One source, one design. You cannot give the 16 px icon a simpler drawing than the 512 px one. Run the tool twice with two sources and merge the files if you need that.

How it runs

Each icon is drawn on a canvas in the page, the ICO is assembled byte by byte in JavaScript, and the ZIP is packed in the browser as well. There is no model to download and no server step, so an unreleased logo stays on your computer.

Troubleshooting

Nothing happens when I drop an SVG

Chrome and other Chromium browsers cannot decode an SVG file for this tool, and the page stays on the upload area. Export the logo as a PNG of 512 × 512 px or larger and drop that.

The rounded corners are not visible

The background is set to “Transparent”, where the slider is disabled, or the image is an opaque square that covers the tile. Use a logo with a transparent background, or add padding.

The icon has black corners on an iPhone

iOS paints transparent pixels black. Use “Solid colour” and set “Rounded corners” to 0%.

The old icon is still showing

That is the favicon cache. Reload /favicon.ico directly or add ?v=2 to the link.

The browser console reports a missing icon.svg

The snippet line for icon.svg was left in without the file. Remove the line or upload the SVG.