Free · No sign-up · 100% private

Free Favicon Generator: Image to ICO.

Perfect Icon converts PNG, JPG, SVG or WebP to favicon.ico, lets you fine-tune the shape and gives you a complete favicon pack plus a ready-to-paste <head> code in seconds.

7 sizes16 → 512 px
ICO + PNGall browsers
0 uploadsstays on your device
Studio

Drop it. Tweak it. Ship it.

Drag & drop, click to browse, or just paste an image with Ctrl + V. PNG, JPG, WEBP, SVG, GIF all work.

Customize live preview

Shape
Fit
Padding10%
Background
Browser tab preview
Your Website
New tab
1616
3232
6464
180180

Why Perfect Icon

Everything a favicon needs. Nothing it doesn't.

Built to be faster, cleaner and smarter than the usual favicon tools.

Instant results

Everything is generated live in your browser while you move a slider. No waiting, no queue.

Private by design

Your image never leaves your device. No uploads, no servers, no tracking of your files.

Full icon pack

favicon.ico, 16/32/48/64 PNG, Apple Touch 180 and Android 192/512, plus a web manifest.

Copy-paste code

Get the exact <link> tags. Use the embedded version with zero files, or the classic file version.

Shapes & backgrounds

Square, rounded or circle. Transparent, white, black or orange backgrounds with adjustable padding.

Crisp at tiny sizes

Smart high-quality downscaling keeps even the 16×16 icon sharp and readable.

Installation guide

Live on your website in 4 steps.

Pick your platform and follow along.

Create your icon

Upload an image above and adjust the shape, padding and background until it looks right.

Copy the code

Choose Direct paste (no files needed) or With files, then press Copy code.

Paste inside <head>

Open your index.html and paste the code between <head> and </head>. Do this on every page, or in your shared header file.

Upload & refresh

If you used the file version, upload the files from the ZIP to your site's root folder. Then hard refresh with Ctrl + Shift + R, since browsers cache favicons.

Download the 512 × 512 PNG

Use the 512 button under the previews.

Open the Customizer

Go to Appearance → Customize → Site Identity.

Select Site Icon

Click Select site icon, upload the PNG, crop if asked, then Publish.

Or paste the code

With a plugin like WPCode, add the copied code to Header scripts for the whole site.

Next.js (App Router)

Place favicon.ico in the app/ folder, plus icon.png and apple-icon.png. Next.js links them automatically.

Vite / Create React App

Put all files from the ZIP in the public/ folder.

Paste the links

Open index.html in your project root (or public/ for CRA) and paste the copied code inside <head>.

Restart the dev server

Stop and run it again, then hard refresh the browser.

Blogger

Settings → Favicon, then upload the 192 or 512 PNG.

Shopify

Online Store → Themes → Customize → Theme settings → Favicon. Use the 32 × 32 minimum (512 recommended).

Wix

Settings → Favicon and upload your PNG or ICO.

Custom code option

Most builders have a Custom code → Head area. Paste the copied snippet there.

What is a favicon, and why does your website need one?

A favicon is the small icon shown in browser tabs, bookmarks, history and, on many devices, next to your site in search results. A clear favicon makes your site easy to spot among open tabs, builds trust and looks professional. Browsers also request /favicon.ico automatically, so a missing icon creates a 404 in your logs on every visit.

Which favicon sizes do you need?

You do not need dozens of files. This is the practical set that Perfect Icon generates for you in one click:

FileSizeUsed for
favicon.ico16, 32, 48 pxClassic browsers and the automatic /favicon.ico request
favicon-16x16.png16 × 16Standard browser tab
favicon-32x32.png32 × 32High-DPI tabs, taskbar and shortcuts
favicon-48x48.png48 × 48Google Search results (the icon must be a multiple of 48 px)
apple-touch-icon.png180 × 180iPhone and iPad home screen
android-chrome-192x192.png192 × 192Android home screen and web apps
android-chrome-512x512.png512 × 512Installable web app icon and splash screen

ICO vs PNG vs SVG favicons

ICO is the oldest format and works everywhere. One file can hold several sizes, which is why Perfect Icon packs 16, 32 and 48 px into a single favicon.ico. PNG is simple, sharp and supported by all modern browsers. SVG scales perfectly, but support is not universal, so keep an ICO or PNG fallback. Perfect Icon exports ICO and PNG, which covers every browser and device.

How to convert an image to a favicon in 4 steps

  1. Drop a PNG, JPG, SVG, WebP or GIF into the studio above, or paste it with Ctrl + V.
  2. Choose a shape, padding and background until the live preview looks right.
  3. Download the ZIP with every size, or press Copy code for a ready-to-paste snippet.
  4. Paste the code inside <head> and upload the files to your site root. Hard refresh with Ctrl + Shift + R.

Your image is processed by your own browser using the Canvas API. Nothing is uploaded, nothing is stored.

No image yet? Start from text or an emoji

Use the text to favicon generator to turn your initials into a clean letter icon with any Google Font, or pick one of 1,800+ emojis in the emoji to favicon generator. Both end with the same complete favicon pack.

FAQ

Quick answers.

What size should a favicon be?

Use a square image. 48 × 48 px is the key size for Google Search, 16 and 32 px are used in browser tabs, 180 px for Apple devices and 192 / 512 px for Android and web apps. Perfect Icon creates all of them from one upload.

How do I convert PNG to ICO?

Drop your PNG into the studio, adjust shape and padding if you like, then press the favicon.ico button. The file contains 16, 32 and 48 px versions. JPG, SVG, WebP and GIF work the same way.

Can I use an SVG, JPG or WebP image?

Yes. Any image your browser can open works. A square image with a simple, bold shape gives the sharpest result at 16 × 16 px.

How long until Google shows my new favicon?

Usually a few days, sometimes a few weeks. Make sure the icon is a multiple of 48 px, the file is not blocked in robots.txt and the link tags are on your homepage.

Is my image uploaded to a server?

No. Everything happens inside your browser using the Canvas API. Your picture never leaves your device.

What is "Direct paste" mode?

The icon is embedded inside the code as Base64, so you don't need to upload any files. Paste it in your head and it works right away. The file mode is better if you prefer a classic setup and caching.

Why is my old favicon still showing?

Browsers cache favicons aggressively. Hard refresh with Ctrl + Shift + R, clear the site's cache, or open the site in a private window.

What image works best?

A square image with a simple, bold shape and at least 512 × 512 px. Fine details disappear at 16 × 16.

Is it really free?

Yes, completely free, with no watermark and no account required.

Your site deserves a Perfect Icon.

It takes less than a minute.

Create my favicon
Done