⭐

JPG to ICO

✓ Free & no signup 🔒 Runs 100% in your browser Updated 2026-11-25 Images Editing Tools
🖼️

Drag & drop your image here
or click to choose a file

A logo that lives as a JPG can become your site's favicon in about a minute. Browsers, bookmark managers, Google search results, and Windows shortcuts all draw from the humble favicon.ico file, and an ICO is what those systems expect to find when your markup is not consulted. This tool converts your JPG into a spec-compliant ICO directly in the browser, wrapping your image inside the container as a PNG-compressed frame, the same structure Windows has supported since Vista. Nothing is uploaded, so your logo and branding stay on your machine throughout.

The mechanics are simple: drop in the JPG, run the conversion, download the .ico file, and place it in your site's root directory as favicon.ico. The tool displays a preview and the resulting file size before you download, so there are no surprises when the icon goes live.

The real work happens before conversion, and it is worth saying plainly: favicons fail at small sizes, not at conversion. A JPG photo of your storefront or a wordmark photographed on paper will turn into gray mush once the browser scales it to 16 pixels on a tab. What works is a simplified, squared, high-contrast version of your mark. Preparing that source image is the difference between an icon that reads instantly and one that looks like static.

What Is an ICO File and What Is Inside It?

ICO is Microsoft's icon container format. The file opens with a 6-byte directory header stating how many images it contains, followed by a 16-byte entry per image recording dimensions and byte offsets, followed by the image data itself. Since Windows Vista, that image data may be an ordinary PNG stream, and that is what this tool embeds: your converted pixels are stored PNG-compressed inside the container, keeping the artwork crisp while the outer shell satisfies every consumer that demands the .ico extension. Container overhead is negligible, roughly 22 bytes, so the ICO is essentially the size of your PNG-compressed artwork.

The container concept explains the format's longevity. A single .ico can list multiple sizes so each program grabs its ideal frame, but for favicon use a single high-resolution frame works well because browsers scale it cleanly. The ICO's job is compatibility: the automatic /favicon.ico request browsers make, desktop shortcuts saved by users, taskbar pins, and assorted bookmarking tools all check for this exact file type regardless of what your HTML declares.

Where Your Favicon Will Actually Appear

  • Browser tabs and bookmarks: rendered at 16 to 32 pixels, where every design decision is magnified and clutter becomes noise.
  • Google search results: mobile listings display your favicon at about 48 pixels, and Google expects a square file reachable at a well-known location.
  • Windows shortcuts and taskbar: when users save your site to the desktop or pin it, Windows pulls favicon.ico and renders it at sizes up to 256 pixels.
  • Browser history and reading lists: dense UI panels where your icon appears among dozens of others and needs to stand out through shape and color, not detail.

The pattern across all of these is a filled square viewed small. Design for the 16-pixel case first and the larger contexts take care of themselves.

Preparing a JPG for Icon Duty

  • Square it up. Icons render in square boxes. Crop to equal width and height, centered on the mark, rather than letting the converter decide where to letterbox. A 400 x 400 crop of your logomark is a fine target.
  • Simplify the artwork. Strip thin rules, small text, and interior detail that disappears below 32 pixels. Many brands ship a favicon variant containing only the symbol, not the full wordmark, precisely because a wordmark at 16 pixels reads as a blur.
  • Push contrast. The icon must survive on both light and dark browser chrome. A dark mark on a transparent or white background vanishes in dark mode; a filled rounded-square background in a strong brand color behind a light mark solves this cleanly.
  • Leave breathing room. Some consumers mask icons into circles or rounded squares. A margin of roughly 6 to 8 percent on each side prevents your artwork from being clipped at the edges.
  • Avoid photographs as the icon itself. A product photo or building shot loses structure at small sizes. If photography is central to your brand, place a simplified symbol over a solid brand-colored background instead.

How to Convert JPG to ICO (Step by Step)

  1. Crop and simplify your logo into a square JPG, ideally 400 x 400 or larger, with the mark centered and contrast strong.
  2. Drop the JPG into the upload area, or click to select it. PNG, WebP, BMP, and GIF inputs work too.
  3. Run the conversion. The image is wrapped in an ICO container with a PNG-compressed frame, all locally in your browser.
  4. Download the .ico file and upload it to your site root as favicon.ico.
  5. Check the live result in a normal tab and in private browsing, then append a version query such as /favicon.ico?v=2 if the cached old icon persists.

