Favicon Builder

How to Create a Favicon From an Image or Logo

Published December 8, 2025 · Updated June 9, 2026

Turn a logo into a favicon: start from a square 512×512 source, simplify it for tiny sizes, export the full ICO + SVG + Apple + PWA set, paste the HTML.

To turn a logo or image into a favicon: start from a square source at 512×512 or larger (an SVG is best), simplify the design so one bold mark stays legible at 16px, then export the full modern set — a multi-size favicon.ico, a scalable favicon.svg, a 180×180 Apple touch icon, and 192/512 PWA icons — and paste the matching <link> tags into your <head>. You don’t hand-export a dozen PNGs anymore; the SVG and multi-size ICO do that work for you.

In one line: prepare a clean square source, then generate every file and the HTML from one upload.

Step 1: Pick and prepare the source

The quality of your favicon is decided before you export anything. Start from the best source you have, in this order of preference:

512×512 is the number to remember: it’s the largest size any browser or PWA surface ever requests, so a source at that size (or bigger) covers every output with no upscaling.

Make it square

Favicons are square. A wide wordmark or a tall logo won’t fit, so you have three options:

  1. Crop to a square element. If your logo has an icon, monogram, or brand mark, use just that. A coffee shop with a wordmark and a cup symbol uses the cup.
  2. Add padding. Centre the logo on a square canvas and pad it out with a solid background or transparency.
  3. Design a square variant. For brands with no square element, make a dedicated favicon mark — a single letter, a simplified glyph — built to live at icon size.

Step 2: Simplify for 16px legibility

Your favicon will often render at 16×16 pixels — smaller than this text. At that size, fine detail, thin lines, gradients, and small text all collapse into noise. The mistake almost everyone makes is shrinking the full logo and hoping it holds up. It won’t.

Design for the smallest size, not the largest:

Think of the favicon as the smallest possible expression of your brand — a glyph, not a billboard. Our favicon design best practices guide goes deeper on building a mark that survives at icon size.

A quick test: shrink your draft to 16×16 and view it at actual size, not zoomed. If you can’t tell what it is in half a second, simplify further.

Step 3: Why SVG-first matters

If your logo is vector, keep it vector for as long as possible. An SVG favicon is the modern primary icon for three reasons:

Even when you start from a PNG, the export step still produces the rest of the set; the SVG advantage is just that vector sources give the cleanest results everywhere.

Step 4: Export the full verified set

Here’s where the manual route gets painful and a generator earns its place. The modern favicon set — generated from one 512×512 source — is six files:

FileSizePurpose
favicon.ico16, 32, 48 bundled (min 32×32)Legacy browsers, desktop tabs, Google’s search-result fallback
favicon.svgScalable (has a viewBox)Primary modern icon — sharp everywhere, supports dark mode
apple-touch-icon.png180×180iOS home screen — opaque, ~20px padding
icon-192.png192×192Android home screen / PWA (purpose any)
icon-512.png512×512PWA install + splash (purpose any)
icon-512-maskable.png512×512Android adaptive icon (purpose maskable, 409×409 safe zone)

Two of these have rules that trip people up:

Doing all six by hand means resizing, naming, flattening the Apple icon, padding the maskable, and bundling the ICO correctly — a dozen ways to ship the wrong thing. This is the step worth automating.

Generate the whole set with FaviconBuilder — upload your logo (SVG preferred, or a PNG/JPG at 512×512 or larger) and it produces every file above, a site.webmanifest, a ZIP, and the exact copy-paste HTML. It’s free, needs no account, and your image never leaves your browser — the conversion runs entirely on your machine.

If you’d rather understand the raster conversion itself, the PNG to ICO guide covers how the multi-size .ico is built, and the favicon sizes guide has the full chart and the reasoning behind each dimension.

Step 5: Add the HTML and test

Drop the files in your site root (or /public), then paste this into your <head>. Note there’s no rel="shortcut icon" — that was never a valid relation — and no long list of per-size tags:

<link rel="icon" href="/favicon.ico" sizes="32x32">
<link rel="icon" href="/favicon.svg" type="image/svg+xml">
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
<link rel="manifest" href="/site.webmanifest">

The .ico covers legacy browsers and Google’s SERP fallback, the SVG is the sharp modern icon, the Apple touch icon handles iOS, and the manifest carries the PWA sizes. For a tag-by-tag walkthrough and where exactly each file goes, see how to add a favicon in HTML.

Then verify it. Load the page, open it in a fresh tab, and check the icon renders. Browsers cache favicons aggressively, so a hard refresh or an incognito window is the reliable way to see your new icon rather than the old cached one.

Summary

Creating a favicon from a logo is five steps:

  1. Pick a clean source — SVG if you have it, otherwise a PNG/JPG at 512×512 or larger.
  2. Make it square — crop to a mark, pad to a square, or design a dedicated variant.
  3. Simplify for 16px — one bold mark, strong contrast, few colours, little or no text.
  4. Export the full set — multi-size .ico, scalable SVG, opaque 180×180 Apple icon, and 192/512 plus a padded maskable for PWAs.
  5. Paste the HTML and test — four <link> tags, then check in a fresh tab.

You can grind through steps 4 and 5 by hand, but a generator does the whole verified set from one upload — including the parts most tools still get wrong.

Continue reading:

Frequently asked questions

How do I turn my logo into a favicon?

Start from a square version of your logo at 512×512 or larger (SVG is ideal), simplify it so one bold mark reads clearly at 16px, then export the full set — a multi-size favicon.ico, a scalable favicon.svg, a 180×180 apple-touch-icon.png, and 192/512 PWA icons. Upload that source to a generator like FaviconBuilder and it produces every file plus the HTML to paste.

What size should my source image be to make a favicon?

At least 512×512 pixels. That's the largest size any browser or PWA surface requests, so a 512×512 source covers every output without upscaling. A vector SVG is even better because it scales to any size with no quality loss.

Can I make a favicon from a rectangular or wide logo?

Not directly — favicons are square. Either crop to a square element of the logo (often just the icon or monogram, not the wordmark), or centre the logo on a square canvas with padding. A wide wordmark shrunk into a square turns to mush at 16px.

Can I use a JPG or photo as a favicon?

You can, but a 512×512 PNG or SVG gives a much cleaner result. JPGs have no transparency and lossy compression artefacts, and photos carry far too much detail to read at 16×16. Simplify a photo down to one recognisable shape or mark first.

Do I need to export every favicon size by hand?

No. The old practice of hand-exporting 16/32/48/96/120/152 PNGs is outdated — a multi-size favicon.ico bundles the small sizes and an SVG scales to the rest. A generator outputs the whole verified set from one upload, so you export once, not a dozen times.

Related guides

← All guides