Image converter
How to change an image format
- Add your pictures: drag them onto the box above or click to browse. Up to 50 at a time.
- Choose Convert to: JPG, PNG, WebP or AVIF.
- Set Quality, tick Lossless WebP, or change the background colour if you need to.
- Click Convert images and read the note under each result.
- Download each file, or Download all as ZIP.
What this image converter does
Add pictures, choose a format, and get a converted copy of each. JPG, PNG, WebP, AVIF, GIF and BMP go in. JPG, PNG, WebP and AVIF come out. Convert to starts on WebP, Quality on 85, Lossless WebP is off, and the background colour for transparent areas starts at #ffffff and matters only for JPG.
Use this page for what the single-purpose pages do not cover: GIF or BMP in, AVIF out, or mixed formats in one batch. For the common pairs, those pages have the options preset: PNG to JPG, JPG to PNG, JPG to WebP, WebP to JPG, AVIF to JPG and, for iPhone photos, HEIC to JPG. HEIC and SVG files are refused here.
Nothing leaves your browser. In a test browser with a photo added we recorded 18 requests, none carrying data, and the outside hosts were Google's ad and analytics services and jsDelivr (the codecs). The codecs now come from jsDelivr, with no hash check. Only Chromium was tested. Results keep the original name with the new extension, plus "-converted" if the format is unchanged, and "(2)" if two files would share a name.
What each format costs in bytes
Our test photo is a 1280 by 960 JPG of 247,358 bytes. At quality 85 it became 42,846 bytes as WebP, 71,879 as JPG and 78,508 as AVIF. As PNG it was 1,442,513. No format wins everywhere: at quality 50 AVIF gave 5,700 bytes, WebP 11,138 and JPG 15,091, all with an average pixel change of about 2 out of 255. The table has the runs. The samples are synthetic, so your photos will differ.
Lossless output and what it cannot undo
PNG and Lossless WebP keep every pixel. Our PNG photo, 620,844 bytes, became 8,248 as WebP at quality 75, 574,862 as lossless WebP and 599,378 as PNG, with identical pixels in both lossless files. Lossless cannot repair a lossy file: our JPG photo became 1,219,696 bytes as lossless WebP, five times the JPG, with the same pixels as before. Converting a lossy file into another lossy format adds loss, as JPG to JPG at 85 did.
Transparency and the JPG background
PNG, WebP and AVIF kept our logo's transparent corner. JPG cannot, so it fills those areas with the background colour. With #ff0000 the corner came out red, and a short code like f00 worked. The note under each JPG result names the colour used.
Bytes can surprise you. Our 21,105 byte logo became 22,624 bytes as lossy WebP, 12,628 as lossless WebP, 9,237 as AVIF and 23,861 as red-background JPG. One quirk: an invalid colour code such as #xyz stops the conversion even for WebP, which does not use it.
Rotation, metadata, GIF and BMP
Camera details, location and colour profile are not copied. We read back JPG, PNG, WebP and AVIF outputs of a photo with EXIF data and found no EXIF tags or profile in any. Our photo was stored sideways and came out upright in all four. We did not test a Display P3 photo.
GIF and BMP are input only. A 24-bit BMP of our photo came out at 12,766 bytes as WebP. An animated GIF or WebP keeps its first frame, and the page says so: our 3-frame GIF came out as one frame. The note also appears for a still GIF. The compressor and resizer pages give no such warning.
Limits and what we did not test
You can add 50 files, each up to 100 MB, and a 51st is refused. Fifty photos to WebP took about 11 seconds, on our test machine. One setting applies to every file, and six files in five formats made six PNGs in one run. A fake .png fails with "this is not an image this tool can read." We did not test files near 100 MB, CMYK, 16-bit, real camera photos, other browsers, or a GIF from a real animation tool.
Which format for which job
A website: WebP or AVIF, which were smaller at low quality in our runs, though older programs may not open them. A form that asks for JPG: JPG. Transparency: PNG or WebP. A copy to edit again: PNG. To shrink without changing format, use the image compressor. To change pixel size, use the image resizer. All the image tools are listed together.
Measured results
| Source | Output | Setting | Result bytes | Pixel difference |
|---|---|---|---|---|
| JPG photo, 247,358 bytes | JPG | Quality 85 | 71,879 | 1.69 |
| JPG photo | WebP | Quality 85 | 42,846 | 1.86 |
| JPG photo | AVIF | Quality 85 | 78,508 | 1.6 |
| JPG photo | PNG | Lossless | 1,442,513 | 0 |
| JPG photo | WebP | Quality 50 | 11,138 | 2.07 |
| JPG photo | AVIF | Quality 50 | 5,700 | 2.05 |
| JPG photo | JPG | Quality 50 | 15,091 | 2.1 |
| JPG photo | WebP | Lossless | 1,219,696 | 0 |
| PNG photo, 620,844 bytes | WebP | Quality 75 | 8,248 | 1.87 |
| PNG photo | WebP | Lossless | 574,862 | 0 |
| PNG photo | PNG | Lossless | 599,378 | 0 |
Prefer desktop software?
Use a desktop image program when you need to keep camera and colour-profile data, convert HEIC or SVG, or make animated files. This page drops metadata and applies one setting to every file.
Frequently asked questions
Are my pictures uploaded?
No. A request log of our test showed 18 requests, none with data in it, and outside GramFile only Google's ad and analytics services and jsDelivr (the codecs). Codecs now load from jsDelivr.
Does converting reduce quality?
Into a lossy format, a little: our photo as WebP at 85 changed by 1.9 out of 255 on average. Into PNG or lossless WebP, pixels stay exactly the same.
Is transparency kept?
In PNG, WebP and AVIF, yes. JPG fills transparent areas with the background colour, white by default.
Does it keep EXIF and location data?
No. Camera details, location and colour profile are dropped, and rotation is applied.
Which format is best for a website?
WebP or AVIF for photos. At quality 50 our photo was 5,700 bytes as AVIF, 11,138 as WebP and 15,091 as JPG.
What happens to an animated GIF?
Only the first frame is kept, and the page tells you.
How many pictures at once?
Up to 50, each up to 100 MB, with one setting for all.