Favicon Generator

Icon previews

“CR” · #FFFFFF / #2563EB · Square · Padding: 10%

Choose an image or enter text, then generate the icon package.

More info

The preview updates as you edit. Download the ZIP when it looks right.

Files stay local. PNG, JPEG, WebP or self-contained SVG; up to 20 MB and 40 megapixels. Images fit inside a transparent square. SVG files must not reference external resources.

About this tool

This tool turns a logo, SVG or up to three characters of text into a complete set of favicon files. Site owners and developers use it when launching a site or rebranding, so the icon appears in browser tabs, bookmarks and phone home screens. A favicon is the small icon a browser shows for a website, usually provided as an ICO file plus PNG sizes for different devices.

How it works

Choose an image or text as the source. For an image, upload a PNG, JPEG, WebP or SVG logo; for text, type up to three characters and pick the text and background colors. Adjust padding from 0 to 35% and, if you like, round the corners, and the preview and files update automatically.

The package includes 16 and 32 px browser icons, a two-size ICO, a 180 px Apple touch icon, 192 and 512 px Android icons, a manifest and matching HTML. Download everything as one ZIP or save individual files. Preview the small sizes carefully, because fine details in a logo often disappear at 16 pixels.

Example

Enter CR with white text and a blue background, the tool's default, and keep the 10% padding. Download favicons.zip and extract it to the site root, where you will find favicon.ico, favicon-16x16.png, favicon-32x32.png, apple-touch-icon.png, android-chrome-192x192.png, android-chrome-512x512.png and site.webmanifest.

Next, copy the five link tags from installation.html into the head of your pages. They point to /favicon.ico, the two PNG sizes, the Apple touch icon and the manifest. Open the site in a fresh tab to confirm the new icon appears.

Assumptions and limits

Files are processed locally. Accepted sources are PNG, JPEG, WebP or self-contained SVG up to 20 MB and 40 megapixels; text mode takes 1–3 characters. All icons are raster PNG images, including inside the ICO, and no SVG favicon is produced. The installation HTML assumes the site root; set your app name in site.webmanifest yourself.

Frequently asked questions

Will a rectangular image be stretched?

No. It is centered inside a square with its original aspect ratio and transparent padding. Text mode uses your chosen background. All output icons are PNG-based raster images.

Why does my browser still show the old icon?

Browsers cache favicons. Confirm the files and link paths, then reload or try a fresh tab. Change the icon URL when deploying updates if needed. The manifest icons alone do not make a site an installable PWA.

What size should a favicon be?

Browsers commonly use 16 × 16 and 32 × 32 pixel icons in tabs, iOS uses a 180 × 180 Apple touch icon, and Android and web manifests use 192 × 192 and 512 × 512. This tool generates all of these from one 512-pixel master image. Start from a source at least 512 pixels wide, or an SVG, so the largest icon stays sharp.

Do I still need a favicon.ico file?

Modern browsers read PNG icons declared with link tags, but some tools and older browsers request /favicon.ico from the site root automatically. Including both, as this package does, covers both cases. The ICO here holds the 16 and 32 pixel images, so it stays small.

Where do I put the favicon files?

Place the extracted files in your website's root folder so paths such as /favicon.ico resolve, then add the installation HTML to the head of every page. If you host them in a subfolder, update the paths in the HTML and in site.webmanifest. Most site builders and CMSs also have a static or public folder whose contents are served from the root.

Link with your values

Add these parameters to this page’s address to open it with the values filled in, for example to share a calculation or to link to it from an AI assistant. The result is calculated in the browser: the page HTML shows an example for the default values, and the tool sets the data-url-params attribute once the link’s values are applied.

ParameterValueIf omitted
sourceCreate fromone of: text, imagedefault text
textLetters or symbol (1–3 characters)text; used with source = text; your own text; Copy link includes itrequired
foregroundText colorcolour: hex without # (3b82f6) or a CSS name; used with source = textdefault ffffff
backgroundBackground colorcolour: hex without # (3b82f6) or a CSS name; used with source = textdefault 2563eb
padding_pctPaddingpercent: 6.5 means 6.5%; allowed 0–35default 10
cornersCorner radiusone of: square, slightly_rounded, rounded, circledefault square

Examples

  • ?text=AB&background=0f766e&corners=circle
  • ?text=%E2%98%85&foreground=fde047&background=1e293b&padding_pct=20
  • ?source=image&corners=rounded&padding_pct=0

Write decimals with a point. Encode a space as %20, + as %2B, # as %23 and & as %26.

Result elements: [data-result-block="favicon"]