What is an ICO file
An ICO (icon) file is the native icon format for Microsoft Windows. It has been the default icon container since Windows 1.0 in 1985 and is still the correct, expected format for Windows application icons, folder icons, shortcut icons, and favicon.ico files for websites.
Unlike a single-image format such as JPEG or PNG, an ICO file is a container that can hold multiple images at different sizes and colour depths in one file. Windows reads the directory inside the ICO and picks the size closest to what the current context demands — a 16-pixel image for a taskbar button, a 48-pixel image for a medium Explorer view, and a 256-pixel image for a large icon or high-DPI display.
A well-packed multi-size ICO never needs to be upscaled or downscaled on the fly by Windows, so it always looks sharp. A single-size ICO, or worse, a renamed PNG or JPEG, will be stretched to fit each context, often with visible blur or jagged edges.
Why convert JPEG to ICO
You might have a logo, app icon, or brand asset saved as a JPEG and need it as a Windows .ico file. Converting JPEG to ICO is the right path when:
- You are building a Windows application and need a proper .ico for the executable.
- You want a favicon.ico that works on every browser, including older ones that ignore linked PNG favicons.
- You are creating a custom folder or shortcut icon for a Windows desktop or file server.
- You need a multi-size icon that looks sharp at every scale, instead of one blurry image stretched to fit.
How JPEG to ICO conversion works
The conversion happens entirely in your browser and follows a precise pipeline:
- Decode. The browser reads your JPEG file and decodes it to a bitmap, applying any EXIF orientation tag so the image is upright.
- Pad to square. If your JPEG is not square (e.g., 1920x1080), the image is centred on a white square canvas. Nothing is stretched or cropped.
- Resize. The square source is resized to each icon size you selected (16, 32, 48, and 256 pixels) using high-quality bicubic smoothing.
- Encode as PNG. Each resized version is encoded as a 32-bit PNG with full colour data.
- Pack into ICO. All PNG entries are written into a single ICO container with the correct directory structure, so Windows can read every size.
Non-square JPEG handling
JPEG photos are often not square — a 1920x1080 screenshot or a 3:2 camera photo is rectangular. This tool pads the image to a square with a white background, centred, and never stretches or crops.
Stretching would distort faces and logos. Cropping would lose content unpredictably. Padding with white margins keeps the full image intact, and the white border is invisible on a white Explorer background or white website.
If your JPEG is already square (e.g., 1024x1024), no padding is applied, and every pixel goes directly into the icon sizes. For the cleanest icon result, crop your source to a square before uploading.
What is removed in conversion
Converting JPEG to ICO strips several things from the original file:
- EXIF metadata. Camera settings, GPS coordinates, date taken, and copyright fields are discarded. EXIF orientation is applied during decode so the icon is upright, but the metadata itself is not carried into the ICO.
- ICC colour profiles. The sRGB or Adobe RGB profile embedded in the JPEG is applied during browser decode but not stored in the ICO output.
- JPEG compression. The lossy JPEG compression is replaced by lossless PNG compression inside each ICO entry.
- IPTC and XMP. News photo metadata is stripped. ICO has no fields for this data.
ICO sizes explained: 16, 32, 48, and 256 pixels
Each size in a multi-size ICO serves a specific Windows context:
- 16x16: Taskbar buttons, window title bars, small list views, and notification area icons.
- 32x32: Standard desktop icons, default Explorer views, and the classic favicon size.
- 48x48: Larger Explorer views, desktop with scaling enabled, and file previews in detail panes.
- 256x256: Large icons, high-DPI displays (150% and 200% scaling), and Windows 10/11 large icon views.
Select all four for every context. If you skip the 256-pixel size, your icon will be blurry on any modern high-DPI screen. If you skip the 16-pixel size, Windows will downscale from a larger one, sometimes producing aliasing artifacts in the taskbar.
File size and batch limits
Each JPEG can be up to 50 MB. A file larger than 50 MB is rejected with a plain error. The source pixel limit is 100 megapixels; anything larger is also rejected.
Up to 20 JPEG files can be added to the batch at once. Each file converts independently and gets its own Download button. If one file fails, the rest of the batch still converts successfully.
PNG-in-ICO vs BMP-in-ICO
This tool writes PNG-compressed ICO entries, which use 32-bit RGBA data with lossless PNG compression inside each icon entry. Windows has supported PNG-in-ICO since Vista (2006), so Windows 10 and 11 handle these files natively.
The older BMP-in-ICO format stores uncompressed DIB data, which can be larger but works on every Windows version back to Windows 95. PNG-compressed entries are smaller and support full 24-bit colour, making them the modern standard for icon creation.
Using the ICO as a favicon
The output ICO file can be saved as favicon.ico and placed in the root of your website. Modern browsers also accept a linked PNG favicon, but an ICO file with multiple sizes inside covers every case.
How this tool compares
- Rivals: single size only, server upload required, background flattened to white without choice, forced ZIP download.
- This tool: all four sizes in one ICO, browser-side conversion, individual download per file, no ZIP, no upload needed.
Related icon converters
Going the other way? Try our ICO to JPEG converter.
Starting from a different source? Try PNG to ICO for PNG sources, SVG to ICO for vector sources, or WebP to ICO for WebP sources.
Need to create a mouse pointer instead of an icon? You can convert PNG to a Windows cursor with custom hotspot placement.
Learn more about image format choices in our PNG vs JPG guide and best format for logos article. For the full icon workflow, see how to convert icon files.
Not sure what an ICO file is? Read our guide on what is an ICO file.
The JPEG format is specified in MDN Web Docs — Image file type and format guide.