Loading...
Loading...
Drop in one image and get every favicon size a modern site needs — favicon.ico, PNG sizes for browsers, Apple, and Android, plus paste-ready HTML and manifest snippets.
A favicon generator turns one source image into the family of icon files a modern website needs — the legacy .ico file that browsers fetch automatically, the small PNG sizes shown in tabs and bookmarks, the 180-pixel apple-touch-icon used when an iPhone user adds your site to their home screen, and the 192/512-pixel images Android pulls from the web manifest. Doing this by hand means opening an image editor, exporting seven separate files, and writing a long block of <link> tags in your HTML. This generator runs the entire pipeline in your browser: drop one image, get every size, and copy the matching HTML and manifest snippet. Your image never leaves the page.
Upload a PNG, JPG, WebP, or SVG that is square and at least 512×512 pixels. A non-square source is letterboxed onto a square canvas so the logo is never cropped, but small details look sharpest when the source is already square.
Leave it transparent if your logo reads on both light and dark browser chrome. Switch to a solid color if your icon has a light foreground that would disappear against a white tab — most enterprise tabs are still very light.
Look at the 16- and 32-pixel previews carefully. Most logos lose detail at that size. If the result is a smudge, simplify the source — fewer colors, thicker strokes, less fine type — and re-upload.
Use Download all to grab favicon.ico plus the six PNG sizes. Place them at the root of your site. The .ico contains 16, 32, and 48 px PNGs internally, which is what current Chrome, Firefox, and Edge expect.
Copy the HTML snippet into the <head> of every page. Save the site.webmanifest snippet alongside the icons so Android shows the correct home-screen image when someone adds your site.
1. Decode the uploaded image using the browser's native image loader.
2. For each target size (16, 32, 48, 180, 192, 512), draw onto a square canvas.
3. Letterbox the source so the longer side fits the canvas — never crop, never stretch.
4. Re-encode the canvas as a PNG via canvas.toBlob('image/png').
5. For favicon.ico, assemble the 16/32/48 PNGs into an ICONDIR + ICONDIRENTRY structure.
6. Concatenate the PNG bytes after the 16-byte directory entries — this is a valid multi-resolution .ico.Modern browsers and Apple devices accept PNG bytes embedded inside an .ico container — there is no need to encode the antiquated BMP-with-AND-mask format that originally shipped with Windows 95. The container is just a six-byte header (reserved + type + count), one 16-byte directory entry per included image (size + bit depth + offset + length), and the PNG payloads concatenated. That is what this tool produces, and it is what Chrome, Firefox, Safari, and Edge fetch when they request /favicon.ico from your server.
Reference: Wikipedia — ICO file format
| Source image | What to expect |
|---|---|
Bold square logo, 1024×1024 PNG, transparent background | Crisp at every size. The 16 and 32 px previews still read clearly. Drop straight into a production site. The ideal input. |
Wide horizontal wordmark, 2000×400 | Letterboxed onto a square canvas with empty bands top and bottom. The wordmark is still readable at 192 and 512 but illegible at 16 and 32 — the text is too small. Crop to a square mark before uploading. |
Photographic logo with a thin gradient outline | The gradient and outline disappear at 16 and 32 px. Use a simplified, high-contrast version of the same logo for icon-sized assets. Detail loss is a source problem, not an export problem. |
SVG with no explicit width or height | Renders at the default 300×150 the browser assigns SVGs without a viewBox-derived size. Add width/height attributes or a viewBox to the source SVG before uploading. SVG edge case — fix the source. |
Cut out the subject from any photo with on-device AI — no upload required.
Shrink JPG, PNG, or WebP files in your browser with an interactive quality slider.
Adjust, filter, rotate and crop photos in the browser — no uploads, no watermark.
Compose memes and screenshot collages with real layers — paste, drag, crop, caption, export.
Last updated