<link rel="stylesheet" type="text/css" href="/mirawhite.css">

Favicon generator

Drop your logo: get favicon.ico, the Apple icon, the Android icons, a site.webmanifest and the HTML tags to paste in your site. It is free, and everything is made in your browser.

Free, no sign-up, no limit Runs in your browser: your text and files are never sent or saved.

Favicon generator

Drop an image here (PNG, JPG, WebP or SVG).

The icons are made in your browser: the image is never uploaded.

Options
Square format
Space left around the logo on each side, from 0 to 20% of the icon.
Icon shape
Applies to favicon.ico and the Android icons. The Apple icon stays square: iOS rounds its corners itself.
iOS fills transparency with black: a background is advised for apple-touch-icon.png.

How to use it

  1. Drop a square logo if possible (PNG, JPG, WebP or SVG).
  2. Choose how to make it square, the margin, the background and the shape (square, rounded or round). The Apple icon gets a white background by default, as iOS does not support transparency.
  3. Check the preview at each size, then download the files one by one or all together in a ZIP archive.
  4. Put the files at the root of your site and paste the HTML code into the <head> of your pages.

Example

Input

A 640 × 480 px logo drawn in the browser (orange disc and blue bar), default options: fit inside, transparent background, no margin

Output

favicon.ico (16, 32 and 48 px), apple-touch-icon.png (180 px), icon-192.png (192 px), icon-512.png (512 px), site.webmanifest and the HTML code (3 <link> tags)

Good to know

  • A detailed logo becomes unreadable at 16 px: a simple mark or a single letter works best.
  • favicon.ico contains PNG images (16, 32 and 48 px), a format supported by all current browsers; very old browsers expect bitmap images instead.
  • favicon.svg is only offered when the source is an SVG: it is your file unchanged, without the margin or background chosen here.
  • The HTML code assumes the files are at the root of the site (/favicon.ico). Adjust the paths if you place them elsewhere.

Frequently asked questions

How do I make a favicon from a PNG or a logo?

Drop the image (PNG, JPG, WebP or SVG), choose whether to fit it inside the square or crop the centre, add a margin or a background if needed, and check the preview in a browser tab. Then download the files one by one or as a ZIP, with the HTML code ready to paste.

What size should a favicon be?

Several sizes are needed: favicon.ico holds 16, 32 and 48 px for browser tabs and shortcuts, apple-touch-icon.png is 180 px for iPhone and iPad home screens, and 192 and 512 px PNG icons are used by Android and the web manifest. Start from a square image of at least 512 px.

How do I add the favicon to my website?

Unzip the files at the root of your site, next to the home page, then paste the three <link> tags between <head> and </head> on every page. On WordPress, you can instead upload a 512 px image under Appearance > Customize > Site Identity > Site Icon.

Can I convert a PNG to ICO with this tool?

Yes: the favicon.ico file produced here contains your image at 16, 32 and 48 px, stored as PNG inside the ICO, a format every current browser and Windows reads. Transparency is kept unless you choose a background colour.

Why is my new favicon not showing?

Browsers cache favicons for a long time. Check that /favicon.ico opens in the browser at your site’s address, then reload with Ctrl+F5 (Cmd+Shift+R on a Mac) or open the site in a private window. Search engines can take days or weeks to update the icon in results.

Should the favicon have a transparent background?

For favicon.ico and the Android icons, transparency works well on light and dark tabs. The Apple icon is different: iOS fills transparent areas with black, so a background colour is set for apple-touch-icon.png by default; white suits most logos.

← Back to all tools