OnlineTextLab
Esc

Favicon Generator

One logo in, and the whole icon set out: ICO, PNGs, Apple and Android icons, a manifest, and the HTML to paste.

Drop your logo here

Or paste it with Ctrl V

or drop it here, or paste from the clipboard

Makes the full icon set for browsers, phones and home screens, plus the HTML to paste. SVG or a 512 px PNG works best.

Runs on your device. Your files and text are not uploaded.

About Favicon Generator

A site icon isn't one file any more. Browser tabs want small sizes, Windows and legacy tools look for favicon.ico, iPhones want a 180 px non-transparent image when someone adds your site to their home screen, and Android reads a manifest pointing at 192 and 512 px icons.

This generator takes one logo and writes all of it, plus the HTML that points to it. You'll see how it looks in a mock browser tab in both light and dark, then download a ZIP, unzip it into your site's root folder, and paste the tags into your page's head.

An SVG logo gives the best results, because each size is rendered directly from the vector. The SVG itself is also included as favicon.svg, which modern browsers can use at any size.

How it works

Your logo is drawn at each size with high-quality smoothing, centered on a square without distortion, and with any padding you asked for. The favicon.ico holds 16, 32 and 48 px entries. The PNGs are 16, 32, 48, 180, 192 and 512 px. The tests unzip the download and check each file's real dimensions.

The 180 px Apple icon always gets a solid background, because iOS turns transparent areas black on the home screen. It uses the color you choose, or white. The other icons stay transparent unless you pick a background, and that color also becomes the theme_color in site.webmanifest, which gets your site name too.

Everything is generated in your browser, and the ZIP is built there as well.

How to use Favicon Generator

  1. Press Select your logo, or drop an SVG, PNG, JPG or WebP on the page.
  2. Type your Site name, and choose an Icon background and Space around the logo if you need them.
  3. Check the tab previews and the sizes.
  4. Press the download button and unzip the files into your site's root folder.
  5. Press Copy HTML, then paste it inside the <head> of your pages.

The HTML this generates

Output
<link rel="icon" href="/favicon.ico" sizes="16x16 32x32 48x48">
<link rel="icon" href="/favicon.svg" type="image/svg+xml">
<link rel="icon" href="/favicon-32x32.png" type="image/png" sizes="32x32">
<link rel="icon" href="/favicon-16x16.png" type="image/png" sizes="16x16">
<link rel="apple-touch-icon" href="/apple-touch-icon.png" sizes="180x180">
<link rel="manifest" href="/site.webmanifest">

An SVG logo produced 9 files in a 30.9 KB ZIP, with a favicon.ico of 2.7 KB. A 512 × 512 PNG logo produced 8 files in 24.9 KB and leaves out both favicon.svg and its link tag, as there is no vector source to include.

When it helps

  • Launching a new website with a full set of icons from your logo.
  • Replacing the default icon on a WordPress, static or hand-coded site.
  • Making sure the site looks right when someone adds it to a phone's home screen.
  • Adding a web manifest as the first step toward an installable web app.

Tips for a better result

  • Use a simple mark with no small text. At 16 px, a single letter or shape reads far better than a full logo.
  • Check the dark tab preview. A dark logo with a transparent background can vanish on dark browser tabs, and choosing an Icon background fixes that.
  • Use the Space around the logo option if the icon touches the edges, since home-screen icons get rounded corners that can clip it.
  • Browsers hold on to favicons stubbornly. To see a change, try a private window or visit /favicon.ico directly.

Good to know

  • The HTML assumes the files sit at the root of your site. If they go elsewhere, change the paths in both the HTML and site.webmanifest.
  • No maskable Android icon is generated, so some launchers may place your icon inside a white circle.
  • There are no separate dark mode icons, though an SVG you edit by hand can include its own dark-mode styles.
  • JPG sources have no transparency, so any white around your logo stays.
  • Very detailed logos will lose legibility at small sizes, whichever tool you use.

Questions people ask

Which files do I actually need?

Keep them all, as together they cover browser tabs, Windows, iPhones and Android. If you only want the bare minimum, favicon.ico in your site root still works in every browser.

Where do I put the files?

In your website's root folder, so that yoursite.com/favicon.ico opens the icon. If your host or CMS uses a different public folder, such as public or static, put them there.

Why isn't the new icon showing on my site?

Browsers cache favicons aggressively, often for days. Confirm the file loads by going directly to its address, then check in a private window. Google search results can take longer to change.

What size should my logo be?

SVG is ideal. Otherwise use at least 512 by 512 px, since that's the largest icon made. A notice appears if yours is smaller or isn't square.

What to use next

  • PNG to ICO: if you only need the .ico file, with your own choice of sizes
  • SVG to PNG: if you want one large PNG of the logo as well
  • Image Cropper: to make the logo square and tight before generating

Learn more

Last reviewed . Read our editorial policy.