JPG to ICO Converter
JPG to ICO Converter: Make an Icon from a Photo or Logo
Convert JPG (JPEG) pictures to ICO in your browser: a favicon for your website or an icon for a Windows program, with several sizes in one file. Nothing is uploaded: the conversion runs on your device.
How to convert JPG to ICO
- Drop your JPG file into the box above or click it to choose it. Each picture becomes its own ICO file.
- Tick the sizes you need (16, 32 and 48 are chosen for a favicon).
- Download the ICO, or all of them in a ZIP.
JPG has no transparency
A JPG is always a full rectangle, so the icon is a picture with a solid background, not a shape with transparent corners. That is fine for a photo or a logo on a solid color. If the icon should have a transparent background, make a PNG with transparency in a graphics editor and use the PNG to ICO converter.
What sizes does an icon need?
- 16 × 16: browser tabs and bookmarks on normal screens.
- 32 × 32: tabs on high-density screens, the Windows taskbar and desktop shortcuts.
- 48 × 48: Windows desktop icons and Google search results (Google asks for a favicon that is a multiple of 48 pixels).
- 64, 128 and 256: large icons in Windows Explorer and application icons. 256 × 256 is the largest size an ICO can hold.
Pick all the sizes you need: they are packed into one ICO file and the browser or Windows takes the best one. For a website 16, 32 and 48 are enough; for a Windows program add 64, 128 and 256.
How to use favicon.ico on a website
- Save the file as
favicon.icoin the root of your site: browsers and search engine robots ask for/favicon.icoon their own. - Optionally point to it in the
<head>of your pages:<link rel="icon" href="/favicon.ico" sizes="any"> - For phones add a 180 × 180 PNG as
<link rel="apple-touch-icon" href="/apple-touch-icon.png">. - Browsers keep favicons in the cache for a long time: reload the page with Ctrl+F5 or open the site in a private window to see the new icon.
Tips for a good icon
- Start from a square picture of at least 256 × 256 pixels, better 512 × 512. A picture that is not square is fitted into the square and the empty sides stay transparent; nothing is cropped or stretched.
- Keep the design simple: fine details and small text disappear at 16 × 16.
- Use a PNG with a transparent background if the icon should not be a square block.
About the file format
ICO is a container for several pictures of different sizes. Here every size is stored as a PNG inside the ICO, which keeps transparency and soft edges. Every modern browser and Windows (since Vista) read this kind of ICO. Very old programs of the Windows XP era may not.
Convert JPG to ICO without this tool
- ImageMagick:
magick input.jpg -define icon:auto-resize=256,48,32,16 favicon.ico - GIMP: File → Export As, name the file with the
.icoextension.
Frequently asked questions
Is the JPG to ICO converter free and private?
Yes. No registration, no watermark, and your pictures are not uploaded.
Which sizes should I choose for a favicon?
16, 32 and 48. Add 256 if the icon is also used in Windows.
Why is my picture not filling the icon?
A picture that is not square is fitted into the square without cropping, so the sides stay empty (transparent). Crop the picture to a square first if you want it to fill the icon.
Can I use the ICO as a favicon in every browser?
Yes, all current browsers read it. Put it in the site root as favicon.ico.
Similar tools
Free online PNG to ICO converter: favicon and Windows icons with sizes from 16 to 256 pixels in one file, transparency kept. The conversion runs in your browser, nothing is uploaded.
Free online JPG to PNG converter: lossless PNG from JPG or JPEG, many files at once, ZIP download. The conversion runs in your browser, nothing is uploaded.
Compress JPG, PNG and WebP images right in your browser and remove EXIF and GPS metadata. Nothing is uploaded, your files stay on your device.
Popular tools
Check who hosts a website: the IP address, the hosting company (ASN), the country and the city of the server. Free hosting checker for any domain.
Free IP lookup: find the country, city, coordinates and timezone of an IP address and its host name with a reverse IP (reverse DNS) lookup. IPv4 and IPv6.
Free DNS lookup online: check A, AAAA, CNAME, MX, NS, TXT, SOA and CAA records of any domain, plus its SSL certificate. Find out why a DNS lookup fails.
Check from the United States (New York) whether a website is online: HTTP status code and response time in milliseconds. A free US ping test for any URL.