Favicon Generator: Make a Favicon From Text, an Emoji or an Image
What is a favicon?
A favicon is the little icon next to your page title in a browser tab. It also shows up in bookmarks, in your
history, next to your site in some search results, and as an app icon when someone adds your site to their phone’s
home screen. When a site has none, the browser shows a plain gray globe, which is easy to lose among 20 open tabs.
A Acme Store 🚀 Launch notes JD Jane Doe, Designer
This generator makes all the files a site needs from a letter or two, an emoji, or your own logo, and writes the
HTML that links them. Everything is drawn in your browser.
How to Make a Favicon, Step by Step
Five short steps. Your last icon is remembered for next time.
Step 1 Pick Text, Emoji or Image
Type one to three letters (your initials or the first letter of your brand), pick an emoji from the list or
paste your own, or choose Image and open a PNG, JPG, SVG, WebP or GIF. Your image is read in
your browser and never uploaded. A preset is a quick place to start.
Step 2 Choose the Look
Set the font, weight and text color, then the background color (or turn on Transparent
background). Pick a square, rounded or circle shape and add a border if you like.
Step 3 Check It at 16 Pixels
Use Size, Move right and Move down to fill the square
nicely. Watch the light and dark browser tabs: that’s the size most people will see. The home screen preview
shows the big versions.
Step 4 Download the Files
Press Download all (.zip) for every file in one go, or download single files. Put them in your
site’s root folder, next to your home page.
Step 5 Paste the HTML
Copy the link tags and paste them inside <head> on every page. If the files live in a
folder like /assets/icons/, type it in Folder for the files first and the paths
update.
💡 Don’t see the new icon? That’s almost always the browser’s cache. Open the page in a private window. More
on that below.
Which Favicon Files Do You Need Today?
You’ll find old guides that list 20 or more icon sizes. Browsers have moved on, and a small set covers what people
use now. This is the set the generator makes:
| File | Size | Who uses it |
favicon.ico | 16, 32 and 48 px in one file | Every browser, plus tools and crawlers that just ask for /favicon.ico |
icon.svg | Any size (it’s a drawing) | Modern browsers that support SVG favicons. Sharp at every size |
apple-touch-icon.png | 180 × 180 | iPhone and iPad, when someone adds your site to the home screen |
icon-192.png | 192 × 192 | Android home screen, listed in site.webmanifest |
icon-512.png | 512 × 512 | Splash screen when your site is installed as an app, listed in site.webmanifest |
site.webmanifest | A small text file | Tells Android and installed web apps your name, colors and icons |
Browsers change, so treat this as a sensible default, not a law. If you only want the bare minimum, a
favicon.ico in the root folder works in every browser even without a link tag, because browsers ask for
/favicon.ico on their own when a page doesn’t name an icon.
The zip also has favicon-16x16.png, favicon-32x32.png and favicon-48x48.png.
They’re the same pictures that are inside favicon.ico, kept as spare copies for tools and site builders that ask
for a PNG. No tag needs them, so the HTML leaves them out.
How to Add a Favicon in HTML
Favicons are linked with <link> tags in the <head> of your page. Here’s a
whole small page with the tags in place:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>My Website</title>
<link rel="icon" href="/favicon.ico" sizes="32x32">
<link rel="icon" href="/icon.svg" type="image/svg+xml">
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
<link rel="manifest" href="/site.webmanifest">
</head>
<body>
...
</body>
</html>
- Put the tags on every page. Each page names its own icon. A shared header template or layout
file is the easy place for them.
- The slash at the start matters.
/favicon.ico means “from the root of the site”, so
it works on /blog/post-1 too. Without the slash, the browser looks in the current folder.
- Why
sizes="32x32" on the .ico? Some browsers pick the .ico over the SVG when it
says sizes="any", so this small trick lets browsers that support SVG favicons choose
icon.svg.
- Keep site.webmanifest next to the icons. The icon paths inside it are plain file names like
icon-192.png, and browsers read them from the folder the manifest is in.
- WordPress, Shopify and most site builders have a favicon or “Site icon” setting instead.
Upload one of the PNGs there (WordPress asks for at least 512 × 512, so use
icon-512.png).
Starting a new page from scratch? The HTML Starter Template gives you a clean
page with the favicon tags already in it, and the Meta Tag Generator writes the
title, description and social preview tags that go next to them.
How to Make a Favicon From Text or an Emoji
A letter on a colored square is the classic favicon, and it’s a good one: easy to spot and clear at any size. A few
things help it read well in a tiny tab:
One or two letters
At 16 px a letter is about 10 pixels tall. One bold letter reads well, two still work, three get hard to make out.
A AB ABC
Bold beats thin
Thin strokes turn into gray blur when they’re shrunk. Pick a weight of 700 or more for letters.
K K
Strong contrast
White on blue or lime on near-black stands out. Light gray on white disappears. The generator warns you when
the two colors are too close. The HTML Color Picker checks any pair.
Fill the square
Favicons are tiny, so leave only a little space around the letter. Try Size at 60 to 80% for
one letter. Transparent icons need even less padding.
Emoji favicons
An emoji makes a fun favicon with no design work at all. One thing to know: an emoji is a character, and every
system draws its own version. 🚀 on an iPhone isn’t the same picture as 🚀 on Windows. The PNG and ICO files from
this page are pictures drawn with your device’s emoji, so everyone sees that version. An SVG favicon with
an emoji in it is drawn by each visitor’s device, so it changes from one system to the next.
For a quick test page you can even skip the files and put an emoji SVG right in the tag:
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🚀</text></svg>">
The %22 parts are quote marks written so they don’t end the href. It only works in
browsers that support SVG favicons, so for a real site use the files.
Dark Mode Favicons
A dark icon can vanish on a dark tab bar. Because icon.svg is a small drawing, it can carry its own
CSS, including a dark mode rule. Open the downloaded file in a text editor and add a <style>
block like this:
ALight tab bar ADark tab bar
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100">
<style>
.bg { fill: #0b0f19; }
.fg { fill: #ffffff; }
@media (prefers-color-scheme: dark) {
.bg { fill: #f9fafb; }
.fg { fill: #0b0f19; }
}
</style>
<rect class="bg" width="100" height="100" rx="22"/>
<text class="fg" ...>A</text>
</svg>
Treat it as a nice extra. The media query follows the color scheme the browser reports (usually your system’s
light or dark setting), and some browsers only check it when the page loads. The .ico and PNG files can’t change, so pick colors that work
on both: a colored background square is the safest choice.
Why Your Favicon Doesn’t Update
You uploaded the new icon, reloaded, and the old one is still there. Browsers keep favicons in their own cache,
separate from the page, and hold on to them for a long time. Try these in order:
- Open the page in a private (incognito) window. If the new icon shows there, it’s just the cache.
- Do a hard refresh: Ctrl + Shift + R on Windows and Linux, Cmd + Shift + R on a Mac.
- Open the icon itself, like
https://yoursite.com/favicon.ico. If that shows an error, the file isn’t where the tag points. -
Change the file’s address so browsers see it as new, for example
href="/favicon.ico?v=2", or give the
file a new name.
- Search results update on the search engine’s own schedule, which can take days or weeks.
What This Generator Can’t Do
- No animated favicons. Many browsers show only the first frame of a GIF favicon anyway.
-
It doesn’t make an
icon.svg from an uploaded image. Turning a photo or PNG into a real vector drawing
needs a design tool, so in image mode you get favicon.ico and the PNGs (which is all you need).
-
The fonts in
icon.svg are only names. A visitor who doesn’t have the font gets a similar one, so the
PNG and ICO files are the ones that look exactly like the preview.
-
It doesn’t make Android “maskable” icons with a safe zone. When someone installs your site, Android usually
shrinks icons that aren’t marked maskable onto a white circle or rounded square, which is what the home screen
preview shows.
- It can’t check that your server sends the files. Open the file’s address after you upload to make sure.
Next steps: build the rest of your page’s head with the HTML Starter Template
and the Meta Tag Generator, or pick brand colors with the
HTML Color Picker.
Frequently Asked Questions
What is a favicon?
It’s the small icon a browser shows next to your page title in the tab, in bookmarks and in history. Search engines can show it next to your site in results too, and phones use a bigger version when someone adds your site to their home screen. It’s usually your logo, a letter or a simple symbol.
How do I add a favicon to my website?
Put the files in your site’s root folder (so favicon.ico is at https://yoursite.com/favicon.ico), then paste the link tags into the <head> of every page: <link rel="icon" href="/favicon.ico" sizes="32x32">, <link rel="icon" href="/icon.svg" type="image/svg+xml">, <link rel="apple-touch-icon" href="/apple-touch-icon.png"> and <link rel="manifest" href="/site.webmanifest">. If your files are in another folder, change the folder box in the generator and it rewrites the paths.
Which favicon sizes do I really need?
For most sites today a small set is enough: favicon.ico with 16, 32 and 48 px inside for browsers and tools that look for /favicon.ico, icon.svg for modern browsers, a 180 x 180 apple-touch-icon.png for iPhones and iPads, and 192 and 512 px PNGs listed in site.webmanifest for Android and installed web apps. You don’t need a separate tag for every size, and old lists with 20 or more files come from a time when browsers needed them.
Can I make a favicon from an emoji?
Yes. Switch to Emoji, pick one from the list or paste any emoji, and choose a background or leave it transparent. The PNG and ICO files are drawn with your own device’s emoji font, so they look exactly like the preview for everyone. The SVG favicon is different: it asks each visitor’s device to draw the emoji, so the same emoji can look a little different on Windows, Mac and Android.
Why is my favicon not showing or not updating?
Browsers keep favicons for a long time, often longer than the page itself. Open your site in a private window or a new tab, or do a hard refresh (Ctrl+Shift+R, or Cmd+Shift+R on a Mac). Also check that the file really opens at the address in your link tag, that the tags are inside <head>, and that you uploaded the new files. Changing the file name or adding ?v=2 to the href makes browsers fetch it again.
Do I still need favicon.ico if I have an SVG favicon?
It’s a good idea to keep it. Not every browser uses SVG favicons (older Safari versions don’t, for example), and lots of tools such as feed readers and some search crawlers just ask for /favicon.ico at the root of your site. A small favicon.ico next to icon.svg covers both.
Is my image uploaded anywhere?
No. Your image is read and drawn in your own browser, and the files are made there too. Nothing is sent to our server. The page keeps your settings in your browser’s local storage so they’re still there next time, plus a small copy of your image if it’s under about 200 KB. Remove the image to delete that copy.
What is an apple-touch-icon?
It’s the 180 x 180 PNG that iPhones and iPads use when someone adds your site to their home screen. iOS rounds the corners itself and shows see-through parts as black, so the generator makes this file as a full square with a solid background (white if you picked transparent). Link it with <link rel="apple-touch-icon" href="/apple-touch-icon.png">.