🔒 Never uploaded
EN

Convert an image to a favicon

This image to favicon converter turns a logo or a photo from your phone into favicon.ico and PNG icons. PNG, JPG, WebP, AVIF and HEIC images work, and all of it happens in your browser.

  • ⚡ Super fast
  • 🔒 No upload
  • 🎁 Free, no sign-up
    Make it yours

    The full image is fitted inside a square. Output includes a multi-size ICO, 16/32/48/180/192/512 px PNGs, a web manifest and an HTML snippet. SVG artwork can first be converted with our SVG tool.

    How to create a favicon from an image

    1. Choose your image: PNG, JPG, WebP, AVIF or HEIC.

    2. Set Padding (%) for the margin you want around the image.

    3. Switch Transparent background off if the image is a photo or a JPG, and pick a Background colour.

    4. Select Create favicon pack and download the icons.

    What types of images work best for a favicon?

    Square images with one clear shape work best. A symbol, a single letter or a simple mark stays recognizable at 16 px, while a full logo with a name turns into a smudge. Bold lines and strong contrast matter more than detail, and an image of at least 512 px keeps the large icons sharp.

    If your logo has a wide version and a compact version, use the compact one. Many brands have a separate icon for exactly this purpose, often called a logomark or app icon.

    Which image formats convert to a favicon

    The table shows which formats keep transparency when you convert an image to ICO and PNG icons, and what to watch for with each.

    FormatTransparencyNote
    PNGYesThe best choice for a logo
    JPGNoSwitch Transparent background off and choose a color
    WebPYesWorks like PNG
    AVIFYesWorks like PNG, if your browser can open AVIF
    HEICUsually notiPhone photos, read directly
    SVGNot acceptedConvert it to PNG first

    How a wide logo is fitted to favicon size

    The whole image is always fitted inside the square and centered. A logo that is three times as wide as it is tall fills the full width inside the padding but only a third of that height, with empty space above and below. Nothing is cut off, and the proportions never change.

    Padding (%) is added on each side before the image is fitted. The table shows how much of the icon's width is left for the image at different settings.

    Padding (%)Image width in the iconAt 32 px
    0100 percent32 px
    8 (default)84 percentabout 27 px
    1570 percentabout 22 px
    2550 percent16 px
    4020 percentabout 6 px

    Turning a photo into a favicon

    A photo can work as a favicon if the subject is large and simple, like a face or a single object. Crop it to a square around the subject before you start, or the subject ends up small in the middle of the icon.

    Photos from an iPhone are often HEIC files, and they are read directly without converting them first. Photos have no transparency, so switch Transparent background off and choose a Background colour that matches the edges of the photo.

    Create a favicon from an image with fine detail

    Detail that looks good at full size often disappears in the smallest icons. At 16 px, a thin outline becomes a single pixel or vanishes, and two colors that sit close together blend into one. Every size is drawn directly from your original image, so the large icons keep the detail, but the small ones can only show the main shape.

    If the 16 and 32 px previews look muddy, make a simpler copy of the image for the favicon. Remove thin lines, enlarge the main symbol and raise the contrast. Then run the simpler version and keep the original for the rest of your site.

    Your files stay with you

    Most online tools upload your files to their servers. This one does not. It runs inside your browser, so your files never leave your device.

    More ways to use this tool

    Image to favicon FAQ

    Can I use a photo as a favicon?

    Yes. Crop it tight around the subject first, since the whole photo is fitted into the icon. Faces and single objects work better than scenes.

    Will my logo be cropped or stretched?

    No. The image is fitted inside the square and centered with its proportions kept. A wide logo gets empty space above and below it.

    Can I use an SVG logo?

    Not directly. Convert the SVG to a PNG of at least 512 px, then use that PNG for the image to favicon conversion.

    Can I round the corners or change the shape?

    No. The icons are always square. Rounded corners or a circle have to be part of the image you choose, on a transparent background.

    Does it work with iPhone photos (HEIC)?

    Yes. HEIC photos from an iPhone are read directly, with no need to convert them to JPG first. Switch Transparent background off, since photos have no transparent parts.

    Can I use different images for different sizes?

    No. One image is used for every size, with the same padding and background. Make a simpler version of your logo if the small sizes need it.