LocalExcelTool
Get started

Favicon Generator

Generate favicon PNGs from letters or emoji.

Runs in your browserNo account neededFree

What is Favicon Generator

The Favicon Generator turns a letter, two characters, or an emoji into a favicon-ready PNG icon. Pick a background color, a shape (rounded, circle, or square), and a size from 16 to 512 px; the icon is drawn with the Canvas API right in your browser. Download the PNG and reference it with a <link> tag. Nothing is uploaded anywhere.

🔒 Everything runs in your browser. Nothing is uploaded.

What this tool actually does with your file

Where it runs
In your browser, on this page
Upload
None — the file never leaves your device
Size limit
25 MB
Offline
Works with the network disconnected

One PNG, five files, four different jobs

A modern favicon set is not one file. The browser tab wants 16×16 and 32×32, or a single multi-resolution .ico containing both; iOS wants a 180×180 apple-touch-icon; Android and PWAs want 192×192 and 512×512 with a manifest entry; and a mask-icon or SVG covers the pinned-tab case in Safari.

Each has rules that are not obvious: the apple-touch-icon is displayed on a rounded tile the OS draws, so it must be opaque — transparency becomes black. The ICO container stores several sizes in one file precisely so the browser can pick, rather than scaling one bitmap down and producing a blurry tab icon.

Why a scaled-down logo looks like a smudge

A detailed mark at 16×16 has roughly 256 pixels to work with. Thin strokes disappear, gradients turn to mud and letterforms become unreadable. The fix is not a better resampling filter but a separate simplified drawing — the same reason a wordmark and a logo mark are different assets.

Downscaling also needs the right algorithm. A large photo reduced to 32×32 by nearest-neighbour aliases badly; a proper area-average resample is what a browser does when it renders a favicon at the size it needs, and doing it once at build time gives a cleaner result than letting each browser improvise.

Caching, which is the usual complaint

Favicons are cached harder than almost any other asset, by browsers, by proxy caches and by the operating system in some cases. A new icon that does not appear is nearly always a cache issue, not a deployment issue.

The reliable workaround is a changed filename or a query string on the link element. Waiting for a cache to expire can take days, and hard-refreshing only clears the local browser's copy.

How to use it

  1. 1.Enter text or an emoji (1–2 characters)
  2. 2.Pick color, shape and size
  3. 3.Generate and download the PNG

How Favicon Generator works under the hood

Every image operation here is decode → transform pixels → re-encode. That order matters: it explains both why resizing is exact and why repeated compression slowly degrades a photo.

  1. 1

    Decode to a pixel buffer

    The browser's own decoder turns the file into RGBA pixels. EXIF orientation is applied at this step so portrait photos are not sideways.

  2. 2

    Draw at the target size

    The pixels are drawn onto a canvas at the requested dimensions with high-quality smoothing, which is where resampling actually happens.

  3. 3

    Encode with a chosen quality

    canvas.toBlob re-encodes to JPEG, WebP or PNG. Quality applies to lossy formats only; PNG ignores it and stays lossless.

  4. 4

    Hand back a Blob

    The encoded bytes become a download link. No network request is involved at any point.

  5. Processing pipeline

Why the file gets bigger sometimes

Re-encoding is not free. Converting a small, well-compressed JPEG to PNG usually makes it several times larger, because PNG is lossless and must store every pixel exactly. The same happens when a JPEG is re-saved at quality 1.0. If size is the goal, keep the format and lower the quality; if transparency is the goal, PNG or WebP is the right choice.

Metadata is dropped on purpose

Camera EXIF can contain GPS coordinates, device serial numbers and timestamps. Re-encoding through canvas writes fresh pixels and no metadata, which is a privacy win but means the location tag is gone. If you need metadata preserved, this pipeline is the wrong tool.

Formats the browser cannot open

HEIC and HEIF (the default on recent iPhones) are not decodable by most browsers, so they cannot be converted client-side. TIFF and some camera RAW formats fail for the same reason. There is no server fallback here by design — the file never leaves your device, so if the browser cannot read it, the tool cannot either.

Verify it yourself

Re-encoding happens locally. Check the network panel while it runs.

  1. 1.Open DevTools on this page and switch to the Network tab
  2. 2.Keep the filter on Fetch/XHR and run the tool
  3. 3.Confirm no request carries your file — you should see only page assets and fonts

Frequently asked questions

Which size should I use?

32 px for the browser tab, 180 px for Apple touch icons, and 192/512 px for PWA manifests are the common choices. Generate several PNG sizes and declare them with <link> tags.

Can I get an .ico file?

Use the Icon Converter tool to build a multi-size .ico from an image file. This tool outputs PNG.

What this kind of conversion cannot keep

Image work happens on a canvas: the file is decoded, drawn, re-encoded and handed back as a download. Nothing is uploaded, so a 20 MB photo costs you nothing but a few seconds. Re-encoding always loses a little quality — that is true of every tool, including desktop software.

Go deeper

More in Image