Skip to content
Tejo Tools
Search
Menu
Processed on your device

Favicon generator

Make every favicon file for your site from one logo, right in your browser.

Shape
Background

Camera and location data in your logo are always removed.

Your files will appear here.

Last updated

What it does

A website shows its icon in browser tabs, bookmarks and on a phone’s home screen, and each place asks for its own file and size. This tool takes one logo and makes all six files in one go, so you don’t have to resize and convert the logo by hand. The icons are square, so you choose how a logo of another shape becomes one: Crop to square, the default, cuts the largest centred square from the logo, and Fit in square keeps the whole logo and centres it in a square as wide as its longer side. The card shows the logo’s format and size in pixels and says that it made 6 files from 16 to 512 px, so you can see that a 1,024 × 1,024 px PNG logo became the whole set. The logo is drawn once at 512 px, and every smaller size is made from that drawing. With Crop to square, a logo whose shorter side is under 512 px is enlarged to it, and with Fit in square, so is one whose longer side is under 512 px. The card then says “enlarged from” the size of the part that was drawn: an enlarged logo has no new detail, so a larger original gives sharper icons.

The six files

The HTML to paste

Upload the six files to the top folder of your site, then paste these lines between the <head> and </head> tags of your pages:

<link rel="icon" href="/favicon.ico" sizes="16x16 32x32 48x48">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="192x192" href="/android-chrome-192x192.png">
<link rel="icon" type="image/png" sizes="512x512" href="/android-chrome-512x512.png">

If you keep the files in another folder, change the start of each href to match.

How to use it

  1. Drop your logo on the box, paste it, or select Choose files. Select “Try a sample” to see an example logo made into the whole set.
  2. Choose a Shape and a Background. The icons are made at once, and again when you change a choice.
  3. Select Download on the card, or Download all, to save the six files together in one ZIP file.
  4. Press Ctrl+Enter (⌘+Enter on a Mac) to run again, or Esc to stop.

Good to know

Privacy

Your logo is processed on your device: the tool runs in your browser and doesn’t upload it. The icons are made from the pixels alone, so camera details and location data from the original are always removed.

Advertisements

Frequently asked questions

Which favicon sizes does a site need?

Browsers show a small icon in the tab, usually 16 or 32 px, and look for favicon.ico by that name. Apple devices use a 180 px apple-touch-icon for the home screen, and Android and installed web apps use icons of 192 and 512 px. This tool makes all of them from one logo, so you can upload the six files to your site and paste the HTML on this page into its head.

Does the favicon keep my logo's transparency?

Yes, with Background set to Transparent, the default: the clear parts of your logo stay clear in favicon.ico and in the PNG files. The apple-touch-icon is the exception. Apple devices fill a transparent home screen icon with black, so apple-touch-icon.png is always saved with a white background behind the logo. Choose Background White if you want every file on white.

Can I use an SVG as the logo?

Not directly: the tool reads JPG, PNG, WebP, AVIF, GIF and BMP still images, not SVG. Make a large PNG of the SVG first with the SVG to PNG tool, at least 512 px wide, then add that PNG here.

Is my logo uploaded?

No. Your logo is drawn into the icons by your browser, on your device, and it isn't sent anywhere. The new files are made from the pixels alone, so camera details, the date and any GPS location in the original are left out.

Advertisements