JPG to ICO converter

Turn a JPG into a Windows and favicon .ico file that holds the picture at several icon sizes, from 16 × 16 up to 256 × 256 pixels.

Your files never leave your device

Convert to

ICO files hold the picture at 16, 24, 32, 48, 64, 128 and 256 pixels, up to the size of your image. Non-square images are centered on a transparent square.

Drop JPG images here

JPG, PNG, WebP, AVIF, GIF, BMP, ICO, TIFF or SVG, as many as you like. They stay on your device.

You can also paste files with Ctrl+V.

In short

To convert JPG to ICO, drop a JPG above; ICO is already selected and sizes up to 256 × 256 pixels are written into one .ico file. Square JPG images work best; others are centered on a transparent square. Then press Download.

JPG vs ICO at a glance

JPG vs ICO at a glance
FeatureJPGICO
Full name Joint Photographic Experts Group Windows Icon
File extension .jpg, .jpeg, .jfif .ico
Type Raster image Raster image
Compression Lossy Lossy or lossless
Transparency No Yes
Animation No No
Colors 24-bit 32-bit
Largest width or height 65,535 px 256 px
Camera data (EXIF) Yes No
Introduced 1992 (Joint Photographic Experts Group) 1985 (Microsoft)
Opens in web browsers Yes Yes
Opens on Windows Yes Yes
Opens on Mac Yes Partly
Opens on iPhone Yes No
Opens on Android Yes No

How to convert JPG to ICO

  1. Drop your JPG on the box above or press Choose images; ICO is already selected as the output for JPG to ICO.
  2. The picture is fitted into a square and drawn at 16×16, 24×24, 32×32, 48×48, 64×64, 128×128, and 256×256 pixels; sizes larger than the JPG itself are skipped, so nothing is blown up.
  3. Press Download to save the .ico file. For a website, put it in the top folder as favicon.ico; for a Windows shortcut, open Properties, press Change Icon and pick the ICO.

Inside a ICO made from a JPG

An uncompressed 32-bit icon of 256 × 256 takes 270 kB, and a 32 × 32 entry takes 4,264 bytes including its 1-bit mask. That is why the large sizes of a ICO made from your JPG are stored PNG-compressed, while 16 to 48 pixels stay plain bitmaps that every version of Windows reads.

All seven sizes stored as plain bitmaps would add up to 373 kB; with PNG compression for 64 pixels and up, a ICO from a typical JPG logo ends up far smaller than that.

Icon sizes stored in the ICO

Each icon size and where Windows and browsers use it; bytes = 40-byte header + 4 bytes per pixel + 1-bit mask.
Icon sizePixelsUncompressed bytesUsed for
16 × 16 2561,128Browser tabs, small list icons
24 × 24 5762,440Small icons at 150% display scaling
32 × 32 1,0244,264Taskbar, tabs on high-DPI screens
48 × 48 2,3049,640Medium icons in File Explorer
64 × 64 4,09616,936Medium icons at 125–150% scaling
128 × 128 16,38467,624Large icons
256 × 256 65,536270,376Extra large icons in File Explorer

Why one ICO holds several sizes of your JPG

A JPG has already been through lossy compression, so the ICO made from it keeps the detail that survived in the JPG and cannot bring back what JPEG compression removed. ICO is the icon format of Windows and of the classic favicon.ico, and one file holds several sizes, so JPG artwork stays sharp in a browser tab, on the taskbar and on the desktop.

Windows picks the 16 and 32-pixel images for lists and the taskbar, 48 for medium icons and 256 for large ones, so a ICO made from your JPG stays sharp everywhere instead of being scaled on the fly from a single size. A JPG has no transparency, so the icon is a filled square; for a round or free-floating icon, start from a PNG with a transparent background instead of a JPG.

Browsers still request /favicon.ico when a page names no icon, which is why a ICO built from your JPG is the safest favicon, even on sites that also offer PNG and SVG icons.

Frequently asked questions

Which sizes does the ICO made from my JPG contain?

The ICO holds 16×16, 24×24, 32×32, 48×48, 64×64, 128×128, and 256×256 pixel versions of your JPG, as long as the JPG is at least that large; smaller sizes are made by downscaling, never by enlarging. The 16 and 32-pixel images are the ones browsers show in tabs.

What is the best JPG size for an ICO icon?

A square JPG of at least 256 × 256 pixels gives every icon size a clean downscale. Simple shapes and strong contrast read best at 16 × 16; fine text in the JPG becomes unreadable at small icon sizes.

Can an ICO made from a JPG have a transparent background?

Not automatically: a JPG has no transparency, so the icon is a filled square. Remove the background in an editor and save a PNG first, then convert that PNG to ICO.

How do I use the ICO as a favicon?

Put the file in the top folder of your website as favicon.ico; browsers look there by default. You can also reference it from the page head as an icon. If the old icon still shows, clear the browser cache.

Why not just rename the JPG to .ico?

Renaming leaves JPG data inside, which Windows refuses as an icon. A real ICO starts with an icon directory listing each size; this converter writes that structure with the JPG drawn at every size.

Is my JPG uploaded to make the ICO?

No. The JPG is decoded, resized and packed into the ICO in your browser, so logos and unreleased artwork never leave your device.

How your files stay private

Lumofile runs this tool with JavaScript and WebAssembly inside your browser tab. Your files are read from your disk, processed in memory and saved back to your device. Nothing is uploaded: open your browser's network panel while you use the tool and you will see no upload request.

Related conversions

More JPG conversions

Other formats to ICO

File converter: every format pair

Last updated Nov 20, 2026