How to create a favicon package

Choose an image, optionally type a name and short name for the web app manifest, set the padding and press Generate. The tool first checks the file structurally, then reads it with your browser's decoder and produces six PNG sizes. The result shows previews of the sizes, the HTML code and the manifest text; Download ZIP gives everything in one file.

An image that is not square is never distorted: it keeps its aspect ratio and is fitted into the center of a transparent square canvas. The padding option moves the content in from the canvas edges by a percentage.

What is in the package

FileDescription
favicon-16x16.png, favicon-32x32.png, favicon-48x48.pngSmall icon sizes
favicon-180x180.pngA common size used for the Apple touch icon
favicon-192x192.png, favicon-512x512.pngLarge icons listed in the manifest
favicon.icoThree frames of 16, 32 and 48 pixels
site.webmanifestName, short name and two icons
favicon-snippet.htmlCopyable link tags

These sizes are this tool's product presets; none of them is presented as a mandatory standard for any platform. Check your target platform's documentation for the sizes it needs.

How the ICO file is written

ICO is a container that carries several icons in one file. This tool writes the file itself: a header, a 16-byte directory entry per frame, then three PNG-compressed frames (16, 32 and 48 pixels). The frame count and every entry's size, length and offset match the real contents. An ICO with PNG frames may not work in very old Windows and browser versions. This package was only tried by loading it in a Chromium-based browser; it was not tested on other browsers or operating systems, so no compatibility claim is made.

HTML code and file paths

The generated HTML code assumes the files sit at the root of your site: paths such as /favicon.ico and /favicon-32x32.png are root-relative. If you deploy in a subdirectory, adapt the paths yourself, in the HTML and inside site.webmanifest. The apple-touch-icon line is not defined in the HTML standard; it is a widespread convention recognized by Apple devices.

According to the HTML standard, a resource given with rel=icon represents the page, sizes is measured in raw pixels rather than CSS pixels, and there is no default type. If a page has no icon link, some browsers may also try /favicon.ico at the site root.

Which images are accepted

Only static PNG, JPEG or WebP is accepted. The declared type, the signature in the first bytes and the file structure must agree, and then the browser's decoder must also be able to read the image. SVG, downloading from a URL, animated WebP and APNG, and other formats are rejected. Animation is detected by reading the file's chunk structure, not by searching random bytes.

The limits are: at most 10 MiB per file, 16 megapixels (16,000,000 pixels) and 8192 pixels per edge, read from the file header and checked before decoding starts. If the image is smaller than a target size, that size is produced by enlarging it and the tool warns you.

Example

The Load example button uses a synthetic 600×400 pixel image with a gradient from dark blue to red. Because it is not square, it fills 16×11 pixels in the 16 pixel icon and 512×341 pixels in the 512 pixel icon, and the rest stays transparent.

Privacy and limits

  • The image, the name and the short name are processed in your browser; they are not uploaded, stored or added to the share link.
  • The Share button adds only the padding setting to the link.
  • Appearing in Google or being installable as a web app is not guaranteed; both depend on browser and search engine rules.
  • File names inside the ZIP are fixed; the name of the file you upload never enters the package.
  • The ZIP builder loads from a local file; if it cannot, the tool shows an error and downloads stay disabled.
  • The right to use the uploaded image is yours; the tool does no trademark or copyright check.

Sources and verification

Sources reviewed: the icon links section of the HTML standard and the Web Application Manifest, a W3C working draft dated 16 October 2026, both read on 25 October 2026. The ZIP is built locally with the MIT-licensed fflate 0.8.3. The generated ZIP, PNG and ICO files were tested with a real download in Chromium, and an independent ZIP reader verified the file list, sizes and CRC values.

Frequently asked questions

Which favicon sizes are mandatory?

There is no universal requirement. The six PNG sizes and the three-frame ICO in this tool are product presets. Check the current documentation of your target platform.

Can I upload an SVG?

No. This version accepts only static PNG, JPEG and WebP. SVG, images downloaded from a URL and animated files are rejected on purpose.

Will my favicon show up in Google?

The tool cannot guarantee that. The search engine decides which icon to show in results. The tool only prepares the files and the HTML code.

Why does the ICO file contain PNG frames?

The ICO container can carry frames as PNG. This keeps the file small and preserves transparency. Very old systems may not support it, and this tool makes no compatibility claim.

Is my image sent to a server?

No. The image is read and processed in your browser, and the ZIP is built there too. The image, its file name and the name you type are never added to the share link.

Published: · Updated: