Favicon Generator

This favicon generator turns one picture into a favicon.ico holding 16, 32 and 48 px entries, a PNG for every size you tick (16, 32, 48, 180, 192 and 512 px), a favicon-package.zip and the HTML for your page head. The files are built inside your own browser, so the picture is never uploaded.

Drop files here or choose files
JPG, PNG, WebP, AVIF, GIF, TIFF, BMP, ICO, SVG, HEIC · one image up to 50 MB · built on your device
Fit mode

Crop to square trims both sides of the longer edge; fit with padding keeps the whole picture — as long as corners aren't rounded — and leaves space around it; stretch to square changes the proportions.

Icon backdrop
Rounded corners 0%

Corners are cut as a percentage of the icon's side, through the picture as well as the backdrop; what is cut away is transparent.

Export sizes

16, 32 and 48 are for browser tabs and bookmarks, 180 is the iPhone home-screen icon (apple-touch-icon.png), and 192 and 512 go into the manifest for Android and PWAs.

How to use

  1. Choose one picture: Drop a file onto the box or click to pick it. JPG, PNG, WebP, AVIF, GIF, TIFF, BMP, ICO, SVG and HEIC/HEIF are accepted, up to 50 MB, one picture per run — drop several at once and none of them is added. A square logo on a flat background works best.
  2. Set the fit mode, backdrop, corners and sizes: Pick Crop to square, Fit with padding or Stretch to square; choose Transparent, Solid color or Gradient as the Icon backdrop; drag Rounded corners from 0% to 50% in 5% steps; and tick the Export sizes you want. All six sizes start selected and at least one has to stay on.
  3. Generate the pack and check the preview: Click Generate icon pack. With every size ticked you get eight files — favicon.ico, six PNGs and favicon-package.zip — and numbered thumbnails to switch between them. Download all saves them one after another; Save to device may open the system share sheet on a phone whose browser supports sharing files, and downloads the file otherwise.
  4. Copy the HTML and upload the files: Press Copy code to take the lines from the HTML code box and paste them into your page's <head>. Upload the ICO and PNG files to your site's root folder, so that /favicon.ico and /apple-touch-icon.png really resolve. The tool cannot change your site for you.

What this favicon generator produces

This favicon generator converts one image into favicon.ico, selected PNG sizes and a ZIP with HTML. With all six sizes selected, it produces eight downloadable files. The ICO always contains 16×16, 32×32 and 48×48 entries; the ZIP includes a manifest only when 192 or 512 px is selected.

That makes the ICO a genuine multi-size icon rather than a single bitmap, which is what the classic /favicon.ico fallback is for, and each entry wraps a full PNG, so transparency survives inside it too. The ZIP carries every file the run produced plus favicon-html.txt, the lines meant for your page head. File names are fixed — the table below lists which size becomes which file — so rename them after downloading if your framework expects something else.

Nothing is uploaded: your browser decodes the picture, a canvas composes the square artwork, and the bytes are written on your device by libvips compiled to WebAssembly plus a small hand-written ICO packer. The browser isolation that engine needs also keeps third-party scripts out, which is why this page carries no ads and no analytics. Results live as temporary links inside the page, so download them before you close or reload the tab — nothing is stored and there is no history.

The format is read from the file header rather than the extension, and the recognised format and pixel size appear next to the file name; a picture whose format cannot be identified is still processed, with a note saying so. Most files are decoded by the browser itself. HEIC photos from an iPhone, BMP and ICO files and SVGs with no intrinsic size fall back to the built-in decoders — libheif for HEIC, hand-written codecs for BMP and ICO, wasm-vips for TIFF and resvg for SVG. A file that none of them can read reports that the image isn't valid or is damaged.

Which favicon sizes to tick, and what each one is for

