Favicon Generator

Favicon size—
Original dimensions—
Megapixels—

How Favicon Generator is calculated: Favicon = your image drawn onto a tiny square canvas (16, 32, 48, 64 or 256 px) and saved as PNG

What is a favicon generator?

A favicon is the tiny icon a browser shows next to a website's name — in the tab, in bookmarks, and in the address bar history. It is usually 16 by 16 or 32 by 32 pixels, so small you barely notice it, yet every professional website has one. A favicon generator turns any image into that tiny icon, at exactly the right size.

The icon matters more than its size suggests. In a row of twenty open tabs, the favicon is the only thing that tells your site apart from the rest. In bookmarks, it is what your eye finds first. A site without a favicon shows a blank page icon, which looks unfinished — visitors notice it even if they cannot say why the site feels less trustworthy.

This favicon generator works entirely in your browser. When you choose a file, it is read on your own device, shrunk onto a canvas at the size you chose, and offered back as a PNG download. Nothing is uploaded to any server, so your logo stays private, and the tool works even on a slow connection once the page has loaded.

How a favicon is made

Every digital image is a grid of pixels, and a favicon is a very small grid — 16 by 16 pixels is just 256 pixels in total. Making one means building that small grid from your original image: the browser draws your logo onto a canvas at the new size, sampling the colours of the original to decide what each tiny pixel should be. A 512 by 512 logo shrunk to 32 by 32 keeps its shape and colours, because each new pixel averages sixteen original pixels.

The output is a PNG file. PNG is the right format here because it supports transparency, so a logo with a transparent background stays transparent at favicon size instead of gaining a white box. Modern browsers accept PNG favicons directly — you link them with a simple line in your page, and the browser shows them in the tab and in bookmarks.

This tool does not make .ico files, the older Windows format. That is an honest limit: a PNG favicon works in every modern browser, including Chrome, Firefox, Safari, and Edge, which is what almost every visitor uses. If a very old system needs a .ico file, convert the 32 by 32 PNG with a dedicated icon tool — but for a normal website, the PNG is all you need.

Picking the right favicon size

The classic favicon is 16 by 16 pixels, the size shown in a browser tab. It is tiny — a logo with fine text becomes unreadable at that size, which is why the best favicons are simple shapes, a single letter, or a bold mark. If your logo has small words in it, crop to the mark alone before generating, or the text will turn into a blur.

The 32 by 32 size is shown in bookmarks and on some desktop shortcuts, and it holds a little more detail. The 48 and 64 sizes appear in Windows taskbar shortcuts and in some mobile bookmark screens. The 256 size is for high-resolution displays and for the large icons some browsers show on a new-tab page. Each size is the same image at a different scale, and the file size stays small — a 32 by 32 PNG is usually under 2 KB.

The 'all sizes' option generates all five — 16, 32, 48, 64, and 256 — with one download link per size, so you can link each one in your page and let the browser pick the best fit. That is the safest choice for a real website: the tab gets its 16-pixel icon, bookmarks get 32, and high-resolution screens get 256, with no extra work from you.

A worked example: a 512 by 512 logo becomes a favicon

Take a square logo, 512 by 512 pixels, about 0.3 megapixels. Its uncompressed size is 1,048,576 bytes at 4 bytes per pixel, which is 1.00 MB — the actual PNG file is far smaller, because PNG compresses the data, but the pixel count is what matters here. Choose the 32-pixel size. The tool draws the logo onto a 32 by 32 canvas, and the result is 1,024 pixels in total.

Each pixel of the favicon averages a 16 by 16 block of the original logo, so the colours stay true and the edges stay smooth. The downloaded file is a 32 by 32 PNG, usually 1 to 3 KB — small enough that it adds nothing noticeable to your page load. At 16 by 16 the same logo becomes just 256 pixels, and the file is often under 1 KB.

Now try the 'all sizes' option on the same logo. You get five downloads: 16 by 16, 32 by 32, 48 by 48, 64 by 64, and 256 by 256. The 256-pixel version holds 65,536 pixels and is the one to use where a large icon is shown. Link all five in your page, and every browser picks the size it needs. The whole set together is still only a few kilobytes.

Why every website needs a favicon

The biggest reason is recognition. A visitor with twenty tabs open finds your site by its icon, not by reading twenty tab titles. A site with a favicon is found in a second; a site without one is found by scanning titles, which is slower and more annoying. In bookmarks, the icon is what your eye locks onto first, so a favicon makes return visits easier too.

