Free2BoxFree2Box
Back to Blog
tutorials

How to Create a Favicon: Complete Guide for Website Icons

Learn how to create favicons for your website in all required sizes. Understand favicon formats, sizes (16x16, 32x32, 180x180), and generate them easily with Free2Box.

Free2Box TeamPublished 2/19/20269 min read
faviconwebsiteiconweb-development

What Is a Favicon and Why Does Every Website Need One?

A favicon, short for "favorite icon," is the small icon that appears in browser tabs, bookmarks, history lists, and search results next to your website's name. Despite being tiny, typically just 16x16 or 32x32 pixels, favicons play a surprisingly important role in your website's identity and user experience.

Open any browser right now and look at your tabs. Each tab displays a small icon that helps you quickly identify which website it belongs to. Without a favicon, your site shows a generic browser icon, which looks unprofessional and makes it harder for users to find your tab among many open pages.

Here is why favicons matter:

  • Brand recognition: Your favicon is a miniaturized version of your brand identity that users see constantly while browsing.
  • Professionalism: A website without a favicon looks incomplete and amateur. It is one of the small details that signals quality.
  • Tab navigation: With users routinely having 10, 20, or more tabs open, a distinctive favicon helps them quickly locate your site.
  • Bookmarks and favorites: When users bookmark your site, the favicon appears next to the bookmark entry, reinforcing your brand.
  • Mobile home screens: When users add your website to their phone's home screen, the favicon (or a larger variant) serves as the app icon.
  • Search results: Some search engines and browsers display favicons in search results, making your listing more visually prominent.

Free2Box's favicon generator creates all the sizes you need from a single source image, processed entirely in your browser with no file uploads to external servers.

Understanding Favicon Sizes and Formats

One of the most confusing aspects of favicons is that you need multiple sizes for different contexts. Here is a comprehensive breakdown of the sizes you should generate:

Essential Sizes

| Size | Format | Purpose | |------|--------|---------| | 16x16 | ICO/PNG | Browser tab icon (standard) | | 32x32 | ICO/PNG | Browser tab icon (high-DPI) | | 48x48 | PNG | Windows site shortcuts | | 180x180 | PNG | Apple Touch Icon (iOS home screen) | | 192x192 | PNG | Android Chrome icon | | 512x512 | PNG | Android Chrome splash screen |

Additional Sizes

| Size | Format | Purpose | |------|--------|---------| | 96x96 | PNG | Google TV icon | | 128x128 | PNG | Chrome Web Store | | 144x144 | PNG | Windows 8+ tile | | 152x152 | PNG | iPad Retina | | 167x167 | PNG | iPad Pro | | 384x384 | PNG | PWA icon |

The ICO Format

The traditional ICO file format is unique because it can contain multiple image sizes within a single file. A favicon.ico file typically includes 16x16, 32x32, and 48x48 pixel versions. When a browser requests the favicon, it selects the most appropriate size from the ICO file. While modern browsers support PNG favicons, including an ICO file ensures maximum compatibility with older browsers.

Do not skip the Apple Touch Icon (180x180). If you do not provide one, iOS devices will generate a thumbnail of your website as the home screen icon, which almost always looks terrible.

How to Create Favicons with Free2Box

Follow this step-by-step guide to generate a complete set of favicons for your website:

Step 1: Prepare Your Source Image

Start with a high-quality, square source image. This should be your logo, brand mark, or a simplified version of your brand identity. Key requirements:

  • Square aspect ratio: Favicons are square, so your source image should be too. If your logo is not square, consider using just the icon portion or creating a square variant.
  • High resolution: Start with at least 512x512 pixels. Larger is better since the tool will scale down to create smaller sizes.
  • Simple design: Remember that your favicon will be displayed as small as 16x16 pixels. Complex designs with fine details will not be legible at that size. Bold shapes, simple icons, and high contrast work best.
  • Transparent background (optional): If you want your favicon to work on any browser theme (light or dark), use a PNG with a transparent background.

Step 2: Open the Favicon Generator

Navigate to the Free2Box Favicon Generator in your browser. No account or installation needed.

Favicon Generator
Generate favicons in all sizes for your website — free and instant

Step 3: Upload Your Source Image

Click the upload area or drag and drop your source image. The tool accepts PNG, JPG, SVG, and other common image formats. Once uploaded, you will see a preview of your image.

Step 4: Configure Generation Settings

Customize your favicon output:

  • Background color: If your source image has transparency, choose whether to keep it transparent or fill it with a specific background color. Transparent backgrounds work well for most use cases.
  • Padding: Add padding around your icon if it extends to the edges of the image. A small amount of padding (about 10% of the image size) prevents the icon from looking cramped in browser tabs.
  • Rounding: Some platforms display icons with rounded corners. Preview how your icon looks with different rounding options.
  • Sizes to generate: Select which sizes you need. The tool typically generates all standard sizes by default, but you can customize this.

