Skip to content

Image to Favicon Generator

Upload a logo or picture as PNG, JPG, WebP or SVG. See it at every favicon size, from the 16 px browser tab to the 512 px app icon, and download the PNGs one by one or as a ZIP.

Upload your image

or drag and drop it here

PNG, JPG, WebP or SVG · up to 10 MB · square, 512 px or larger works best

Options

Fit

Keeps the whole image and centres it; non-square images get empty space on two sides.

Applies to every size. Leave at 0 for tab icons; 8–12% suits the Apple touch icon and round Android masks.

Background

apple-touch-icon.png always gets a white background, because iOS turns transparent pixels black.

Generated favicon sizes

Upload an image to see every size here before you download anything.

Code for your <head>

HTML
<link rel="icon" href="/favicon.ico" sizes="32x32">
<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 192 and 512 px icons are only used through a web manifest. The favicon package generator writes one for you.

What an image to favicon generator does

A favicon is not just your logo made smaller. Browsers, phones and search engines each ask for a square icon at a specific pixel size, and most of them ignore anything that is not exactly what they asked for. An image to favicon generator takes one picture and produces each of those squares, so you do not have to resize it six times in an image editor.

Three things happen to your image here:

  1. It is made square. “Fit whole image” scales it until the longer side fits and centres it; “Crop to fill” cuts the centre square out of it. Padding then adds an even margin.
  2. It is resampled in steps. Shrinking a 2000 px logo straight to 16 px skips most of its pixels and leaves jagged edges. The tool halves the image repeatedly first, which keeps curves and thin lines smoother at the small sizes.
  3. It is saved as PNG with the conventional file names. The names matter less to browsers than the HTML that points at them, but using the names every tutorial and plugin expects makes the files easy to drop into an existing setup.

Best image formats to upload

The format you upload only affects quality going in. Every download is PNG, because PNG is the one format every favicon consumer accepts, and the Apple touch icon must be PNG.

UploadGood forWatch out for
SVGLogos from a designer. Each size is drawn from the vector, so edges stay sharp.Web fonts and external CSS are not loaded. Convert text to outlines first.
PNGLogos and icons with a transparent background.Screenshots of a logo usually include a white box and blurry edges.
WebPLogos saved from a modern website; transparency is kept.Lossy WebP adds faint blotches around sharp edges.
JPGPhotos and profile pictures.No transparency, and compression noise is very visible at 16 px.

If your only copy of the logo is a JPG on a white background, pick “Solid colour” and set it to white so the square looks intentional, or ask whoever made the logo for the PNG or SVG.

Three uploads and what to do with each

A 1000×1000 PNG app logo

Keep “Fit whole image” with 0% padding and a transparent background. Check the light and dark tab previews: a black logo on a transparent background disappears in a dark browser tab. If it does, switch the background to a solid colour, or add a light outline to the logo itself.

A 1200×300 horizontal wordmark

Fitted into a square, a 4:1 logo becomes a 16×4 px strip in the browser tab — unreadable. Crop to fill would cut the word in half. The fix is outside this tool: crop the source down to the symbol or first letter, or build a letter icon with the text favicon method, and keep the full wordmark for your site header.

A 3024×4032 phone photo of a person or product

Use “Crop to fill” so the centre square is kept. Expect the 16 and 32 px versions to be little more than a coloured blob: photos have no shapes simple enough to survive. That is acceptable for a personal site or portfolio, where the 180 and 192 px home-screen icons matter more than the tab.

Recommended favicon sizes

These are the six files this page generates, and the job each one does.

FileSizeRequested by
favicon-16x16.png16×16Browser tabs on standard-density screens
favicon-32x32.png32×32Tabs on Retina and high-DPI screens; Windows taskbar
favicon-48x48.png48×48Windows site shortcuts; a sharper choice for Google Search, which recommends icons larger than 48 px
apple-touch-icon.png180×180iPhone and iPad “Add to Home Screen”
android-chrome-192x192.png192×192Android home screen, via the web manifest
android-chrome-512x512.png512×512Install prompts and splash screens for web apps

Older lists add 57, 72, 96, 114, 144 and 152 px variants. Current devices downscale from the files above, so those extras only add clutter. The favicon sizes guide covers each size in more depth.

How to add the generated favicon to a website

  1. Unzip favicons.zip and upload the files to your site root, so that https://yoursite.com/favicon-32x32.png opens the icon.
  2. Paste these tags inside the <head> of every page (usually the shared layout or template):
<link rel="icon" href="/favicon.ico" sizes="32x32">
<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">
  1. Open the site in a private window. Browsers cache favicons far longer than pages, so a normal window may keep showing the old icon for days.
  2. The two Android icons are only used if a site.webmanifest lists them. If you want Android and install support, the favicon package generator writes the manifest and the matching tag for you.

On Next.js, WordPress, Shopify or a site builder the steps differ — see how to add a favicon for each platform.

When the result does not look right

  • The logo is tiny inside the square. The source has empty canvas around it. Trim the transparent edges in an editor, or use “Crop to fill” if the logo is roughly square.
  • There is a white or grey box around it. The source is a JPG or a PNG without transparency. Re-export the logo with a transparent background, or make the box deliberate with a matching solid background colour.
  • The 16 px icon is a smudge. Detail finer than one pixel cannot survive. Simplify: drop the tagline, thicken the strokes, or use just the initial. Some brands ship a simpler mark for 16 and 32 px and the full logo for 180 px and up.
  • The large icons look soft. The source is smaller than the output. Upload the biggest original you have; an SVG avoids the problem completely.
  • The icon still does not appear after uploading. Work through favicon not showing, or let the favicon checker test the live page.

Image to favicon FAQ

Can I use a JPG as a favicon?

You can upload a JPG here, but the files you download are PNG. JPG has no transparency, so a JPG logo always sits on a solid rectangle, and its compression smudges show up clearly at 16 px. If you have the logo as PNG or SVG, use that instead.

Does a WebP favicon work?

Chrome, Edge and Firefox display a WebP favicon, but the Apple touch icon must be PNG and many crawlers and older tools only read ICO or PNG. Upload the WebP here and ship the PNG and ICO output; there is nothing to gain from serving WebP for a 2 KB icon.

Should I choose “Fit whole image” or “Crop to fill”?

Fit keeps everything and is right for square logos and anything with text you cannot cut. Crop to fill is right for photos and for square-ish marks surrounded by empty canvas. For a wide wordmark neither works well: crop the source to the symbol or first letter before uploading.

Why does my icon have a white background on iPhone but not in the browser tab?

iOS turns transparent pixels in apple-touch-icon.png black, so this tool always fills the 180×180 icon with a solid colour: white by default, or the background colour you pick. The tab icons keep their transparency.

What is the smallest image I can upload?

Anything the browser can decode, but sizes above the source resolution are upscaled and look soft. A 512×512 source covers every file here; a 64×64 source is fine for the tab icons but not for the 180, 192 and 512 px icons.

Is my image uploaded anywhere?

No. The file is decoded and resized by your browser with the Canvas API. Nothing is sent to FaviconStudio, and closing the tab discards it.

Related tools and guides