Skip to main content
Free tool

PWA icon generator & favicon generator: PNG, SVG

Build favicon files and PWA icons from PNG or SVG locally in your browser

  • Free
  • No account required

Generated variants

PNG, 16–512 px

Your logo will appear here

Add a file to preview seven sizes. Download only the ones you need.

Check whether your site serves the icon correctly.Verify the favicon, manifest and HTTP signals after publishing.
Run a quick site scan
About the tool

What makes up a modern favicon set?

A single root favicon.ico is no longer enough. You usually need several variants: multi-size PNG, Apple touch icon, Android icon, and a PWA manifest.json.

This generator builds the PNG icons from one source (PNG, or SVG rasterized to a bitmap, ideally 512×512+) and shows an HTML snippet for <head>.

Everything runs in the browser via the canvas API and nothing is uploaded. SVG is drawn to canvas first, then exported as PNG.

In practice

Design for the smallest icon

Review the logo at 16×16 before downloading larger variants. Small lettering and thin lines may disappear. If they do, use a simplified symbol instead of shrinking the full brand mark.

Step by step

How to make a favicon and PWA icons from a logo

You make a favicon from one square file that becomes a set of PNGs in several sizes, a maskable icon and a manifest. Five steps take you from a logo to icons on your server.

  1. Prepare a square source

    Take the logo as SVG, or as a PNG of at least 512 × 512 px, ideally on a transparent background. If the mark is horizontal, crop out the symbol, because the full wordmark will not fit in 16 px.

  2. Set the background and padding

    Drop the file into the generator, pick a background and move the padding slider. The browser tab preview shows the icon at its real size, so you see at once whether thin lines disappear.

  3. Download the PNG files and the maskable icon

    Download the variants from 16 to 512 px, including the 180 × 180 px apple-touch-icon, plus the 512 × 512 px maskable icon. The generator draws everything in your browser, and the logo file never reaches a server.

  4. Download the manifest and fill in the app details

    The manifest.json button downloads a file with the 192 and 512 px icons and the maskable icon. The file already sets start_url to the home page (web.dev describes the field as required). Enter your app name, and change start_url if the app should open at a different address.

  5. Upload the files and paste the code into the head

    Upload the PNGs and the manifest to the site root, copy the HTML and paste it into the head section. Then open each file URL in the browser and check that the server returns the image with status 200.

Examples

Examples of favicon and manifest code

The file names match the ones you download from the generator.

Favicon in the head, including for search
Before
<link rel="icon" href="/favicon.ico">
After
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32.png">
<link rel="icon" type="image/png" sizes="96x96" href="/favicon-96.png">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="manifest" href="/manifest.json">

Google recommends a favicon larger than 48 × 48 px, so it is worth listing the 96 px variant next to the 32 px one.

Icons in manifest.json
{
  "name": "App name",
  "short_name": "App",
  "start_url": "/",
  "icons": [
    { "src": "/favicon-192.png", "sizes": "192x192", "type": "image/png", "purpose": "any" },
    { "src": "/favicon-512.png", "sizes": "512x512", "type": "image/png", "purpose": "any" },
    { "src": "/maskable-icon-512.png", "sizes": "512x512", "type": "image/png", "purpose": "maskable" }
  ]
}

The maskable icon is a separate entry. web.dev advises against combining "any" and "maskable" in one entry, because the safe zone padding then shrinks the regular icon.

Safe zone of a 512 px maskable icon
safe zone radius: 40% × 512 px = 204.8 px
circle diameter: 409.6 px
square inside the circle: about 289.6 × 289.6 px

If your logo is square, fit it within about 290 px in the centre of the 512 px file, and it survives any mask shape.

Common mistakes

Common favicon mistakes

  • A full logo with lettering at 16 px

    At 16 × 16 px, lettering turns into a few gray pixels. For the favicon, use the symbol alone or the first letter of the brand.

  • A favicon blocked in robots.txt

    Google shows a favicon in results only when Googlebot-Image can fetch the file and Googlebot can fetch the home page. Blocking the images folder removes the icon from search.

  • Changing the favicon URL often

    Google asks for a stable file URL. A new version at a new address reaches results only after a recrawl, which Google says takes from several days to several weeks.

  • A transparent maskable icon

    Android crops a maskable icon to its own shape, and a transparent background then shows whatever sits behind it. That is why the generator always gives this icon a solid background.

  • Head code without the uploaded files

    The copied code references favicon-32.png, apple-touch-icon.png and manifest.json. If any of these is missing on the server, the browser gets a 404 and shows the default icon.

Numbers and sources

Requirements for favicons and PWA icons

ValueWhat it meansSource
8 × 8 pxMinimum size of a square favicon for Google Search. Google recommends a file larger than 48 × 48 px.Google Search Central, Favicon
1Number of favicons Google Search supports per hostname. A subdomain can have its own, a folder on the same domain cannot.Google Search Central, Favicon
192 and 512 pxIcon sizes Chromium requires in a web app manifest. The manifest also needs name or short_name, and start_url.web.dev, Add a web app manifest
40%Radius of the maskable icon safe zone relative to the icon width. The outer 10% near the edge may be cropped.web.dev, Maskable icons
/favicon.icoThe address a browser may try on its own when a page has no link with rel="icon".WHATWG, HTML, link type icon
180 × 180 pxiPhone icon size in Apple’s rel="apple-touch-icon" example. Without a link, iOS looks for apple-touch-icon.png in the site root.Apple, Configuring Web Applications

Sources checked:

Glossary

Key sizes

16×16favicon-16.png
Browser tab. Keep the mark simple.
32×32favicon-32.png
Standard HiDPI tab icon.
180×180apple-touch-icon.png
iOS home-screen icon. Available to download above.
512×512favicon-512.png
Large PWA icon referenced in manifest.json.
SEO module in Insight

File or code ready? Check the result on the live page

Icons ready? Explore the scope of an Insight SEO audit before your next site release.