Drop an image here, or click to choose one
PNG, JPEG or WebP, up to 5 MB. A square logo of at least 512 × 512 px works best.
Your image
Generated icons
Everything is processed in your browser — your image is never uploaded. SVG is not supported: SVG files can carry scripts and outside references, so convert yours to PNG first. JPEG has no transparency, so a JPEG logo gets the background colour you pick.
What is the Favicon Generator?
The Favicon Generator is a free online tool that turns your logo into favicon files — the small icons that appear in browser tabs, bookmarks, phone home screens and search results. Upload an image and it generates six PNG sizes (16, 32, 48, 180, 192 and 512 pixels) plus a favicon.ico, and gives you the HTML code to install them. It is made for anyone launching or updating a website: a blogger, a small business, a student finishing a first site — anyone whose pages still show the browser’s default blank icon.
A favicon is small, but it does real work. In a browser tab it is the only visual mark your page has, and readers use it to find your tab among twenty others. On a phone home screen it is your site’s app icon. In bookmarks and history it is what makes your pages recognisable at a glance. A site without one looks unfinished.
Everything is processed in your browser — your image is never uploaded anywhere. There is no sign-up, and nothing leaves your device.
How to use the Favicon Generator
- Drop an image or click to choose one. Drag a PNG, JPEG or WebP image onto the drop zone, or click it to pick a file. The limit is 5 MB. A square logo of at least 512 × 512 pixels works best, because the largest icon is 512 pixels and smaller images get stretched.
- Choose Fit or Crop. “Fit whole image (letterboxed)” shrinks your whole logo into the square, with empty space around it — the right choice for a wide or tall logo you do not want to cut. “Crop to square (fills the icon)” cuts the image to a square and fills the icon completely — the right choice for a logo that is already roughly square.
- Set the background colour (fit mode). When the image is letterboxed, the empty space needs a colour. The default is white (
#ffffff). Pick a colour that matches your site — or tick “Transparent background” to leave the space see-through instead. - Look at the generated icons. The tool shows all six sizes: 16 × 16 and 32 × 32 for browser tabs, 48 × 48 for larger displays, 180 × 180 as the Apple touch icon for iPhones and iPads, and 192 × 192 and 512 × 512 for Android home screens.
- Download all as a zip. Click “Download all (.zip)” and you get every PNG plus the
favicon.icoin one file. - Copy the install code. The “Add this to your HTML head” box gives you the
<link>tags for every icon. Click “Copy code”, paste them into the<head>of your pages, and upload the icon files to your site. - Start over if needed. “Choose a different image” lets you pick another logo without reloading the page.
Worked example
Take a square logo saved as logo.png, 512 × 512 pixels. Drop it on the tool, leave the fit on “Crop to square” (the logo is already square, so nothing is cut), and click “Download all (.zip)”. The zip contains favicon-16x16.png, favicon-32x32.png, favicon-48x48.png, apple-touch-icon.png, android-chrome-192x192.png, android-chrome-512x512.png and favicon.ico. The install code looks like this:
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="48x48" href="/favicon-48x48.png">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="192x192" href="/android-chrome-192x192.png">
<link rel="icon" type="image/png" sizes="512x512" href="/android-chrome-512x512.png">
<link rel="shortcut icon" href="/favicon.ico">
Upload the files to the root of your site, paste those lines into the <head> of your pages, and every browser and device picks the size it needs. Try it with your own logo — and if your logo is a wide rectangle, switch to “Fit whole image” and pick a background colour that matches your site.
Where a favicon generator actually helps
Launching a new website. A favicon is one of the last things a new site needs, and one of the first things a visitor notices is missing. Generating the full set takes a minute here, and the install code tells you exactly where each file goes — no guessing which sizes you need.
Rebranding or updating a logo. When a logo changes, every icon has to change with it — the tab icon, the touch icon, the Android icons. Upload the new logo once and the tool rebuilds the whole set, so no size is left showing the old mark.
Making a site recognisable. Readers keep dozens of tabs open and find the one they want by its icon. A clear, simple favicon — your mark, in your colours — is what they look for. A site with the browser’s default icon is invisible in a row of tabs.
Tips for better favicons
- Start with a square logo of at least 512 × 512 pixels. The largest icon is 512 pixels, and the tool cannot add detail that is not in your image. A small logo stretched to 512 pixels comes out blurry; a large one shrunk down stays sharp.
- Keep the design simple. A favicon is 16 pixels across in a browser tab — fine detail, small text and thin lines disappear at that size. A bold mark, a single letter, or a simple shape reads far better than a detailed logo. If your logo is complex, use a simplified version for the favicon.
- Check the 16-pixel icon. It is the one readers actually see most, in tabs and bookmarks. Look at it in the tool’s grid before you download: if you cannot tell what it is at 16 pixels, simplify the design or crop tighter.
- Mind the background. A logo with a white background on a white tab looks like a floating mark; a transparent background shows the tab colour through. For a letterboxed logo, pick a background colour that matches your site’s header, or tick “Transparent background” if your logo has transparency.
- Remember JPEG has no transparency. If your logo is a JPEG, there is no transparent area to keep — the tool fills the background with the colour you pick. For a logo that needs transparency, convert it to PNG first. The same goes for SVG: the tool does not accept SVG files, because they can carry scripts and outside references — convert yours to PNG first.
Frequently asked questions
What sizes do I actually need?
All of them, and the tool gives you the full set: 16 and 32 pixels for browser tabs, 48 for larger displays, 180 for the Apple touch icon on iPhones and iPads, and 192 and 512 for Android home screens. The favicon.ico file holds the 16, 32 and 48 sizes together for older browsers. Different devices ask for different sizes, so generating them all once is the safe option.
Should I choose Fit or Crop?
Fit shrinks your whole logo into the square and fills the leftover space with a background colour — use it when your logo is wide or tall and you do not want to cut any of it off. Crop cuts the image to a square and fills the icon completely — use it when the logo is already roughly square, or when the important part is in the middle and the edges can go. If your logo is a wide wordmark, Fit is almost always the better choice.
Why is my favicon not showing after I install it?
Browsers cache favicons aggressively — your browser may be showing the old one (or none) from its cache. Hard-refresh the page (Ctrl+F5 on Windows, Cmd+Shift+R on Mac), or open the page in a private window. Also check that the files are actually uploaded to the paths in the install code, and that the <link> tags are inside the <head>.
Does my image get uploaded to a server?
No. Everything is processed in your browser — the image is read locally, the icons are drawn on a canvas in the page, and the zip is built on your device. Your logo never leaves your computer, which is why the tool can be used without an account.
Can I use an SVG logo?
Not directly. The tool accepts PNG, JPEG and WebP only. SVG files can carry scripts and outside references, so the tool refuses them for safety. Convert your SVG to a PNG first — any image editor or online converter can do it — and make sure it is at least 512 × 512 pixels.
Conclusion
A favicon is the smallest image on your site and one of the most-seen: in every tab, every bookmark and every home screen. The Favicon Generator above turns your logo into the full set — six PNG sizes, a favicon.ico, and the install code — in about a minute, without your image ever leaving your browser. Try it with your logo, then use the HTML Boilerplate Generator to start the page that will carry it.