Leaving all six ticked is the sensible default for a website: the small PNGs cover modern browsers, 180 px covers an iOS home-screen shortcut, and 192 with 512 px are the two sizes a web app manifest is usually written around. Untick what you genuinely do not need — a documentation site with no mobile shortcut can stop after 48 px — but the tool keeps the last remaining size switched on, because an empty list would silently fall back to exporting all six anyway.

The sizes are a fixed list: 16, 32, 48, 180, 192 and 512. There is no field for 64, 128 or 256 px, no way to put a different size inside favicon.ico, and no separate output for Windows tiles or Safari pinned tabs. If what you need is a single ICO file rather than a pack — no backdrop, no corners, no HTML — that is a different job.

When 192 or 512 is ticked, the ZIP includes a manifest.webmanifest, and the HTML snippet gains a line pointing at it. That file is deliberately minimal: it contains only the icons array for the sizes you ticked, so name, short_name, start_url, display and theme_color still have to be added by hand or merged into the manifest you already ship. Tick neither 192 nor 512 and no manifest file is written at all, which the result area tells you.

Export sizeWhat uses itFile you get
16, 32, 48 pxBrowser tabs, bookmarks, history listsfavicon-16x16.png, favicon-32x32.png, favicon-48x48.png
180 pxiPhone and iPad home screen (apple-touch-icon)apple-touch-icon.png
192 pxAndroid home screen and Chrome's install prompticon-192.png
512 pxPWA install prompt and splash screenicon-512.png
16 + 32 + 48 in one fileThe classic /favicon.ico fallbackfavicon.ico

The six export sizes and the file each one becomes. favicon.ico always holds 16, 32 and 48 px entries, whichever PNG sizes are ticked.

For a single-size .ico file and nothing else, use Image Converter instead — it has an ICO target, and it scales anything over 256 px down.

Fit mode, backdrop and rounded corners

An icon is always square, so a picture that isn't square has to be made square, and the fit mode decides how. Crop to square keeps the proportions and trims both sides of the longer edge, which suits a logo whose subject sits in the middle. Fit with padding also keeps the proportions and places the whole picture inside the square, normally leaving space at the top and bottom or at the left and right where the backdrop shows through. Stretch to square fills the frame in both directions and changes the proportions of anything that wasn't already square. A square source picture looks the same under all three.

The Icon backdrop fills whatever the picture does not cover. Transparent leaves it empty, Solid color paints it with the start color, and Gradient draws a 45° linear blend from the start color in the top-left to the end color in the bottom-right; the angle and the number of color stops are not adjustable. With a JPG or any other source that has no alpha channel of its own, choosing Transparent only shows up in two places — the corners that rounding cuts away, and the padding strip that Fit with padding leaves — because the picture itself is opaque everywhere else.

Rounded corners is a percentage of the icon's side, from 0% to 50% in 5% steps, not a pixel radius, so 20% means the same visual rounding at 16 px as at 512 px. The clip is applied before anything is drawn, so it cuts the picture as well as the backdrop and the removed corners come out transparent. That also means Fit with padding only preserves the entire picture while the radius is 0%; at higher values whatever falls outside the rounded shape is still cut.

Apple's app-icon guidance is to supply a square, full-bleed icon and let the system apply its own rounded mask. If the 180 px apple-touch-icon.png matters to you, that argues for leaving Rounded corners at 0% and giving the icon a solid or gradient backdrop rather than a transparent one, so an iOS home-screen shortcut doesn't end up double-rounded or sitting on whatever the system puts behind empty pixels. Browser tabs are the opposite case: a transparent backdrop lets the mark sit on a light or dark tab strip equally well. One run produces one set of files, so if you want both treatments, generate the transparent set, then change the backdrop and generate again.

To decide by hand which square of a wide banner becomes the icon — instead of letting Crop to square centre it — crop it in Crop Image first.

What the icons keep, and what they don't