Expected File Sizes

Because the ICO embeds PNG-compressed data, output size tracks your artwork's complexity. A flat logomark converted from a 400 x 400 JPG typically lands at 15 to 25 KB. A detailed illustration with gradients and photographic texture can reach 80 to 150 KB, which is still small by web standards but wasteful for an icon. Flattening the source before converting, solid background, limited colors, no gradients, shrinks the embedded PNG substantially since large uniform areas compress almost for free. One note on sources: JPG compression artifacts around edges become permanently visible once scaled down, so if a cleaner master exists in any format, convert from that instead.

Tips and Best Practices

  • Test the final icon at 16 pixels before deploying. View the downloaded file with icons set to small, or scale your preview down deliberately, and confirm the mark is recognizable.
  • Convert from the cleanest source available. A JPG photographed from paper or exported at quality 60 will carry artifacts into every render of your favicon.
  • Deploy the file at your site root so it is served at yourdomain.com/favicon.ico, the path browsers probe automatically even without a link tag.
  • Do not simply rename a JPG to .ico. The container structure is real, and strict consumers will reject a mislabeled file; use a genuine converter like this one.
  • When rebranding, expect caching delays. Browsers and proxies hold favicons aggressively, so version the URL or ship a filename change to force the update through.

Frequently Asked Questions

Can I make a favicon from a JPG?
Yes. This tool wraps your JPG in a standard ICO container with PNG-compressed image data, producing a valid favicon.ico that browsers and Windows accept. Crop the JPG to a square first, ideally 400x400 or larger, and simplify the artwork so it stays legible at 16 pixels. Then place the downloaded file in your site root as favicon.ico. Because the conversion runs in your browser, your logo never leaves your device during the process.
What size should my favicon image be?
Work from a square source between 256 and 512 pixels. That range gives the browser plenty of data to scale down cleanly to the sizes actually requested: 16 pixels for tabs, 32 for bookmarks, 48 for Google search results, and up to 256 for Windows shortcuts. Larger sources just add file size without improving any display. More important than raw size is the artwork itself: a bold, simple mark with strong contrast beats a detailed image at any resolution once the icon shrinks to tab scale.
Why does my favicon look blurry or unreadable?
Almost always because of the source image. A detailed logo, a photograph, or a low-resolution JPG contains detail and compression artifacts that become visible mush when scaled to 16 or 32 pixels. Thin lines merge, small text disappears, and gradients turn muddy. Fix the source rather than the converter: use a crisp square crop of a simplified mark at 256 pixels or larger, and verify it at 16 pixels before deploying. Aggressive browser caching can also show an old blurry icon until you force a refresh.
Where do I put the favicon.ico file?
In your website's root directory, so it is served at yourdomain.com/favicon.ico. Browsers probe that exact path by convention even when no link tag in your HTML points at it, and Google also looks for a well-known favicon location for search results. If you use icons in multiple sizes or formats, declare them explicitly with link rel=icon tags, but keep the root favicon.ico anyway for the consumers that never read your markup. Verify by opening the URL directly in a browser.
Is ICO the same as PNG for favicons?
No, though they are related. A PNG favicon is declared through HTML and works in modern browsers, but it is ignored by the automatic /favicon.ico request, Windows desktop and taskbar shortcuts, and various bookmarking tools that expect the ICO container. An ICO is a container format that since Windows Vista can hold PNG-compressed image data inside, so you keep the crisp encoding while gaining compatibility with every consumer. The robust deployment is a genuine favicon.ico in the site root, with PNG variants declared in HTML for extra sizes.
How big should a favicon.ico file be?
Somewhere between 10 and 50 KB is typical and perfectly fine. The ICO stores your image PNG-compressed inside the container, so output size reflects artwork complexity: a flat logomark lands around 15 to 25 KB, while a gradient-heavy illustration can exceed 100 KB. Favicons are fetched rarely and cached heavily, so even a larger file has minimal performance impact, but flattening gradients and limiting colors before converting shrinks the file for free. Anything above roughly 300 KB signals the source needs simplifying.

Related Tools