Favicon Generator: ICO, PNG & Web Manifest

Create a favicon ZIP with multi-size ICO, PNG, Apple Touch and optional maskable icons. Preview crops, set app metadata and export installation tags locally.

Drop one PNG, JPEG, WebP or GIF here.

A complete favicon package from one image

Choose a local PNG, JPEG, WebP or GIF, then set image fit, padding and your site metadata. The tool generates a real multi-image favicon.ico, 16/32/48 pixel PNG files, a 180 pixel Apple Touch icon and 192/512 pixel app icons. Optional maskable icons are separate 192/512 pixel files. Everything is available individually and in one ZIP.

install.html contains only the head tags to copy into your site; it is not a replacement homepage. site.webmanifest contains the app metadata. README.txt explains installation, and report.json records dimensions, settings, drawing rectangles and file sizes. Its file index excludes the report itself and the outer ZIP.

ICO frames, PNG files and small-size inspection

The ICO directory points to three independently rendered 16×16, 32×32 and 48×48 images. Each uses an uncompressed 32-bit Windows DIB, bottom-up BGRA pixels and a separate, row-aligned AND mask for fully transparent pixels. This is an icon container, not a PNG with its extension renamed. The PNG files are encoded separately at their declared sizes.

Small previews show 16, 32 and 48 pixel images at their actual display size. Larger previews are reduced to fit the card. Thin lines and detailed text may disappear after reduction; inspect the small icons rather than relying on the 512 pixel result. Resampling can smooth a photo or retain hard pixel-art edges, but enlarging a small source does not create missing detail.

Fit, crop and padding

Fit whole image preserves the source aspect ratio inside a square, with any remaining space left transparent or filled by your background choice. Center crop selects the largest central square before scaling. Padding reserves the chosen percentage on every side, from 0% to 40%. Final drawing rectangles use whole-pixel rounding and are included in report.json.

Normal ICO and PNG icons use these fit and padding settings. Maskable icons always contain the entire source in a smaller safe square instead of reusing the center crop. This keeps source content from being cut away merely to fill the app icon. A logo with built-in empty margins may look smaller still; crop those margins with the image cropper first if needed.

Transparency and maskable safe areas

Transparent browser icons retain alpha; Solid composites them over the chosen background. Apple Touch icons are always composited onto that background. Maskable icons are also opaque, so the platform does not have to choose an unexpected fill behind transparent pixels. Theme color is separate manifest/browser metadata and does not repaint the image.

The maskable safe area is the central circle whose radius is 40% of the icon width. This generator fits the entire source within a centered square at most 56% of that width, keeping its corners inside the circle after pixel rounding. The dashed preview circle is an overlay only. Ordinary app icons use purpose any; the padded files use purpose maskable, each in separate manifest entries.

Manifest paths for root sites and subdirectories

Icon directory path is where you will upload the images and site.webmanifest, for example /assets/icons/. App directory path supplies the manifest ID, start URL and scope, for example /docs/. Root-relative paths make the generated links consistent even when the current page is nested. Unicode and spaces in folder names are URL-encoded; existing valid escapes are canonicalized.

The fields accept directory paths, not remote URLs, query strings or fragments. Empty and dot path segments, encoded slashes/backslashes and malformed escapes are rejected. Site names remain Unicode text; the short name is HTML-escaped in the Apple title tag. JSON is generated as data. Browser or Standalone changes the manifest display preference; a manifest alone does not add offline caching or guarantee installation on every platform.

Install the files and check the public URLs

Extract the ZIP, upload the image files and site.webmanifest to your chosen icon directory, and paste install.html into the head of your pages. Keep that deployment path aligned with the generated URLs. The ZIP, README and report are not files the browser needs to request for normal icon loading.

Check the icon and manifest URLs after publishing and check the real browser tab and home screen. Existing browser or launcher caches may retain older icons. If your site already has icon links or a manifest, reconcile those entries rather than adding contradictory duplicates. This tool creates a package locally and does not deploy it or modify your current website.

Favicons and Google Search

Google documents a square favicon with a stable, crawlable URL linked from the hostname’s homepage. Its current guidance permits a minimum of 8×8 pixels and recommends a size larger than 48×48 for use on different surfaces. The generated head tags include a 192×192 PNG as well as the ICO and smaller PNG alternatives.

Search treats the hostname as the site for this feature; subdirectories do not receive independent search favicons just because they have different manifests. Google must recrawl the homepage and image, and appearance is not guaranteed. Generating icons is not a ranking boost or evidence that your deployed files meet every indexing requirement.

Local processing and supported images

Files stay in your browser. One source may be at most 20 MiB, 16 million decoded pixels and 10,000 pixels per side. Image decoding and PNG encoding run in a disposable Worker with a 15-second job deadline; the complete output is capped at 8 MiB. Cancel, changing a setting or selecting another file invalidates old results and releases preview URLs.

The browser applies orientation and color-profile conversion before drawing 8-bit sRGB pixels. APNG uses its default PNG image; GIF and animated WebP use the default image or first frame, not a timeline average. Very low-alpha colors may round during canvas conversion. SVG can first be rasterized with the SVG-to-PNG tool. A local manifest does not fetch your app or icon paths during generation, and these file limits are not a fixed total browser-memory quota.

FAQ

Is favicon.ico a real ICO file?

Yes. It contains separate 16, 32 and 48 pixel 32-bit DIB frames with alpha and AND masks. The PNG images and app icons are separate files in the ZIP.

Why do maskable icons have more space around the logo?

They keep the whole source inside a square that fits within the central 40%-radius safe circle. Platforms may crop content outside that safe area. The preview overlay is not included in the PNG.

Can I install this package under /docs/?

Yes. Set the icon directory to its actual deployment folder and set the app directory to /docs/ if that is the app scope. Root-relative icon URLs are generated consistently in the HTML and manifest.

Will this change my website or guarantee a Google favicon?

No. Generation happens locally. You must upload the extracted files and install the tags; browser caches and search crawling determine when or whether the new icon appears.

Other Languages

Favicon Generator: ICO, PNG & Web Manifest — Base64.sh

Favicon Generator: ICO, PNG & Web Manifest

Create a favicon ZIP with multi-size ICO, PNG, Apple Touch and optional maskable icons. Preview crops, set app metadata and export installation tags locally.

Share:

References

How we make sure

We check this tool with the automated test suites linked below. Example checks are shown in their original language.

Verification method
Check icon sizes, colors, paths, padding and Unicode metadata against fixed export fixtures.
Comparison reference
Explicit icon-parameter and file-structure assertions.
Verification scope
These samples and boundaries do not prove correctness for every input.
Test source and cases (select a file to read it)
  • favicon-tools.test.js
    • favicon settings preserve Unicode metadata and normalize colors and directory paths
    • favicon mode and padding validation reject unsupported and noninteger values

These checks cover the listed examples and boundaries, not every possible input. Round trips and checks using the same library are not independent verification.