The visible artwork carries over; almost nothing else does. The picture is decoded, redrawn onto a canvas with high-quality smoothing and re-encoded as PNG, so the pixel dimensions of your original are gone — the outputs are only ever the square sizes listed above — and the colors are the result of that round trip rather than a copy of the source's color mode. Transparency does survive: with a transparent backdrop, the empty areas stay transparent in both the PNGs and the ICO.

Because the artwork is redrawn, the embedded information in a photo does not travel with it. A phone photo's EXIF block — GPS coordinates, capture time, camera model — is not in the icons, since the bytes come from the canvas rather than from your file. Orientation is the part to watch: pictures the browser decodes directly are drawn the way the browser interprets them, while files that go through the fallback decoders are not put through an explicit orientation step, so a rotated HEIC or TIFF is not guaranteed to come out the way your photo library shows it. Look at the 16/32/48 preview before you generate.

An animated GIF or WebP becomes one still icon — there is no frame picker, and the preview and the export each draw the frame independently, so they may not agree on which one. Your original file is never modified; the source bytes are only read. And nothing is kept between visits: the picture and the results live in memory, with no localStorage and no cookies, so reloading the page starts from an empty drop box.

Enlarging has limits no tool can argue with. When the largest size you ticked is bigger than the usable edge of your picture, the result is an upscale: edges go soft from the canvas filtering, and the ICO's smaller entries can go blocky. That is because the 16 and 32 entries inside favicon.ico are point-sampled down from the 48×48 artwork rather than composed separately — which is why they can look harder than favicon-16x16.png and favicon-32x32.png, and the page says so. Start from something at least 512 px on its shorter side if you plan to tick 512.

File size depends on what the picture looks like, not on a setting. PNG compression is lossless, so it does very well on flat shapes, solid fills and hard edges, and very little on photographic noise; a flat logo therefore usually gives you lighter icons than a cropped photograph of the same thing. The ZIP is a convenience wrapper: PNG data has already been through deflate once, so packing it is about getting everything in one download rather than about compression.

Starting from a phone photo? Strip its location and camera data with Compress Image first, so the original you keep on your computer is clean too.

Installing the favicon package on your site

The HTML code box at the bottom of the results matches the run you just did. The first line is always <link rel="icon" href="/favicon.ico" sizes="any">; each of 16, 32 and 48 that you ticked adds its own PNG line; 180 adds the apple-touch-icon line; and a manifest line appears when a manifest.webmanifest was generated. Press Copy code — the button reads Copied for a moment — and paste the lines into the <head> of every page, or into your layout template. If the browser refuses clipboard access, the code stays in the box and you can select it by hand.

The paths in that snippet start with a slash, so the files belong in the root of your site: /favicon.ico, /favicon-32x32.png, /apple-touch-icon.png and so on. On a static host that is the folder you publish; on a framework it is usually public/ or static/. Upload the files yourself and keep the names — the snippet and the manifest refer to them exactly as they come out. Browsers tend to hold on to a cached icon for a long time, so check in a fresh private window before deciding an icon didn't work.

A few things this tool deliberately doesn't do. It can only create a favicon from an image you already have, not from nothing — there is no pixel canvas, no letter or text layer and no undo, so a text-only icon has to be made as a picture somewhere else first. It handles one picture per run and has no batch mode, and once a file is loaded the drop box is gone: to work on a different picture, use the ✕ next to the file name, or Start over once results are on screen. It also won't cut a subject out of its background, and it writes only PNG and ICO — an SVG can go in, but no icon.svg comes out. Changing any setting clears the current results, so you always download files that match the options on screen.

How this tool is checked

  • The logic behind this tool is covered by 11 automated test cases (hand-checked examples, edge cases and invalid input), and they run again before every release.
  • Before each release, a real browser opens this page, runs it on sample files (including a damaged one) and checks the file it produces.
  • Your files are processed in your browser and are never uploaded to our server.
  • Formulas, figures and definitions are checked against the sources listed at the end of this page.

How we build and test our tools →

Frequently asked questions