The second reason is trust. A blank page icon in the tab is a small sign that a site is unfinished or uncared for, and visitors read it that way even without thinking about it. A crisp favicon says the site is looked after. It costs nothing — the file is a few kilobytes — and it is one of the cheapest polish wins a site owner can get.

The third reason is branding. The favicon is your logo at its smallest, and it appears everywhere your site appears: tabs, bookmarks, history, mobile home screens. A consistent mark across all of them builds recognition over time. Our image resizer is handy alongside this if your logo needs to be square or a specific size before you generate the favicon.

Favicon generator vs image resizer: which do you need?

A favicon generator and a resizer both shrink images, but they solve different problems. A resizer changes any image to any size for general use — a blog photo, a product shot, a banner. A favicon generator shrinks a logo to one of the standard icon sizes and gives you a PNG ready to link as a favicon, with one download per size when you choose all sizes.

If you only need one small image, a resizer does the job — set the target to 32 by 32 and download. But the favicon generator is built for the real workflow: it offers the standard sizes, shows you each icon at a viewable scale so you can check it still reads well, and names the files favicon-32x32.png so you can drop them straight into your site.

One practical difference: favicons must be square. A wide rectangular logo shrunk to 32 by 32 becomes a thin strip that nobody can recognise. Crop the logo to a square first — the mark alone, not the full wordmark — and then generate. Our pixel converter helps if you are working out what size a logo is in pixels, and our image converter changes the format if your logo starts as a JPEG.

Common mistakes when making a favicon

The most common mistake is using a full logo with small text. At 16 by 16 pixels, a wordmark becomes a smear — the letters are one pixel tall and unreadable. Use the mark alone: a single letter, a symbol, or a simple shape. If your logo has no mark, a bold initial in your brand colour works better than a shrunken wordmark.

The second mistake is a non-square source. A wide logo forced into a square canvas gets squashed, and a tall logo gets stretched. Crop to a square before generating, or the icon will look wrong everywhere it appears. The third mistake is saving a photo as a favicon: photographs turn into mush at 16 pixels, because the detail they depend on is gone.

The fourth mistake is forgetting to link the favicon in the page. Generating the file is only half the job — the browser will not show it until the page links to it. And the fifth mistake is using a JPEG, which has no transparency: a JPEG favicon always has a white box behind it, which looks wrong on a dark tab bar. PNG is the right format, and this tool only makes PNGs.

How to use this favicon generator

First, choose an image with the file picker — ideally a square logo, or at least the mark from your logo cropped to a square. JPEG, PNG, and WebP files work; other formats are rejected with a clear message. As soon as the image loads, its real width and height fill in automatically above, and the favicon previews appear below with download buttons.

Next, pick a size. Choose 32 by 32 for a single general-purpose favicon, or 'all sizes' for the full set of five, which is the best choice for a real website. The results box updates live, showing the target size, the original dimensions, and the megapixel count, so you can check the numbers before downloading.

Finally, download the PNG files. Each size has its own download button, and the files are named favicon-16x16.png, favicon-32x32.png, and so on, so you can drop them straight into your site. Link them in your page and the browser shows them in tabs and bookmarks. Your image never leaves your device: the whole process runs in your browser, and closing the page deletes everything. The favicon is the small icon; the social preview is the big one — make a 1200 × 630 image with our OG image generator. Every image on your site deserves the same care — our image SEO checker reads a file's size, dimensions and format and suggests an alt text.

Frequently Asked Questions

16 by 16 pixels is the classic tab icon, and 32 by 32 is the most useful single size — it works in tabs and bookmarks. For a real website, generate all five sizes (16, 32, 48, 64, 256) and link each one, so every browser and screen picks the best fit.

No — it makes PNG favicons only. That is an honest limit, and for almost every website it does not matter: Chrome, Firefox, Safari, and Edge all accept PNG favicons directly. Only very old systems need the .ico format, and those are rare enough that a PNG is the right default.

Because fine detail disappears at 16 pixels. A full wordmark with small text becomes a smear at favicon size. Use the mark alone — a single letter, a symbol, or a simple shape — cropped to a square, and it will stay readable even at 16 by 16.

No. The file is read on your own device, shrunk onto a canvas in your browser at the size you chose, and offered back as a download. Nothing is sent to any server, so your logo stays private, and the tool works even on a slow connection once the page has loaded.

More free tools

More calculators and utilities from Sortrun — free, no sign-up.