Step 5: Preview at Different Sizes

Before generating, preview how your favicon will look at various sizes. Pay special attention to the 16x16 pixel version, as this is where readability is most challenging. If your icon is not recognizable at 16x16, consider simplifying the design.

If your logo does not work well at 16x16 pixels, consider using just the first letter of your brand name or a simplified symbol instead. Many major companies use simplified versions of their logos for favicons.

Step 6: Generate and Download

Click Generate to create your complete favicon set. The tool will produce all selected sizes plus the ICO file. Download the package as a ZIP file containing all generated icons.

Step 7: Add Favicons to Your Website

After downloading your favicon files, you need to add them to your website. Place the files in your website's root directory (or a designated images folder) and add the following HTML to the <head> section of your pages:

<!-- Standard favicon -->
<link rel="icon" type="image/x-icon" href="/favicon.ico">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">

<!-- Apple Touch Icon -->
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">

<!-- Android Chrome -->
<link rel="icon" type="image/png" sizes="192x192" href="/android-chrome-192x192.png">
<link rel="icon" type="image/png" sizes="512x512" href="/android-chrome-512x512.png">

For Progressive Web Apps (PWAs), you will also need a site.webmanifest file that references your icons:

{
  "name": "Your Website",
  "short_name": "YourSite",
  "icons": [
    {
      "src": "/android-chrome-192x192.png",
      "sizes": "192x192",
      "type": "image/png"
    },
    {
      "src": "/android-chrome-512x512.png",
      "sizes": "512x512",
      "type": "image/png"
    }
  ],
  "theme_color": "#ffffff",
  "background_color": "#ffffff",
  "display": "standalone"
}

Design Tips for Effective Favicons

1. Keep It Simple

At 16x16 pixels, there is no room for detail. Use bold, simple shapes with strong color contrast. Think about what makes your brand recognizable at a glance and distill it to its simplest form.

2. Use Bold Colors

Favicons are tiny, so subtle color differences will be lost. Use your brand's primary color prominently. High contrast between the icon and the background ensures visibility.

3. Test on Both Light and Dark Backgrounds

Modern browsers and operating systems support both light and dark themes. Your favicon should be visible and recognizable on both backgrounds. A transparent background icon that is dark will disappear on dark mode, and vice versa. Consider adding a subtle background color or outline to ensure visibility in both modes.

4. Avoid Text (Usually)

Unless your brand is represented by a single letter or very short abbreviation, avoid putting text in your favicon. Text becomes unreadable at 16x16 pixels. A single bold letter can work well, as demonstrated by brands like Facebook (f), Google (G), and Netflix (N).

5. Match Your Brand

Your favicon should be instantly associated with your website. It should use your brand colors and represent your visual identity, even if it is a simplified version of your full logo.

6. Test in Context

Preview your favicon in an actual browser tab alongside other popular websites. Does it stand out? Is it recognizable? Can you find your tab quickly among a dozen others?

Common Favicon Mistakes

  • Using a full logo: Detailed logos become unrecognizable blobs at favicon sizes.
  • Ignoring Apple Touch Icons: This results in ugly auto-generated thumbnails on iOS home screens.
  • Only providing one size: Different devices and contexts need different sizes for optimal display.
  • Using a non-square image: This causes distortion or awkward cropping.
  • Forgetting to update: If you rebrand, remember to update your favicon to match your new identity.

Alternative Methods for Creating Favicons

Other tools and approaches for favicon creation include:

  • RealFaviconGenerator: A popular online tool that generates favicons for all platforms. However, it uploads your image to their servers.
  • Figma/Sketch: Design your icon at multiple sizes with full creative control. Requires exporting each size manually.
  • Adobe Photoshop: Can create ICO files with a plugin. Offers complete control but requires manual size management.
  • favicon.io: Another online generator that supports text-based, image-based, and emoji favicons.
  • Command line (ImageMagick): Can generate ICO files with multiple sizes embedded. Requires technical knowledge.

Free2Box streamlines the process by generating all necessary sizes from a single source image, entirely within your browser.

Related Tools

Favicon Generator
Generate favicons in all sizes for your website
Image Compressor
Compress images without losing quality
PNG to JPG Converter
Convert PNG images to JPG format

Conclusion

A favicon may be one of the smallest elements on your website, but its impact on brand recognition, professionalism, and user experience is significant. Getting it right means generating the correct sizes for all platforms and devices, from the tiny 16x16 browser tab icon to the 512x512 Android splash screen icon. Free2Box's favicon generator takes the complexity out of this process: upload one source image, and download a complete set of favicon files ready to deploy. Take a few minutes to set up your favicon properly, and your website will look more polished and professional across every browser, device, and platform.