JPG to ICO Converter
Turn a JPEG into a Windows icon or favicon.
In-depth guide
JPG to ICO: one square icon from an opaque photo
Turn a JPEG into a single-size ICO without expecting lost detail or a transparent background.
Key figures at a glance
- Default size
- 64 × 64 pixels
- The source is resampled into a square.
- Minimum size
- 16 pixels
- Input is rounded to an integer and clamped to the supported range.
- Maximum size
- 256 pixels
- Larger requests are limited to 256 × 256.
- Output
- One PNG-backed ICO entry
- This page does not combine several size variants in one file.
What the ICO contains
The browser decodes the JPEG, handles its EXIF orientation, resamples the whole image into a square and embeds a PNG image in ICO. JPEG has no alpha channel, so the resulting icon is opaque. The conversion does not remove the background or recover JPEG detail.
ICO containers can hold multiple images, but this page writes exactly one. It stretches a non-square source; it does not crop centrally, add padding or generate a full application-icon set. Crop the source to a square first if you need to preserve its proportions.
Size examples
| Input or size setting | Downloaded ICO |
|---|---|
| 32 × 16 source; size 64 | 64 × 64 — stretched |
| Size 32 | 32 × 32; one image |
| Size 256 | 256 × 256; one image |
| Size 0 or negative | 16 × 16 |
| Size 31.5 | 32 × 32 |
| Size 512 | 256 × 256 |
Prepare and export
- Choose the best source and crop to a square if needed.
- Choose an integer icon size; values are rounded and restricted to 16–256.
- Check the preview and result dimensions, then download the .ico file.
- Open it in the intended app or icon consumer; keep the source if more sizes are needed.
Compatibility and limits
The file uses a PNG payload inside ICO, not the older bitmap-and-mask layout. Microsoft documents PNG icon payloads beginning with Windows Vista. Test the actual target application if it needs older icon formats. Merely renaming a PNG to .ico does not create the required ICO directory.
Conversion runs locally without uploading the image for processing. It writes one still image and does not copy original camera, date, GPS or source colour-profile metadata. Very large sources are first reduced to the 16,777,216-pixel working-canvas cap. PNG compression preserves the resampled canvas pixels; it does not undo the resampling or earlier source losses.
Changing size is calculated from the loaded source, not from the previous icon. Use the cropper to prepare a square, ICO to PNG to view a decoded icon image, or the image converter for other targets.
Frequently asked questions
Is my image uploaded anywhere?
No. The image is decoded and re-encoded entirely in your browser using a canvas. It never leaves your device, is never sent to a server, and nothing is stored.
Will the quality drop?
The icon contains a losslessly encoded PNG of the resampled square, not an untouched copy of the source. Non-square images are stretched. PNG alpha can remain, while an opaque JPEG stays opaque; lost detail is not recovered.
Why did my photo come out the right way up?
Photographs from phones store an EXIF orientation tag rather than rotating the pixels. This tool reads that tag and applies the rotation, so the result matches what you saw in your gallery.
Is there a size limit?
Icon size is rounded and restricted to 16–256 pixels. The whole source is resampled to that square, with one image per ICO. Very large sources can first be reduced to the 16,777,216-pixel working-canvas cap.
Sources
- Microsoft — ICO directory format
- Microsoft — PNG images inside ICO
- WHATWG — Canvas drawing and serialization
- MDN — Image file type and format guide
This guide explains published rules in plain language. It is not financial, legal or official advice — rules change, so confirm with the agency linked above before you commit.