Design
Free favicon generator
Turn your logo, or a letter or emoji, into every icon a website needs: favicon.ico for browser tabs, an Apple touch icon for iPhone home screens, Android and maskable icons, favicon.svg and a web app manifest. Preview them in a browser tab and on a home screen, then download a ZIP with the code to paste and the steps for WordPress.
- favicon.ico, PNG and SVG
- Apple and Android icons
- WordPress steps
Free, no sign-up. Your image never leaves your browser.
Nothing you enter leaves your browser.
This tool runs in your browser and needs JavaScript. Turn JavaScript on and reload the page.
Favicon generator
Preview and download
In a browser tab
On a home screen
Approximate: each phone maker draws icons in its own shape and size.
Your files
Code for the <head> of your pages
For WordPress: functions.php code
Paste this below the first line (<?php) of your child theme's functions.php, or into a code snippets plugin. Only use it if you upload the files yourself: see the WordPress steps below.
manifest.webmanifest
Built from the settings above and your icons. To add a description, shortcuts, screenshots and more, and to check it, open the Web app manifest tab: what you set there is used here and in the ZIP.
Adding a favicon to WordPress
There are two ways. Pick one: using both prints two sets of icon tags.
The simple way: the Site Icon
- Download android-chrome-512x512.png. WordPress needs a square image at least 512 by 512 pixels.
- In WordPress 6.5 and later, go to Settings › General and choose Site Icon. In WordPress 4.3 to 6.4, go to Appearance › Customize › Site Identity. With a block theme you can also turn on Use as site icon in the Site Logo block's settings in the Site Editor.
- Save. WordPress makes 32, 180, 192 and 270 pixel copies and adds the icon tags to every page itself.
WordPress also answers requests for /favicon.ico by redirecting to the 32 pixel Site Icon, as long as there is no real favicon.ico file in the site's root. The Site Icon has no SVG, no maskable icon and no manifest, and it uses the same image everywhere, including as the iPhone home-screen icon, so a transparent logo gets no solid background there.
The full set: upload the files
- Download the ZIP and unzip it.
- Upload the files with SFTP or your host's file manager to the folder you entered above, except favicon.ico. For the root, that is the folder that holds wp-admin, wp-includes and wp-login.php (often public_html). Put favicon.ico in the root whatever folder you use: browsers ask for /favicon.ico on their own, and the code links it there.
- Remove the Site Icon in Settings › General (or the Customizer), so WordPress stops printing its own icon tags.
- Add the head code: paste the functions.php code into your child theme or a code snippets plugin, or the HTML into your theme's or SEO plugin's header code setting.
- Open your site in a private window to check. Browsers keep favicons for a long time, so an old icon can linger in your normal window.
Do not edit a parent theme's files: an update replaces them. Make a child theme first if you do not have one.
What each file is for
| File | Size | Used by |
|---|---|---|
favicon.ico | 16, 32 and 48 px | Every browser, and anything that asks for /favicon.ico without reading your page, such as feed readers. Each size is a PNG inside the icon file. |
favicon-16x16.png, favicon-32x32.png | 16 and 32 px | Browser tabs and bookmarks, on standard and high-resolution screens. |
favicon.svg | Any size | Chrome, Edge, Firefox and Safari 26 and later, which draw it sharp at every size. Made only from text: an uploaded SVG is turned into PNG files, never copied, because an SVG file can carry scripts. |
apple-touch-icon.png | 180 px | iPhone and iPad, when someone adds your site to the home screen. iPhone and iPad round the corners themselves, so this is a full square with a solid background. |
android-chrome-192x192.png, android-chrome-512x512.png | 192 and 512 px | Android home screens, install prompts and splash screens, through manifest.webmanifest. Chrome asks for at least these two sizes. |
maskable-icon-512x512.png | 512 px | Android launchers that cut icons to a shape. Listed in the manifest with "purpose": "maskable". |
manifest.webmanifest | Text | Your site's name, colours and icons for Android and installed web apps. |
Sources: web.dev: Add a web app manifest (opens in a new tab), web.dev: maskable icons (opens in a new tab), MDN: Define your app icons (opens in a new tab), Apple: Configuring Web Applications (opens in a new tab) and Google Search Central: favicons (opens in a new tab).
Preview and check
Approximate: each browser and system draws these its own way. Icons from the Favicon tab, or icons at a full https:// address, are shown; your browser loads such addresses directly.
manifest.webmanifest
Code for the <head> of your pages
If you also use the Favicon tab, its code already includes these lines: use one or the other.
For WordPress: functions.php code
Adding a manifest to WordPress
Upload the file and add the tags
- Download manifest.webmanifest and upload it with SFTP or your host's file manager to the folder you chose, with the icons it lists. For the root, that is the folder that holds wp-admin and wp-login.php.
- Add the head code: paste the functions.php code into your child theme or a code snippets plugin. It prints the tags with WordPress's esc_url() and esc_attr(), and builds addresses with home_url(), so they follow your WordPress address.
- Open the manifest's address in your browser to check it loads, then open your site in Chrome and look in DevTools › Application › Manifest for any warnings.
Some SEO and PWA plugins add their own manifest. Use only one: browsers read only the first manifest link on a page.
What a manifest does not do
A manifest describes the site; it does not make it work offline or send notifications. Those need a service worker, a script your site registers, which is separate from this file. Chrome's install criteria do not ask for one.
WordPress.org's PWA feature plugin, which added a service worker, has not been tested with the last three major WordPress releases, so check its status before relying on it.
Sources: MDN: Web app manifests (opens in a new tab), web.dev: install criteria (opens in a new tab), W3C: Web Application Manifest (opens in a new tab).
What you get
-
favicon.ico at 16, 32 and 48 pixels, plus 16 and 32 pixel PNG files
-
A 180 pixel Apple touch icon on a solid background
-
192 and 512 pixel Android icons and a maskable icon with a safe zone
-
favicon.svg for text icons, sharp at every size
-
manifest.webmanifest with your site's name and colours
-
The code for your head and the WordPress Site Icon steps
How to make a favicon
-
Choose your image or type a letter
Choose a square logo at least 512 pixels wide, or an SVG, or type one or two letters or an emoji. Pick the shape, the colours and how much space to leave around it.
-
Check the previews
See your icon at its real size in a light and a dark browser tab, and on iPhone and Android home screens. The notes point out anything to fix, such as an image that is too small to look sharp.
-
Download and add it to your site
Download the ZIP, upload the files to your site and paste the code into the head of your pages, or upload the 512 pixel icon as the WordPress Site Icon. The steps for both are under the tool.
The favicon files a website needs today
Browsers, phones and search engines each look for their own icon. Browsers show favicon.ico or a PNG in the tab, and most current browsers also read favicon.svg. iPhones and iPads use apple-touch-icon.png when someone adds your site to the home screen. Android and Chrome read the icons listed in the web app manifest, manifest.webmanifest, and need at least a 192 and a 512 pixel icon. The Web app manifest tab builds and checks that file in full. Google Search shows your favicon next to your pages and asks for one larger than 48 pixels. This generator makes that set and nothing you do not need.
Maskable icons and the safe zone
Android cuts home-screen icons to the shape the phone maker chose: a circle, a squircle or a rounded square. A maskable icon fills the whole square with your background colour and keeps the artwork inside the safe zone, a circle 80% as wide as the icon, so nothing important is cut off. Without one, Android shrinks your icon onto a white circle.
Private by design
Your image is read and drawn by your own browser and is never uploaded. Every file is drawn fresh on a canvas, so nothing from the original file is copied into your downloads. An uploaded SVG is turned into PNG files only: SVG files can carry scripts, so the generator never passes one through to your site.
Frequently asked questions
Is the favicon generator free?
Yes. There is no sign-up and no watermark, and you can make as many icons as you like.
Is my image uploaded anywhere?
No. Your browser reads the image and draws every icon on this device. The image is never sent to this site or anywhere else. To count how the tool is used, this site is told only that icons were made, copied or downloaded, never anything about your image.
What size should my favicon image be?
Use a square image at least 512 by 512 pixels, or an SVG. The largest icons are 512 pixels, so a smaller image has to be enlarged and looks soft. The WordPress Site Icon also needs at least 512 by 512 pixels.
How do I add a favicon to WordPress?
The simplest way is the Site Icon. In WordPress 6.5 and later go to Settings, then General, and choose Site Icon; in older versions go to Appearance, Customize, Site Identity. Upload the 512 pixel icon and WordPress makes the sizes it needs. For the full set, including favicon.svg and the maskable icon, upload the files to your site and add the code to your child theme, as the steps under the tool explain.
Where do I put favicon.ico?
In the root of your site, the folder that holds wp-admin and wp-login.php on WordPress, so it opens at your domain followed by /favicon.ico. Browsers and other software ask for that address even when your pages do not link to it.
Why does my old favicon still show?
Browsers keep favicons for a long time. Open your site in a private window, or clear the browser's cache, to see the new one. If WordPress still shows the old icon, check that the Site Icon is removed when you use your own files, and clear any caching plugin or CDN cache.
What is a maskable icon?
An Android icon made to be cut to any shape. It fills the whole square with a background colour and keeps the artwork inside a circle 80% as wide as the icon, so the phone can show it as a circle, squircle or rounded square without cutting anything off.
Why is there no favicon.svg when I upload an SVG?
An SVG file can contain scripts that run when someone opens it directly on your domain. To keep your site safe, the generator turns an uploaded SVG into PNG and ICO files and never copies it. A favicon.svg is made only from the text you type, so it contains nothing but your letters and colours.
Related tools
-
Create a WordPress child theme with style.css, functions.php and a ZIP download.
-
Colour palette generator
New (added recently)Browse 240 colour palettes or build one from your brand colour, each with a dark mode version, contrast checks and code to copy.
-
SEO report
New (added recently)Check one page’s SEO basics and PageSpeed, then download the report as a PDF.
-
Email signature generator
New (added recently)Make an HTML email signature that works in Outlook, Gmail and Apple Mail, with a desktop, mobile and dark mode preview.