How do I create a favicon from my logo?
Choose the logo file, leave all six export sizes ticked and click Generate icon pack. You get favicon.ico, six PNGs and a ZIP of everything, plus the HTML lines to paste into your page head. Upload the files to your site's root folder and keep their names.
How do I make a multi-size favicon.ico?
Just generate the pack: the favicon.ico you download already holds three entries — 16×16, 32×32 and 48×48 — in one file. Those entries are fixed, so unticking 16 or 32 in Export sizes changes which PNGs you get but not what is inside the ICO. Each entry wraps a PNG, so transparency is kept there too.
Should my favicon have a transparent background?
For browser tabs, usually yes — a transparent backdrop lets the mark sit on a light or dark tab strip. For the 180 px apple-touch-icon.png, Apple's guidance is a square, full-bleed icon, so a solid color or gradient backdrop with Rounded corners at 0% is the safer choice there.
Can I export a custom size like 64 or 256 px?
No. The export list is fixed at 16, 32, 48, 180, 192 and 512 px, and favicon.ico always holds 16, 32 and 48. There is no numeric field and no way to add a size, so a 256 px icon has to be produced with a different tool.
Is my picture uploaded to a server?
No. The page reads the file from your device, composes the square artwork on a canvas and encodes the PNG and ICO bytes in your browser; there is no upload code in the tool at all. The files you download are built locally, and closing the tab discards everything.
Why does my icon look blurry or blocky at the larger sizes?
Because it is being enlarged. When the biggest size you ticked exceeds the usable edge of your picture, the tool warns you and the extra pixels have to be invented — soft edges from the canvas filtering, blockier results in the ICO's smaller entries. Start from a picture at least 512 px on its shorter side.
Why is the manifest.webmanifest almost empty?
It only carries the icons array for the 192 and 512 px files you ticked. Fields like name, short_name, start_url, display and theme_color describe your app, not its icons, so add them yourself or merge the icons array into the manifest your site already serves. Tick neither size and no manifest file is created.
Can I draw the icon or make one from a letter here?
No. This tool starts from a picture you already have — there is no drawing canvas, no text layer and no undo. Make the letter or wordmark as an image in a graphics app or an SVG, then bring that file here and choose a backdrop, corner radius and sizes.
Does it work on a phone?
Yes, in any modern mobile browser. Pick the image from Files, Photos or your downloads, then generate. Save to device may open the system share sheet when the browser supports sharing files and simply downloads the file when it doesn't, and Download all saves the files one after another rather than as one archive.

Add this tool to your website

Free for any website, personal or commercial. Paste the code where you want the tool to appear — it works on WordPress, Blogger, Google Sites, Notion and plain HTML.

This tool needs a browser mode that only works on its own page, so the embed shows a card with a button that opens it in a new tab.

<div class="gingertool-widget" data-embed="https://gingertool.com/embed/en/image/favicon-generator/" data-height="240" style="font-size: 13px; line-height: 20px; margin: 6px 0 16px; text-align: left">Favicon Generator &#183; <a href="https://gingertool.com/en/image/favicon-generator/">Gingertool</a></div>
<script src="https://gingertool.com/embed.js" async></script>

Please keep the credit link below the tool. Embedded tools show no ads.

Step-by-step: Google Sites · Blogger · WordPress · Notion

Cite this tool

Using a result in a report, paper or assignment? Copy a ready-made reference.

APA
Gingertool. (2026). Favicon Generator [Online tool]. Retrieved November 21, 2026, from https://gingertool.com/en/image/favicon-generator/
MLA
“Favicon Generator.” Gingertool, November 21, 2026, https://gingertool.com/en/image/favicon-generator/. Accessed November 21, 2026.
BibTeX
@misc{gingertool-favicon-generator,
  author = {{Gingertool}},
  title = {Favicon Generator},
  year = {2026},
  url = {https://gingertool.com/en/image/favicon-generator/},
  note = {Accessed: 2026-11-21}
}