Toolstia / Favicon generator
Make a favicon from an image
A favicon is the small icon in a browser tab, a bookmark list and a phone's home screen shortcut. This tool turns one image into the full set a modern website needs: a multi-size favicon.ico, seven PNG icons from 16 to 512 pixels, an Apple touch icon, and a starter web manifest, all bundled in one ZIP.
You can choose a shape (square, rounded square or circle), add padding of up to 30 percent so the artwork does not crowd the edge, and select a transparent, white or black background. The preview shows every size, so you can judge how the logo survives at 16 pixels, where fine detail disappears.
The icons are drawn inside your browser. Your logo is not uploaded, and you also get the HTML lines to paste into your page head.
Drop an image here, or click to choose
A square logo or picture works best, at least 512 x 512 pixels. Nothing is uploaded.
How it works
- Drop in your logo or picture.
- Choose a shape, padding and background.
- Download the ZIP and upload the files to your site.
What you get
favicon.ico holds 16, 32 and 48 pixel versions. The PNG set covers 16, 32, 48, 64, 180 (Apple touch icon), 192 and 512 (Android and web app icons). A small site.webmanifest is added.
Use a square image
Icons are square. A wide or tall picture is cropped from the centre to fit, so use a square logo with the important part in the middle.
Shape and padding
Choose square, rounded or circle shapes. Padding leaves a margin around the logo so it does not touch the edge, which often looks better at tiny sizes.
Installing it
Upload the files to the root folder of your website and paste the code shown into the head of your pages. Browsers cache favicons for a long time, so a change can take a while to show.
The seven PNG sizes and what each one is for
The tool produces 16, 32, 48, 64, 180, 192 and 512 pixel squares. The 16 and 32 pixel files are what browsers use in tabs and bookmarks. The 180 pixel file is saved as apple-touch-icon.png, used when someone adds your site to an iPhone or iPad home screen. The 192 and 512 pixel files are named android-chrome icons and are the sizes listed in the generated manifest for installable web apps. The 48 and 64 pixel files are extras that some desktop environments pick up.
What is inside favicon.ico
The favicon.ico file bundles the 16, 32 and 48 pixel versions, each stored as a PNG inside the ICO container. Older browsers and some tools still request /favicon.ico from the site root automatically, so having this file in place covers them even if your page head does not mention it. The paste-in snippet also lists the PNG files and the manifest for newer clients.
Padding, shape and background choices at small sizes
At 16 pixels a logo has only 256 pixels to work with, so text and thin lines blur into mush. Use a simple mark or a single letter if you can. Padding insets the artwork from the edges, which helps a round or rounded shape avoid clipping the logo. The rounded square uses a corner radius of 20 percent of the icon size.
Transparent backgrounds look good on light tabs but can vanish on dark ones if your logo is dark. If the mark is a single dark color, a white background is safer. Apple touch icons are normally shown on a solid tile, so a transparent PNG may get a black fill on iOS.
Non-square pictures and small sources
Icons are square. A wide or tall picture is scaled to fill the square and the extra is cropped from the center, so the edges of a wide logo may be cut off. A note appears if your picture is smaller than 512 by 512 pixels, because the 512 pixel icon would then be enlarged and look soft. Start from a clean square graphic if you can.
Installing and testing the files
Unzip the files into the root folder of your website, paste the lines from the box into the head of your pages, and fill in the name and short name in the manifest, which are left empty on purpose. Browsers cache favicons aggressively, so after uploading, try a private window or force a refresh before assuming it failed.
Questions
What size should my logo be?
At least 512 x 512 pixels gives the sharpest result.
Can I use a transparent logo?
Yes. The icons keep the transparency unless you pick a background colour.
Does it work with SVG logos?
First turn it into a PNG with the SVG to PNG converter, then use it here.
Is anything uploaded?
No. The icons are made on your device.
Do I need every file in the ZIP?
For most sites the favicon.ico, the 32 and 16 pixel PNGs, the Apple touch icon and the manifest with the 192 and 512 pixel icons cover everything. The other sizes are optional extras.
Why is my favicon not updating after I uploaded it?
Browsers hold on to the old icon for a long time. Clear the cache, open the site in a private window, or request the icon file URL directly to check that the new file is live.
Can I make a favicon from an SVG?
This tool reads raster images. Convert the SVG to PNG first with the SVG to PNG converter on this site, then upload that PNG here.
Is the circle shape cut out or just masked?
The shape is cut with a clip, so the corners outside the circle stay transparent. A background color, if you pick one, fills only the area inside the shape.
What goes in the web manifest?
A minimal file listing the 192 and 512 pixel icons and a standalone display mode. The name and short name are blank for you to fill in.