Favicon Generator

Crop and scale a PNG or JPEG into 16x16, 32x32 and 192x192 PNG icons, in your browser.

Upload Image to Generate Favicons

Square images work best. Supports PNG, JPEG.

What this favicon generator makes

Give it a PNG or JPEG and it returns three PNG files: favicon-16x16.png, favicon-32x32.png and android-chrome-192x192.png. The image is cropped to a centered square first, so a wide banner loses its left and right edges, then scaled down with the browser's high-quality smoothing. Transparent areas of a PNG stay transparent. The work is done on a canvas in your browser: the file is read from your disk with the File API and never uploaded, and the analytics script in the site header records the page visit, not the image.

It does not make an .ico file, an SVG icon, the 180x180 apple-touch-icon that iOS home screens use, or a 512x512 manifest icon. If you need those, export them from your design tool at the exact size; the table below says which files are worth the effort. A square source of at least 192x192 pixels gives the best result, and a simple shape with few details survives the trip down to 16 pixels far better than a wordmark does.

Which favicon sizes browsers actually use

Browsers choose among several <link rel="icon"> tags using the sizes, type and media attributes, and fall back to the last one listed when they cannot decide, as the MDN page on link types describes. Declaring both the 16 and 32 pixel files lets each browser pick the sharper one for its tab. Search engines and mobile home screens add requirements of their own.

SizeWhere it is usedFrom this tool
16x16Browser tabs, the address bar and bookmark lists at standard resolutionYes
32x32Tabs and bookmarks on high-resolution displays, where 16x16 looks blurryYes
48x48 or largerGoogle Search results: the icon must be square and at least 8x8, and Google prefers larger than 48x48 (favicon guidelines)Use the 192x192 file
180x180iOS home screen, through <link rel="apple-touch-icon">; iOS ignores rel="icon" and sizesNo
192x192 and 512x512Android home screen and installed web apps, listed in the web app manifest (web.dev guide)192x192 only

Related tools: pick the exact brand color from your logo with the image color picker to use as the manifest theme_color, generate the rest of the head tags with the meta tag generator, and shrink the larger social preview image with the image compressor.

Frequently asked questions

What is the best size for a favicon?

There is no single size. Browser tabs use 16x16 and 32x32, iOS home screens want a 180x180 apple-touch-icon, Android and installed web apps read 192x192 and 512x512 from the manifest, and Google prefers larger than 48x48 for search results. Provide 16 and 32 at least, then add the larger PNGs for the platforms you care about.

Should I use a PNG or an ICO file?

PNG is enough for current browsers, which accept it through rel=icon with a sizes attribute. ICO still has two uses: one file can hold several sizes, and most browsers look for /favicon.ico in the site root when a page declares no icon at all. This tool outputs PNG only; if you also want an ICO, convert the 32x32 PNG in an image editor.

Are my uploaded images kept private?

The image is not uploaded. Your browser reads it, draws it on a canvas and scales it there, and the three PNG files are created in its memory. Our server never receives the image, and the analytics script in the site header records the visit, not the file. Keep the downloaded files, because we cannot regenerate them for you.