How to convert an image here
- Add your images: drop them on the box, use Choose images, or paste a copied picture with Ctrl+V (⌘V on a Mac). On a phone, Take photo opens the camera, and Try with a sample shows a conversion before you use your own files. One batch can mix formats.
- Pick the format under Convert to: JPG, PNG, WebP, AVIF, GIF, BMP or ICO. The PDF button opens JPG to PDF, which places images on pages.
- Read the line under the buttons. It changes with the pair and warns before anything happens, for example that JPG has no transparency or that an animated file keeps its first frame.
- Set Options for this format if you need to: Quality for JPG, WebP and AVIF, icon sizes for ICO, SVG size for drawings, and the background colour for transparent areas under Advanced encoder options.
- Select Convert, then select a file to compare it with the original at Fit, 100% or 200% and read its report, headed “What changed in” and the file name. Download files one by one or with Download all (ZIP).
Change a setting afterwards and the button reads “Apply to N images”; only the affected files are redone. A link such as /tools/convert-image?from=webp&to=jpg opens the page with JPG already chosen, which makes a handy bookmark.
What happens to your files
Many online converters upload your file to a server and rewrite it there, so a copy sits on someone else’s disk until it is deleted. Here the rewriting happens on your device. The page loads the codecs, the small programs that read and write each format, into a background worker in this tab; your images are read into the tab’s memory, converted one after another and handed back as downloads. They are never uploaded.
The codecs are WebAssembly builds from the Squoosh project (the jSquash packages, Apache 2.0 licence): MozJPEG for JPG, Oxipng for PNG, libwebp for WebP and libavif for AVIF. GIF, BMP and ICO are written by the tool’s own code and HEIC is decoded by libheif. If a codec fails to load, the browser’s built-in encoder is used and the report says so.
To check, open the Network tab in your browser’s developer tools before adding files: you will see the page’s own code and an analytics page view, and nothing carrying a picture or a file name. Our guide Are online PDF converters safe? explains the same test for any site.
Which format for what
Sizes below were measured with this tool at quality 80 on a 512 × 512 test photograph and a 1024 × 1024 logo on a transparent background.
- JPG (also spelled JPEG): photos. Lossy, meaning it discards detail the eye is least likely to miss. No transparency, no animation. Test photo: 42,614 bytes. Opens everywhere.
- PNG: screenshots, logos, text and anything that needs a see-through background. Lossless, with full transparency; animation only in the APNG variant, which this tool does not write. Test photo 357,374 bytes, over eight times the JPG; logo 40,740 bytes. Opens everywhere.
- WebP: images on websites. Lossy or lossless, with transparency and animation. Test photo 31,850 bytes, logo 29,092. Current browsers show it; some older programs and upload forms refuse it.
- AVIF: the newest format here, also for websites, with transparency, animation and more than 8 bits per channel. Logo 9,958 bytes, a quarter of the PNG; test photo 43,121 bytes, no smaller than JPG at this setting. Current Chrome, Edge, Firefox, Opera and Safari show it; many other programs do not yet. The slowest to write.
- GIF: short animations and tiny graphics. At most 256 colours, and each pixel is either fully clear or fully solid. Test photo 159,073 bytes with visible grain; logo 14,214. Opens everywhere.
- BMP: older Windows software that wants raw pixels. Uncompressed as written here, so width × height × 3 bytes plus a 54-byte header: 786,486 bytes for the test photo, 3,145,782 for the logo. No transparency.
- SVG: logos and diagrams stored as shapes, sharp at any size. Browsers and design programs open it; most forms and office documents want PNG. Read here, not written.
- HEIC: iPhone and iPad photos. Compact, with 10-bit colour and HDR. Apple devices open it; Windows needs extensions and most websites refuse it. Read here, not written.
- ICO: favicons and Windows icons, several square sizes in one file, stored here as PNG with transparency. Logo at 16, 32, 48 and 256 pixels: 19,147 bytes.
- TIFF: scanning, print and archives; large, often multi-page. Only Safari among browsers shows it, so this tool cannot read it (see BMP and TIFF below).
MDN’s image format guide (https://developer.mozilla.org/en-US/docs/Web/Media/Formats/Image_types) lists which browsers show each format. For documents rather than pictures, our comparison of PDF, JPG and PNG covers which to send.
PNG to JPG
For a photo saved as PNG, JPG cuts the size dramatically: the test photo went from 357,374 bytes to 42,614, about an eighth. The price is that JPG is lossy, so the file is no longer pixel-identical. At the default Light preset (JPG quality 85) most photos show no visible difference at normal viewing size; check yours at 200% in the compare view, and use Custom at 90 or more if a detail softens.
Screenshots and graphics with text are better left as PNG, because JPG blurs letter edges and leaves faint speckles; the palette mode in Compress Image shrinks a PNG instead. Transparency cannot survive either: see-through pixels are filled with the background colour, white unless you change it. On our transparent logo the corners came out exactly #FFFFFF. Pick the colour of the page the logo will sit on, or keep PNG or WebP.
JPG to PNG
Converting JPG to PNG is right when a program, template or print service asks for PNG. It does not improve the picture: PNG faithfully keeps what the JPG’s compression left, blockiness included, in a much bigger file. The test photo, a JPG to begin with, became a 357,374-byte PNG. It does not add transparency either; the white behind a product shot stays white, because removing a background is editing, not converting.
One good reason to do it: a PNG working copy loses nothing between saves if you are going to edit an image several times, whereas each JPG save compresses again.
WebP to JPG and WebP to PNG
A picture saved from a website often arrives as .webp, and an older photo viewer, office program or upload form will not take it. Sites choose WebP because it usually needs fewer bytes than JPG for the same look, so pages load faster; your browser shows it fine, which is why the problem appears only once the file is on your disk.
Convert it to JPG for a photo, or to PNG for a logo, screenshot or anything transparent. The result cannot beat the WebP you saved, since the site already compressed it: PNG keeps exactly what the WebP shows, and JPG compresses it once more, lightly at the default setting. banner.webp comes back as banner.jpg. An animated WebP keeps its first frame, and the report says how many frames there were.
AVIF to JPG
AVIF is the format older software is least likely to open, and JPG is the dependable fix. Expect the JPG to be bigger, because AVIF compresses harder: a 902 × 600 AVIF photo became a 55,551-byte JPG at quality 80, against 38,260 bytes written back as AVIF. The extra bytes are not extra quality.
AVIF can hold more than 8 bits per channel, HDR and wide-gamut colour. The JPG is 8-bit sRGB, the colour space nearly every screen and printer assumes, so bright highlights may look flatter; the report lists each change. For a website, WebP sits between the two: smaller than JPG, accepted more widely than AVIF.
GIF to PNG and GIF to JPG
A GIF becomes a still picture: its first frame, with the report stating how many frames the original had. For a different moment, pause the animation, take a screenshot and paste it here.
Most GIFs are graphics, so PNG is the better target: it keeps every pixel and any transparency, and can be smaller than the GIF. The first frame of a 240 × 240 test GIF was 282 bytes as PNG. Choose JPG only for a photo-like GIF. Converting to GIF cuts any image to 256 colours and on-or-off transparency, so photos show grain and a logo’s soft edges turn hard.
SVG to PNG
An SVG is drawing instructions with no fixed pixel count; a PNG is pixels. Converting draws the SVG once at one size, so enlarging the PNG later blurs it. Choose the size first. SVG size offers 1× (the size the file declares), 2× (the default, sharp on high-density screens), 3×, 4× and 8× for print. A logo declaring 200 × 80 comes out 400 × 160 at 2×. A test drawing became an 800 × 600 PNG of 14,312 bytes, its transparent background kept.
Text can change. An SVG that names a font instead of containing letter outlines is drawn with the fonts this browser has, and a missing font is replaced by a substitute that may look different or run wider. If the lettering looks wrong in the preview, ask for a version with text converted to outlines.
PNG to ICO: making a favicon
A favicon is the icon in a browser tab and bookmark list, classically a file called favicon.ico. An ICO is a container: a 6-byte header, then a 16-byte entry per image, so one file holds several sizes. The width field is one byte, and Microsoft’s documentation says 0 stands for 256 (https://learn.microsoft.com/en-us/windows/win32/menurc/iconresdir). Since Windows Vista, each image may be a PNG (https://devblogs.microsoft.com/oldnewthing/20101022-00/?p=12473), which is how this tool stores them, transparency included. We checked: every ICO carried exactly the chosen sizes as PNG entries.
Sizes on offer are 16, 24, 32, 48, 64, 128 and 256, with 16, 32, 48 and 256 ticked to start: tabs use the small ones, Windows and search results the larger. Google Search wants a square favicon of at least 8 × 8 pixels, recommends larger than 48 × 48, lists ICO and PNG among accepted formats and asks that its address stay stable (https://developers.google.com/search/docs/appearance/favicon-in-search).
Start from a square image of at least 256 pixels. A non-square one is cropped to its centre, so crop it first with Resize Image at 1:1 if the edges matter. At 16 pixels there is room for a mark, not a name, so check that size at 200%.
In a web app manifest, Chromium needs at least a 192 × 192 and a 512 × 512 icon (https://web.dev/articles/add-manifest), and Apple’s archived Safari guide uses a 180 × 180 apple-touch-icon in its example (https://developer.apple.com/library/archive/documentation/AppleApplications/Reference/SafariWebContent/ConfiguringWebApplications/ConfiguringWebApplications.html). The tool also reads ICO files, taking the largest image inside, PNG or bitmap.
HEIC to JPG
HEIC is what an iPhone saves when Settings → Camera → Formats is set to High Efficiency. This converter turns HEIC into any of its seven formats, handy when one photo must become a PNG or an icon alongside other images; a 10-bit HDR test HEIC of 2016 × 1512 became a 116,656-byte 8-bit sRGB JPG. For a whole camera roll, use the HEIC to JPG converter: it handles hundreds at once, skips Live Photo video clips and shows the expected size first.
BMP and TIFF
BMP stores pixels with no compression. The tool reads BMP and writes 24-bit BMP for older software that asks for it, at three bytes per pixel: the test logo was 3,145,782 bytes as BMP against 15,499 as PNG, and a 12-megapixel photo comes to about 36 MB. BMP has no transparency here. For sending or uploading an old bitmap, convert it to PNG instead: identical pixels, a fraction of the size.
TIFF is not supported, and the tool says so rather than skipping the file. Browsers other than Safari cannot decode it, and scanner TIFFs often hold several pages or 16-bit colour. On a Mac, open it in Preview, choose File → Export and pick PNG or JPEG; elsewhere, save it as PNG or JPG from an image editor. Camera RAW files (CR2, CR3, NEF, ARW, DNG) are refused too: export a JPG from the camera app, Lightroom or Photos first.
JPEG to JPG
JPEG and JPG are the same format; MDN lists .jpg and .jpeg under one JPEG entry. The short ending dates from older Windows versions that allowed three letters after the dot. So when a form rejects photo.jpeg, do not convert: rename it photo.jpg and the picture stays byte for byte the same. To see endings, tick File name extensions in File Explorer’s View menu on Windows, or use File → Get Info → Name & Extension on a Mac.
Converting JPG to JPG here still helps to remove location details, turn a CMYK print file into RGB or set a DPI tag, but a re-encoded JPG has been compressed again. To shrink a JPG, Compress Image is built for it.
Quality, colour and photo details
Quality applies to JPG, WebP and AVIF. The presets are Light (JPG 85, WebP 85, AVIF 68), the default here because a conversion should look like its original; Balanced (75, 75, 55); Strong (60, 62, 42); and Custom from 10 to 100. PNG output is lossless unless you choose Palette under Advanced encoder options, where Lossless WebP also lives.
Some changes happen whatever you choose: 10- and 16-bit images become 8-bit, wide-gamut colour such as Display P3 becomes sRGB, HDR is mapped to a standard image and CMYK becomes RGB. Each is a line in the report.
Keep photo details (EXIF) is off by default, so output carries no GPS position, date or camera model; our checks found no EXIF block or GPS data in such files. Details can be kept only in JPG output from JPG or HEIC originals, with the orientation applied to the pixels. The DPI tag changes the printed size, not the pixels; our guide Image size explained covers it.
Converting many images and downloading a ZIP
Add as many images as you like, in mixed formats; one target format applies to the batch. Files are converted one at a time and Cancel stops the run. Download all (ZIP) saves converted-images.zip, each file keeping its name with the new ending, so holiday.png becomes holiday.jpg.
Memory is the only ceiling. Phones and iPads handle about 16 to 24 megapixels per image and computers about 50; bigger images are reduced to fit and the report says so. A 45-megapixel test photo became 4879 × 3278 on the 16-megapixel budget without a crash.
Your data
Only your choices (format, quality, icon sizes, SVG size, background colour, DPI tag and the photo-details switch) are saved, in this browser’s local storage under dtc.filetools.v1. Your images, their names and how many you converted are never stored, and closing the tab clears them from memory.
General information about image formats and how this tool converts them. Programs, websites and upload portals set their own rules on formats and sizes, and browser support changes, so check the requirements wherever you send the file.