How to make a favicon
- Choose or drop your logo. A square image of 512 px or more works best.
- Under If the image is not square, pick Add space around it or Crop the middle.
- Keep Keep a transparent background ticked, or untick it and pick a Background colour.
- Press Make favicons, then Download ZIP.
- Press Copy HTML, paste the tags inside the <head> of your pages and put the files in the root folder of your site.
What each setting does
- Add space around it
- Keeps the whole image and fills out the shorter sides to a square. The space is clear, or your colour when transparency is off.
- Crop the middle
- Cuts the largest centred square from the image.
- Keep a transparent background
- Leaves see-through pixels clear in favicon.ico and the PNG icons. Untick it to fill them with the background colour, whether you add space or crop the middle.
- Background colour
- White to start with. Always used behind the Apple touch icon, which is never transparent.
What is in the ZIP
- favicon.ico: PNG images at 16, 32 and 48 px in one file.
- apple-touch-icon.png: 180 × 180 px on a solid colour.
- icon-192.png and icon-512.png: square PNG icons.
- site.webmanifest: lists the two large PNG icons. Add a name or theme colour yourself if your site needs them.
- favicon-tags.html: the same HTML tags shown on screen.
The four tags link favicon.ico, icon-192.png, the Apple touch icon and the manifest. Each path starts with a slash, such as /favicon.ico, so the files belong in the root folder of your site. For a subfolder, edit the paths.
Designing for 16 pixels
The smallest icon is 16 × 16, only 256 pixels in total. Thin lines and small letters blur at that size; a bold letter or plain shape stays readable. If your logo includes words, try cutting out just the symbol with Crop PNG first.
Limits
- A source smaller than 512 px is enlarged for the biggest icon and will look soft.
- All icons are PNG images; no SVG favicon is made.
- An animated GIF gives a still icon.
Questions
What sizes are inside favicon.ico?
Three PNG images: 16, 32 and 48 px square.
Can I make a favicon from a JPG?
Yes. A JPG has no transparency, so the picture stays a solid rectangle; any added space is clear unless you choose a colour.
My logo is wide, not square. What should I choose?
Add space around it keeps the whole logo but makes it small. Crop the middle fills the square but cuts the ends off.
Is my logo uploaded?
No. The icons and the ZIP are made by your browser on your device.