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.
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.
Generating favicon files with File Studio
File Studio can generate a complete set of favicon files from a single source image. Drop your logo or icon into the app, select the favicon generation mode, and File Studio creates all the required sizes and formats in one operation.
The app uses high-quality downscaling algorithms optimized for small sizes, which matters a lot at 16x16 pixels where every pixel counts. It also generates the HTML link tags you need to add to your website's head section.
For advanced use cases, you can adjust the crop and padding for each size independently. This lets you show 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's favicon generator takes your source image and produces all required sizes at once: 16x16 ICO, 32x32 ICO, 180x180 Apple Touch Icon, 192x192 PNG, and 512x512 PNG. It also generates the necessary HTML link tags for your website's head section, ready to copy and paste.
Pro tips
- *Start with a square source image of at least 512x512 pixels for the best quality across all favicon sizes. File Studio will downsample to smaller sizes with proper anti-aliasing.
- *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
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 or pad it in File Studio first.
Generate the favicon set
Drop the image into File Studio and select favicon generation. The app creates all required sizes: favicon.ico (multi-resolution), apple-touch-icon.png (180x180), and PWA icons (192x192 and 512x512).
Add the files to your website
Copy the generated files to your website's root directory. Add the HTML link tags (provided by File Studio) 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 supported for favicons by any browser. Use File Studio to convert your JPEG to the proper favicon formats.
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.
@ayysoni · April 6, 2026
Related File Studio tools:
More guides: