JPG to ICO Converter

Turn a JPG into an ICO icon file with one image, in your browser.

or drop files here

JP

JPG Format

JPEG image

A lossy raster image format defined by the Joint Photographic Experts Group (ISO/IEC 10918-1), designed for photographs. .jpg and .jpeg are the same format.

  • lossy compression
  • adjustable quality
  • no alpha transparency
IC

ICO Format

Windows icon

A container format for icons on Microsoft Windows that can hold several bitmap images of different sizes and color depths in a single file. Browsers also use it for favicons.

  • multiple sizes in one file
  • alpha transparency
  • PNG or bitmap entries

How to convert JPG to ICO

Follow these steps to convert JPG to ICO online.

    1

    Choose your JPG file, or several at once.

    2

    Wait while the converter turns each file into ICO.

    3

    Download each new ICO file. Your original file isn't changed.

What to know before converting JPG to ICO

  • The ICO holds one image, not a set of sizes.
  • Anything beyond 256 px a side is shrunk to fit 256 x 256, shape kept; a smaller image is left alone.
  • A 256 px image is stored as PNG data inside the ICO.
  • A JPG has no transparency, so the icon has a solid background.
  • EXIF, ICC profile and XMP data aren't carried over.

About ICO files

What is a JPG file?

Photographs from cameras, phones and scanners almost always end up as JPG, the extension for the picture format that the Joint Photographic Experts Group began designing in 1986. Its US patents lapsed on 27 October 2006, one reason it spread so widely. The compression is lossy, and a progressive JPG shows a rough picture first and sharpens it while the remainder downloads. JPG cannot store layers, and it has no alpha channel for transparency. Editors score quality from 0 to 100, with GIMP starting at 85, though one program's number does not match another's. The registered media type is image/jpeg.

Logos and avatars travel the same way, which is where this conversion starts: you hold a JPG of the artwork, and a browser tab or a Windows program wants an icon instead.

Programs that open JPG files

Mac

  • Preview: opens JPG files.

Web

  • Any web browser: displays a JPG with no extra software.

Windows

  • Windows Photos: shows JPG pictures.

Windows, Mac and Linux

  • GIMP: opens and edits JPG files.

JPG and ICO compared

  • Names and media types: JPEG goes by .jpg or .jpeg and image/jpeg. ICO goes by .ico and image/vnd.microsoft.icon.
  • Compression: baseline JPEG is lossy and splits the picture into 8x8 pixel blocks. An ICO entry holds a bitmap or a PNG, which don't lose detail the way JPEG does.
  • Images per file: a JPG holds one picture. An ICO can hold several.
  • Layers: JPEG cannot store layers, so the picture you hand over is already one set of pixels. An ICO entry is one bitmap or PNG as well.
  • Transparency: JPEG has none, since it stores 8 bits per channel and no alpha. ICO images can have it.
  • Typical use: photographs for JPG, interface icons and favicons for ICO.
  • Reach: every major browser displays JPEG. ICO is the icon format on Windows and a favicon format in browsers.

ICO is Microsoft's image format for the icons in a graphical interface. A single file may contain the same icon at several sizes, and its numbers are stored in little-endian byte order. Windows Vista's icon guidance added a 256-by-256 image for high-DPI displays, and an ICO can store that image as PNG data. You meet ICO as the icon of a Windows program and as a website's favicon.

What this page does: it decodes the JPG, fits it inside 256 x 256 if it is larger, and has ImageMagick write one image into an ICO. A smaller picture keeps its size. The result is a plain, single-size icon, with no transparency added and no metadata.

Other ways to convert JPG to ICO

  • GIMP (image editor): open the JPG, then File > Export As (Shift+Ctrl+E) lets you write an ICO with GIMP's ICO plug-in. Get the artwork and its size right before you export.
  • ImageMagick (command line): run magick input.jpg -resize 256x256 output.ico. The resize fits the picture inside 256 x 256, and it enlarges a smaller picture to fill that box.
  • FFmpeg (command line): run ffmpeg -i input.jpg -s 256x256 -frames:v 1 -c:v png -pix_fmt rgba output.ico. The size is set outright, so a rectangular JPG is stretched into a square. FFmpeg's ICO writer wants PNG images in RGBA with no side over 256 px.

Problems with JPG files

  • A JPG can't be transparent: a logo saved as JPG has a solid background, and the icon built from it keeps that background.
  • Blocky edges around text and lines: the lossy compression shows on sharp logo edges and thin lettering. Start from the largest, least compressed copy you have.
  • Quality numbers don't match: two programs saving at "85" can produce different results.
  • No layers: a JPG keeps no editable stack of layers, so go back to the project file if the artwork needs fixing before it becomes an icon.
  • An old photo frame or player refuses it: some older ones reject progressive JPG. Re-save without progressive mode, then convert.
  • The picture isn't square: a wide photo produces a wide icon, because the converter keeps the JPG's proportions when it shrinks it to 256 px. Crop first.
  • The icon looks soft on a high-DPI screen: a small icon enlarged for such a display may look soft. Begin with a big JPG rather than a thumbnail.

Frequently Asked Questions

Everything you need to know about our converter

How do I convert a JPG to ICO?

Does the ICO work as a website favicon?

What size will the icon be?

Does the ICO hold several sizes?

Will a small JPG be enlarged?

Can I make the white background transparent?

What happens to a photo that isn't square?

Is the JPG data copied into the ICO?

Does the ICO keep my camera's EXIF data?

Why would a logo look worse as an icon?