Home JPG to ICO

JPG to ICO

Turn a JPG photo into a favicon.ico file at 16, 32, 48, 64, 128 or 256 px — 100% in your browser.

Source

Drop your JPG file here

or click to browse

.jpg.jpeg

Options

Original (JPG)
Converted (ICO)

What is JPG?

JPG (also written JPEG, from the Joint Photographic Experts Group that created it) is a universal image format standardised in 1992. It uses lossy compression based on the discrete cosine transform (DCT) to dramatically reduce the file size of photographs and continuous-tone images. JPG is the most widely deployed image format in the world: every modern browser, operating system, image viewer, office application, social network and email client can open and display JPG files natively, without any additional software or plugin. This near-100% compatibility is the reason JPG is still the default exchange format for photographic imagery.

The trade-off for that small size and universal support is that JPG does not support alpha-channel transparency, animation, or lossless encoding, and repeated re-encoding introduces generation loss. For favicon use, however, those limitations rarely matter — a single photo-like icon can be exported as a JPG source and converted into an .ico file with no visible loss at the small sizes favicons use.

What is ICO?

ICO is the historical icon container format introduced by Microsoft in 1985 for the Windows 1.0 operating system. An .ico file is not a single image format — it is a small container that can hold one or more bitmaps or PNG-compressed images at different sizes (typically 16×16, 32×32, 48×48, 64×64, 128×128, and 256×256) and color depths. Browsers, the Windows shell, bookmark managers, and desktop shortcuts all look for an .ico file (commonly favicon.ico) at the root of a website to display the site's icon in tabs, history lists, the address bar, and the desktop.

Although modern browsers can also use PNG, SVG, and WebP favicons via the <link rel="icon"> tag, the .ico format remains the most universally recognised favicon container. Older browsers and many third-party tools (bookmark managers, feed readers, RSS clients, desktop link generators) still request /favicon.ico by default, so placing a real .ico file at that URL is the safest way to guarantee every visitor sees your icon. This tool produces a single-size .ico file containing a PNG-compressed image at the size you choose.

JPG vs ICO comparison

JPG and ICO serve different purposes: JPG is a single-image photographic format optimised for small file size, while ICO is a multi-image container designed specifically for icons and favicons. The table below summarises the key differences between the JPG and ICO formats.

FeatureJPGICO
Year introduced19921985
Format typeSingle raster imageMulti-image icon container
CompressionLossy (DCT)BMP or PNG embedded
TransparencyNoYes (via embedded PNG)
Typical usePhotos, web imagesFavicons, app icons, shortcuts
Multiple sizes in one fileNoYes
Browser supportAll modern browsersAll browsers (legacy favicon format)
Default request URL/favicon.ico

In short, JPG is the most compatible photographic source format and ICO is the canonical favicon container. Converting a JPG image to an .ico file ensures the icon is recognised by every browser, bookmarking tool, and desktop shortcut generator — including the legacy ones that still look for /favicon.ico.

When to use JPG to ICO conversion

There are many situations where converting a JPG image to an .ico file is the right choice. Whenever you need a favicon or an icon that must be recognised by the broadest possible range of browsers, tools, and platforms, a quick JPG to ICO conversion is the simplest solution:

  • Launching a new website. Placing a real favicon.ico at the site root ensures every browser — including older ones that ignore <link rel="icon"> tags — shows your icon in the tab.
  • Photo-based favicons. When the brand icon is a photographic image (a real camera shot, a textured logo), JPG is the natural source format and converts cleanly into a favicon.
  • Desktop shortcuts. When a user drags a URL to the desktop, Windows and many Linux file managers pull the icon from favicon.ico, so a real .ico file is required for a crisp shortcut.
  • Bookmark managers. Tools such as Pinboard, Raindrop, and many RSS readers request /favicon.ico directly. Without an .ico file, the bookmark shows a generic icon.
  • Progressive Web Apps. A PWA's manifest.json can reference .ico files for legacy install contexts and older Android and Windows shell integration.
  • Windows application icons. Many Windows development tools still expect an .ico file when assigning the application icon to a compiled executable.

Keep your source JPG as the master — it is small and universally editable. Use the .ico export for the deployment scenarios where ICO is still the expected format.

How to convert JPG to ICO

Converting a JPG image to an .ico favicon with this tool takes only a few seconds and happens entirely inside your browser. No upload, no sign-up, and no installation are required. The tool loads your JPG via the browser's image decoder, draws it onto a square canvas at the size you choose (preserving aspect ratio and centring on a white background), and then re-encodes the canvas into an .ico container via the Canvas API. Follow these four steps:

  1. Upload your JPG file. Click the upload area or drag and drop a .jpg or .jpeg file from your computer. The image is decoded locally and shown as a preview.
  2. Choose the ICO size. Pick one of 16, 32, 48, 64, 128 or 256 px. 32×32 is the standard favicon size; 16×16 is the classic tab icon; 48×48 and larger are used by high-DPI displays and desktop shortcuts.
  3. Convert to ICO. Click the "Convert to ICO" button. The tool draws the JPG onto a square canvas at the chosen size and wraps the PNG bytes inside a single-image .ico container, showing the original and converted file sizes side by side.
  4. Download the ICO. Click "Download ICO" to save favicon.ico to your device. Upload it to the root of your website or drop it into your project's assets folder.

Because every step runs locally in your browser using JavaScript, your JPG image is never uploaded to a server. This makes the conversion completely private, fast, and suitable for sensitive brand assets.

Is this JPG to ICO converter free?

Yes, completely free with no sign-up, no watermarks and no limits beyond your device's memory.

What size should I choose for a favicon?

32×32 is the modern default and looks crisp on standard and high-DPI displays. Choose 16×16 for the classic tab icon, or 48×48 / 64×64 for desktop shortcuts and high-DPI displays.

Does the .ico file support transparency?

JPG does not have an alpha channel, so there is no transparency to preserve. This tool fills the square canvas with a white background before drawing the image, so non-square JPGs will have white margins in the .ico output.

Are my images uploaded?

No. All processing is local. Your JPG never leaves your browser.