Image Converter
Convert pictures between JPG, PNG, WebP and AVIF in your browser. Add one file or a whole batch by choosing, dropping or pasting them. GIF, BMP and iPhone HEIC pictures open too. Nothing is uploaded.
Your file is ready
- Files stay on your device. Nothing is uploaded.
- Free, no sign-up, no daily limit.
- Works with Wi-Fi off once the page has loaded. Check it yourself
Updated by Khokhar Sab
How do I convert an image to JPG, PNG, WebP or AVIF?
Press Choose pictures, or drop or paste files, pick the format under Convert to, and press Convert. One picture downloads as a single file and several download together as a ZIP. Lossy formats have a quality slider, and you can shrink the pictures by percent or longest side first.
- Press Choose pictures, drop files on the page, or paste a copied picture with Ctrl+V.
- Pick the format under Convert to. Set the Quality for JPG, WebP or AVIF.
- Optional: choose Scale by percent or Longest side in pixels to make the pictures smaller.
- Press Convert, then Download. The result list shows each file before and after.
The tool checks each file by its first bytes, so a PNG named photo.jpg still opens, and a file that is no picture is left out with a message. Camera orientation is applied, so a photo shot sideways comes out upright. To put the finished pictures into one document, use JPG to PDF or PNG to PDF.
How do I convert PNG to JPG?
Choose your PNG files, set Convert to JPG, keep the quality near 90 and press Convert. JPG has no transparency, so see-through parts of a PNG are filled with the background color, white unless you change it. A photo saved this way gets much smaller, while a screenshot with text may not.
The dedicated PNG to JPG converter opens with JPG preselected and measures what each quality does to a photo, a chart and a transparent logo. The test photo here went from 2.4 MB as PNG to 417 KB at quality 90.
How do I convert WebP to JPG or PNG?
Choose the WebP files, set Convert to JPG for the widest compatibility or PNG to keep transparency, then press Convert. WebP is a web format that older programs and some upload forms reject, while a JPG opens everywhere. Pictures saved from websites as WebP convert in batches and download in one ZIP.
Each route has its own page: WebP to JPG for photos and WebP to PNG for logos and anything transparent. Our 1280 x 854 test photo measured 371 KB as WebP at quality 90 against 417 KB as JPG.
How do I convert JPG to PNG?
Choose the JPG files, set Convert to PNG and press Convert. PNG is lossless, so the converted file keeps exactly the pixels the JPG held. It does not bring back detail the JPG already discarded, and the file grows a lot, because a PNG stores every pixel without lossy compression.
The JPG to PNG converter shows the growth at four JPG qualities and why a PNG made from a JPG chart is larger than the original PNG. The 1280 x 854 test photo grew about 6 times, from 417 KB to 2.4 MB.
How do I convert AVIF to JPG?
Choose the AVIF files, set Convert to JPG and press Convert. Your browser decodes the AVIF and the tool saves a JPG, which almost every program, printer and upload form accepts. An AVIF with a transparent background gets the background color you pick, white by default, because JPG cannot be see-through.
The AVIF to JPG converter adds the file-size table, the added error and notes on opening AVIF files in Windows. A browser that cannot open AVIF cannot convert it either; the file is then listed as one the tool could not open.
How do I convert GIF to PNG?
Choose the GIF files, set Convert to PNG and press Convert. The converter saves the first frame of each GIF, so an animated GIF becomes a still picture. PNG keeps the GIF's transparent areas and gives a lossless copy of that frame, which suits logos, icons and screenshots saved as GIF.
The GIF to PNG converter measures how GIF transparency, the 256-color palette and the first-frame rule carry over. To pull a different frame, open the GIF in a video or image editor and export that frame first.
Does converting an image lose quality?
Converting to PNG loses nothing, since PNG is lossless. Converting to JPG, WebP or AVIF is lossy and changes pixels a little. In our test, a quality 90 JPG differed from the original by 2.9 levels out of 255 on average per color channel, which is hard to see. Lower qualities differ more.
| Saved as | File size | Average difference |
|---|---|---|
| PNG (lossless) | 2.4 MB | 0, identical |
| JPG, quality 90 | 417 KB | 2.9 |
| JPG, quality 75 | 263 KB | 4.82 |
| WebP, quality 90 | 371 KB | 2.2 |
| WebP, quality 75 | 226 KB | 3.91 |
| WebP, lossless | 1.2 MB | 0, identical |
| AVIF, quality 60 | 192 KB | 4.05 |
| AVIF, quality 40 | 86 KB | 7.38 |
Each save in a lossy format adds a little error. We saved the test photo as a quality 90 JPG once and got a difference of 2.9; after ten rounds of opening and re-saving it was 3.53. The loss grows slowly at high quality, so convert once from your best original and keep that original. Converting a JPG to PNG and back to JPG does not undo anything: the PNG holds the JPG's pixels, and the second JPG save adds new error.
JPG vs PNG vs WebP vs AVIF: which format should I pick?
Use JPG for photos that must open anywhere. Use PNG for screenshots, logos and anything that needs transparency or exact pixels. Use WebP for web pages that want smaller files with transparency. Use AVIF when the smallest file matters and every program you use opens it, since it is the newest of the four.
| Format and setting | Photo | Chart with flat colors |
|---|---|---|
| PNG (lossless) | 2.4 MB | 37 KB |
| JPG, quality 90 | 417 KB | 34 KB |
| JPG, quality 75 | 263 KB | 28 KB |
| WebP, quality 90 | 371 KB | 6.7 KB |
| WebP, quality 75 | 226 KB | 5.4 KB |
| WebP, lossless | 1.2 MB | 2.9 KB |
| AVIF, quality 60 | 192 KB | 3.1 KB |
| AVIF, quality 40 | 86 KB | 2.6 KB |
For the photo, the lossy formats are 83 to 96 percent smaller than PNG. For the flat-color chart, a PNG made by a canvas is no smaller than a JPG (37 KB against 34 KB), while lossless WebP shrinks it to 2.9 KB. The MDN Web Docs image file type and format guide lists what each format suits and which browsers show it. A picture needed in a PDF should stay JPG or PNG; see WebP to PDF for the rest.
Why does a transparent background turn white or black?
JPG has no transparency channel, so converting from PNG, WebP, AVIF or GIF must put the see-through parts on a solid color. This tool fills them with white by default and lets you pick another color. A converter that skips the fill leaves the raw color stored under clear pixels, which is often black.
| Pixel | Stored as (R, G, B, A) | JPG on white | JPG on black |
|---|---|---|---|
| Solid red | 255, 0, 0, 255 | 255, 0, 0 | 255, 0, 0 |
| Red, half see-through | 255, 0, 0, 128 | 255, 127, 127 | 128, 0, 0 |
| Clear pixel stored as black | 0, 0, 0, 0 | 255, 255, 255 | 0, 0, 0 |
| Clear pixel stored as white | 255, 255, 255, 0 | 255, 255, 255 | 0, 0, 0 |
Each channel becomes (color x alpha + background x (255 minus alpha)) divided by 255. A half see-through red turns pink on white and dark red on black. Edges that were smoothed against clear pixels show a faint halo in the fill color, so pick the color of the page the picture will sit on. Keep PNG, WebP or AVIF to stay transparent; the Signature Generator saves a transparent PNG for that reason.
Can I convert iPhone HEIC photos here too?
Yes. Add HEIC or HEIF files like any other picture and choose the output format. Safari opens them directly, and other browsers decode them with a small separate decoder that loads only when you add a HEIC file. For a page built around iPhone photos, use HEIC to JPG.
The HEIC to JPG page covers Windows and Mac steps and the iPhone camera setting that saves JPG from the start. The guide HEIC vs JPG compares the two formats.
Which formats can my browser save?
Every browser can save JPG and PNG. WebP and AVIF saving depends on the browser, because the tool uses the browser's own encoder. When the page loads it asks your browser to save a test pixel in each format and greys out any it cannot, with a note, so you never get a wrongly named file.
Opening is a separate question: the browser decodes the input, so a format it cannot display cannot be converted. The work runs in a background thread where the browser allows it, and on the page itself otherwise, so a batch does not freeze the tab. Everything stays on your device.
Limits
- Animation: a GIF converts as its first frame. Output is a still picture in every format.
- Camera details: location and other EXIF data are not copied to the new file. The camera turn is applied to the pixels first.
- Color profiles: the browser converts to its standard sRGB screen colors. A picture with a wide-gamut or CMYK profile may shift slightly.
- Size: pictures over about 16 megapixels are scaled down to fit what phone browsers can draw. The longest side stops at 8,192 pixels.
- Memory: a phone handles about 120 MB of files at once and a computer about 600 MB. Split a larger batch.
- SVG and TIFF: not opened here. Use SVG to PDF or TIFF to PDF.
Frequently asked questions
Is it free?
Yes, with no sign-up, no watermark and no limit on the number of pictures.
Are my pictures uploaded?
No. They are opened, redrawn and saved in your browser, and the page has no upload step.
Can I convert many pictures at once?
Yes. Add them all; they download together as one ZIP file, and each can also be saved alone from the result list.
Does it work on a phone?
Yes. Choose pictures from your photo library or files. A phone holds less at once than a computer, so large batches go in parts.
Can I make the files smaller?
Yes. Lower the quality for JPG, WebP or AVIF, or scale the pictures by percent or longest side. The result list shows the size before and after. To hit a size such as 100 KB, use Compress Image; for exact pixels, use Resize Image.
Related PDF tools
How this tool was built and tested
- MDN Web Docs: Image file type and format guide: what JPG, PNG, WebP, AVIF and GIF suit, and browser support