File StudioFile Studio
Open navigation

Guide

How to create a favicon from any image

A favicon is the small icon displayed in browser tabs, bookmarks, and search results. Creating one from an existing image requires specific sizes, formats, and considerations that most image editors do not handle natively.

By Ayush SoniApril 6, 2026

What files make up a modern favicon set

A complete favicon implementation in 2026 requires several files at different sizes. The classic favicon.ico file should contain 16x16, 32x32, and 48x48 pixel versions. Modern browsers also look for apple-touch-icon.png at 180x180 pixels for iOS home screen bookmarks, and a 192x192 and 512x512 PNG for Android devices and PWA manifests.

The ICO format is unique because it is a container that holds multiple sizes in a single file. The browser selects the most appropriate size from the ICO based on where the icon is being displayed (tab bar, bookmark bar, shortcut). This multi-resolution approach ensures the icon looks crisp at every size.

Additionally, some browsers support SVG favicons, which scale to any size without pixelation. If your icon can be represented as a vector graphic, an SVG favicon provides the sharpest result at all sizes.

Preparing your source image

Start with the highest resolution version of your logo or icon. Ideally, use a square image at least 512x512 pixels. If your source image is not square, you will need to decide whether to crop it or add padding to make it square, since favicons are always square.

Simplify the design for small sizes. A favicon at 16x16 pixels contains only 256 total pixels, which is not enough to render fine details, thin lines, or small text. Many companies use a simplified version of their logo (a single letter, a symbol, or a simplified mark) as their favicon rather than trying to shrink the full logo.

Consider how the icon looks on both light and dark browser themes. An icon with a transparent background looks different on Chrome's white tab bar versus Safari's dark mode tab bar. Testing on both backgrounds helps avoid surprises.

Preparing the PNG sizes with File Studio

File Studio does not create ICO files, but it handles the preparation work locally. Use Crop with the 1:1 preset to make your source square, then use Resize to export the PNG sizes you need: 180x180 for apple-touch-icon.png, 192x192 and 512x512 for Android and PWA icons, plus 16x16, 32x32, and 48x48 for the ICO. If your logo is an SVG, File Studio's SVG export can render it to PNG at each exact size for the sharpest result.

To build the multi-resolution favicon.ico, combine the small PNGs with a dedicated tool. On a Mac with Homebrew, ImageMagick's convert command can do this locally, or use a favicon generator you trust. Then add the HTML link tags for each file to your website's head section.

Because you export each size separately, you can use a slightly different framing at 16x16 (perhaps just a letter) versus 512x512 (the full logo mark).

Favicon formats and sizes in modern web development

The favicon landscape has evolved significantly from the original 16x16 ICO file. Modern websites need favicons in multiple formats and sizes: ICO (for legacy browser tab support, typically 16x16 and 32x32), PNG (for modern browsers, at 32x32, 192x192, and 512x512), SVG (for scalable favicons that work at any size), and Apple Touch Icon (180x180 PNG for iOS home screen bookmarks).

The ICO format is a container that can hold multiple image sizes in a single file. A well-structured favicon.ico contains both a 16x16 and a 32x32 version, allowing the browser to pick the appropriate size. Most browsers use the 32x32 version for high-DPI tabs, falling back to 16x16 on standard displays.

The web app manifest (manifest.json or manifest.webmanifest) references larger icons at 192x192 and 512x512 pixels. These are used when a user adds your website to their phone's home screen or when the site appears in an app switcher. These should be PNG files with the site icon on a transparent or solid-color background.

Designing an effective favicon from an existing image

A favicon at 16x16 pixels is extremely small, so the source image must be simple enough to remain recognizable at that size. Detailed photographs, full logos with text, and complex illustrations do not work well as favicons. The most effective favicons are simple geometric shapes, single letters, or iconic symbols with high contrast.

When starting from a full logo, extract the most recognizable element: the logomark without the wordmark. For example, Apple uses just the apple shape, Google uses the 'G', and Twitter/X uses the bird (or X). If your logo does not have a distinct symbol, use the first letter of your brand name in your brand's primary color.

File Studio does not generate ICO files, but it can produce the PNG sizes you need: crop to a square with the 1:1 preset, then resize to 16x16, 32x32, 180x180, 192x192, and 512x512, or render an SVG logo to PNG at each exact size. Combine the 16x16 and 32x32 PNGs into favicon.ico with a tool such as ImageMagick, then add the HTML link tags to your website's head section.

Pro tips

  • *Start with a square source image of at least 512x512 pixels for the best quality across all favicon sizes. Resizing down from a large source produces cleaner small icons than scaling up.
  • *Test your favicon at 16x16 pixels before finalizing. View it at actual size (not zoomed in) to confirm it is recognizable. Many designs that look good at 512x512 become an unrecognizable smudge at 16x16.
  • *Include both ICO and PNG favicon references in your HTML. Use '<link rel="icon" type="image/x-icon" href="/favicon.ico">' for legacy support and '<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">' for modern browsers.
  • *For dark mode support, consider providing separate favicons using the media attribute: '<link rel="icon" href="/favicon-dark.png" media="(prefers-color-scheme: dark)">' ensures your favicon looks good on both light and dark browser themes.
  • *Use an SVG favicon for the crispest rendering at any size: '<link rel="icon" type="image/svg+xml" href="/favicon.svg">'. SVG favicons are supported by all modern browsers and scale perfectly.

How to do it with File Studio

1

Start with a square source image

Use a high-resolution (at least 512x512) square image of your logo or icon. If it is not square, crop it with File Studio's 1:1 crop preset first.

2

Export the PNG sizes

Use File Studio's Resize tool (or SVG export for vector logos) to create apple-touch-icon.png (180x180), PWA icons (192x192 and 512x512), and 16x16, 32x32, and 48x48 PNGs for the ICO file.

3

Build the ICO and add the files to your website

Combine the small PNGs into favicon.ico with a tool such as ImageMagick, copy all the files to your website's root directory, and add the HTML link tags to your site's head section. Test in multiple browsers to verify the icon displays correctly.

Try File Studio free

All tools work 100% offline. No sign-ups, no uploads, no subscriptions. Download and start converting right away.

FAQ

Frequently asked questions

What size should a favicon be?→

A complete favicon set includes: favicon.ico containing 16x16, 32x32, and 48x48 versions; apple-touch-icon.png at 180x180; and PNG icons at 192x192 and 512x512 for Android and PWA use. Starting from a 512x512 source image ensures quality at all sizes.

Can I use a JPEG as a favicon?→

No. Favicons must be in ICO, PNG, or SVG format. JPEG is not a recommended favicon format. Use File Studio to convert your JPEG to PNG at the right sizes, then build the ICO with a dedicated tool if you need one.

Why does my favicon look blurry?→

Favicons are displayed at very small sizes (as small as 16x16 pixels). Fine details, thin lines, and small text become blurry at these dimensions. Use a simplified version of your logo with bold shapes and high contrast for the best results.

Do I need a separate favicon for dark mode?→

SVG favicons can include CSS media queries that change the icon's appearance based on the browser's color scheme. For ICO and PNG favicons, you get one version for all modes. If your icon uses a transparent background, test it on both light and dark backgrounds to ensure visibility.

AS

Ayush Soni

@ayysoni · April 6, 2026

Related File Studio tools:

More guides: