How to Make a Favicon From Your Logo (PNG, Free)
Turn a logo into favicon PNGs that stay readable at 16 and 32 pixels: crop to a square, simplify, add padding and a background, then add the tags to your site.
The short answer
Start from a square version of your logo, simplify it to the symbol or initial (full logos with text become unreadable at 16 pixels), then upload it to the favicon generator. Choose a background colour and padding, click generate, and download the PNG sizes you need, typically 32 × 32, 16 × 16, 180 × 180 for Apple devices and 192 and 512 for Android and web app manifests. Finally, add the link tags to your site's head.
Step 1: prepare a favicon-friendly version of the logo
Most logos are designed for headers and business cards, not for a 16-pixel browser tab. Before generating anything:
- Use the symbol, not the wordmark. If your logo is an icon plus a company name, use only the icon. If it is text only, use the first letter or a monogram.
- Remove fine detail. Thin lines, small text, gradients and shadows disappear or turn to mush at small sizes.
- Increase contrast. A light grey symbol on white is invisible in a tab. Use your strongest brand colour against a contrasting background.
- Make it square. The generator draws your image into a square, so a wide or tall image will be stretched. Crop it to a square first with crop image by giving it equal width and height, or add empty space around it in a design tool.
- Start large. Upload at least 512 × 512 pixels so the 512 and 192 versions are sharp. Shrinking down works well; enlarging a tiny logo does not.
If your logo sits on a white box and you want a coloured or clean background behind the symbol, remove the white first with remove background and save it as a PNG.
Step 2: generate the favicon sizes
favicon-32x32.png.The generator creates PNGs in these sizes: 16, 32, 48, 64, 128, 180, 192 and 512 pixels square. Everything runs in your browser.
Step 3: rename and upload the files
The HTML snippet the tool shows expects these file names in your site's root folder:
| File from the generator | Rename to | Used for |
|---|---|---|
| favicon-32x32.png | favicon-32x32.png (no change) | Browser tabs on most screens |
| favicon-16x16.png | favicon-16x16.png (no change) | Small tabs and bookmarks |
| favicon-180x180.png | apple-touch-icon.png | iPhone and iPad home screen |
| favicon-192x192.png | Any name, referenced in your manifest | Android home screen |
| favicon-512x512.png | Any name, referenced in your manifest | Install and splash screens |
Upload the files to the root of your site (the same folder as your home page) so the paths in the tags work.
Step 4: add the tags to your site
Put these lines inside the head section of every page (or your site template):
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"><link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
The snippet in the tool also includes a line for favicon.ico. The generator does not create an ICO file, so either remove that line or create an ICO separately. Modern browsers use the PNG links above, so many sites no longer need one. If you keep the line without uploading a favicon.ico, the browser simply requests a file that is not there.
On WordPress, you can usually skip the code and upload the 512 × 512 PNG as the Site Icon (in classic themes this is under Appearance → Customize → Site Identity).
Step 5: check it
Google Search results use your favicon too, but they update on Google's own schedule and have their own rules. If your new icon does not appear there, see favicon not showing in Google search results. For a full list of sizes and what each one is for, see favicon sizes explained.
Common problems and fixes
- Logo looks squashed or stretched. The source image was not square. Crop it to a square and generate again.
- Icon is a blurry blob at 16 pixels. Too much detail. Use just one letter or the core symbol.
- White box around the logo on a dark browser tab. The background colour is white. Pick your brand colour instead, or a dark colour if most visitors use dark mode.
- Symbol touches the edges. Increase padding.
- Symbol looks tiny. Reduce padding, or crop the source tighter so there is less empty space.
- Old favicon still showing. Clear the cache or test in a private window. Also check that the file paths in your tags match where you uploaded the files.
Frequently asked questions
How do I make a favicon from my logo?
Crop the logo to a square, simplify it to the main symbol or initial, and upload it (ideally 512 × 512 pixels or larger) to a favicon generator. Download the 16, 32, 180, 192 and 512 pixel PNGs, upload them to your site root and add the link tags to the head of your pages.
What size should a favicon be?
Browsers mainly use 32 × 32 and 16 × 16 pixels. Apple devices use 180 × 180 for home screen icons, and Android and web app manifests use 192 × 192 and 512 × 512.
Can the Lazyblink favicon generator make a transparent favicon?
No. It fills each square with the background colour you choose before drawing the logo, so the PNGs have a solid background. Choose a colour that matches your brand.
Does the favicon generator create a favicon.ico file?
No, it creates PNG files only. Modern browsers use PNG favicons through link tags, so you can remove the favicon.ico line from the snippet or create an ICO file separately.
Why is my logo stretched in the favicon?
The generator draws the image into a square. If the original is wide or tall it gets stretched, so crop it to a square or add space around it before uploading.
Put this guide into practice with our free online tool — no signup required.
Open tool