Design tool

Favicon Generator

Choose a square logo to create common favicon sizes and a ready-to-use website package.

Runs in your browser. No upload.

Choose a square PNG, JPG, WebP or SVG image (up to 10 MB).

Set up your icon files

Preview

Choose an image to preview the generated icons.

About this tool

Favicon Generator made simple.

Create 16, 32 and 48 pixel PNG icons, a multi-size ICO, a 180 pixel Apple touch icon, 192 and 512 pixel app icons, a web manifest and an HTML snippet. Add padding or a background color, preview the result and download the files together as a ZIP.

Guide

Using Favicon Generator

Pick a logo or any picture and this page turns it into the small icons a website needs: the tab icon, the home-screen icon for Apple devices and the two app icons for Android-style installs. You get one ZIP with image files, a web manifest and a few lines of HTML to paste into your page. Everything is made on your device and nothing is uploaded. A square picture gives the best result, and the page cannot judge how good the small icons look.

How to use it

  1. Choose an image: PNG, JPG, WebP or SVG, up to 10 MB. A square picture works best, and the preview appears at once.
  2. Type the Website or app name (up to 50 characters). You may also add a Short name of up to 20 characters for small spaces.
  3. Move the Image padding slider from 0 to 30 percent to leave an empty border. Pick a Transparent, White or Black background.
  4. Press Generate favicon pack. The page makes the icons and a download link for favicon-package.zip.
  5. Unzip the package into the top folder of your website, then copy the HTML snippet into the head of your page. Check the icon paths if you use another folder.

Worked examples

A logo with a white background

You enter
Image
logo.png, 512 x 512
Padding
10%
Background
White
Name
Cafe Luna
You get
Zip
favicon-package.zip
Files
11

The ZIP lists favicon-16x16, 32x32, 48x48, 180x180, 192x192 and 512x512 PNG files, plus favicon.ico, apple-touch-icon.png, site.webmanifest, favicon-html-snippet.html and README.txt. That is 11 files.

Not run through the tool. Treat it as an illustration.

A wide picture that is not square

You enter
Image
banner.jpg, 1200 x 400
Padding
10%
Background
Transparent
You get
Result
The banner is shrunk to fit inside each square, centered, with empty space above and below

The code scales the image to fit and centers it. It is not cropped. At 16 pixels a wide banner becomes a thin strip, so use a square logo for the best tab icon.

Not run through the tool. Treat it as an illustration.

What goes into the ICO file

You enter
Sizes
16, 32, 48
You get
Ico entries
3
Entry sizes
16; 32; 48

The page's ICO builder was run in a test on three small PNG images. It wrote one icon directory with three entries, at 16, 32 and 48 pixels. The page does the same with the three real icons.

Not run through the tool. Treat it as an illustration.

An SVG that uses a gradient

You enter
Image
mark.svg with fill=url(#grad)
You get
Result
The gradient reference is stripped, so the colors may look different from the original

For safety, the page removes scripts, inline styles, outside links and any value that uses url(...). A flat-colored SVG is the safest choice. Check the preview before you generate.

Not run through the tool. Treat it as an illustration.

When it helps

  • Add a tab icon to a new website, so visitors can spot your page among many open tabs.
  • Make the icon that shows up when someone saves your site to the home screen of an iPhone or iPad.
  • Replace a blurry old favicon by building a fresh set from a clean logo file.
  • Prepare icons for a small web app that needs a manifest with 192 and 512 pixel images.
  • Produce all the standard sizes in one step instead of resizing a logo six times by hand.

Limits to keep in mind

  • Input files must be PNG, JPG, WebP or SVG, no larger than 10 MB and no more than 40 megapixels.
  • Non-square pictures are fitted inside the square and centered. There is no cropping tool.
  • For SVG files, scripts, styles, embedded images and anything that uses url(...) are removed. Gradients and filters may be lost.
  • The manifest only holds a name, a short name and the 192 and 512 icons. It has no theme color or start page, and its paths begin with a slash for the site root.
  • The HTML snippet links the ICO, the 32 pixel PNG, the Apple icon and the manifest, not the 16 or 48 pixel PNGs. It cannot show how the icon looks in every browser, so test on a real device.

Tips

  • Start with a simple square logo that has little detail. Fine lines disappear at 16 pixels.
  • Pick a white or black background if the icon will sit on unknown colors; transparency is up to the device.
  • Put the files at the root of your site so the paths in the snippet work without edits.
  • After you publish, clear your browser cache or open a private window, since tab icons are cached for a long time.

Sources

Common questions

About Favicon Generator.

Which files does the favicon package contain?

It holds PNG icons at 16, 32, 48, 180, 192 and 512 pixels, a favicon.ico that bundles 16, 32 and 48, apple-touch-icon.png, site.webmanifest, favicon-html-snippet.html and a README.txt. That is eleven files in one ZIP.

Where do I put the files and the HTML?

Unzip the files into the root folder of your site, so /favicon.ico opens. Then paste the lines from the snippet into the head of each page. If you keep icons in a subfolder, change every path in the snippet and in the manifest to match.

Does my image leave my computer?

No. The icons are drawn on your device using your browser's canvas, and the ZIP is built there too. Nothing is uploaded. An SVG file is cleaned in the browser before it is drawn.

Why does my wide logo look small in the icon?

The tool fits the whole picture inside a square and does not crop it. A wide logo ends up as a thin band in the middle. Make a square version of the logo, or only its main symbol, for the best result.

What does the padding slider do?

It leaves an empty border around the picture, from 0 to 30 percent on each side, with 10 percent as the default. A little padding keeps the picture from touching the edge on rounded home-screen icons.

Should I choose a transparent, white or black background?

Transparent keeps the see-through parts of your logo. White or black fills the square with a solid color. If you want to control exactly how the icon looks on any device, a solid background is safer.

What is the short name for?

It is the name shown when there is little room, such as under a home-screen icon. It can be up to 20 characters. If you leave it empty, the page uses the first 12 characters of the full name.

Why did my SVG look different after upload?

To stay safe the page removes scripts, inline styles, outside links and values that use url(...). A gradient fill or a filter may therefore disappear. Redraw the logo with plain filled shapes, or export it as a PNG first.

Do I need every size in the package?

Most sites work with the ICO, a 32 pixel PNG, the Apple icon and the manifest, which the snippet links. The other files are there for apps and special cases. Keeping them all in the root folder does no harm.

What files does the favicon generator create?

The package includes 16, 32 and 48 pixel PNG icons, a multi-size ICO, 180 pixel Apple touch icon, 192 and 512 pixel app icons, web manifest and HTML snippet.

How do I add the generated favicon to my website?

Download and extract the package into your website root, then copy the included link tags into the document head. Update the icon paths if you use another folder.