Image Format Converter
Convert between JPG, PNG & WebP — entirely in your browser
Drop images to compress
or browse files · paste from clipboard
JPEG · PNG · WebP · AVIF · GIF
Why Convert Image Formats?
WebP — Up to 30% smaller than JPEG with the same quality. Supported by all modern browsers. Best for web optimization.
AVIF — A newer format that is usually smaller than JPEG at similar quality. XImage can open AVIF files and convert them to JPEG, PNG or WebP. Saving AVIF depends on your browser, and most browsers cannot do it yet.
PNG — Lossless format that preserves transparency. Best for graphics, logos, and screenshots.
JPEG — Universal compatibility. Best for photographs when file size matters more than perfect quality.
How to convert an image
- Drop your images into the box, browse for them, or paste from your clipboard. XImage reads JPEG, PNG, WebP, AVIF and GIF files, up to 50 per batch and 20 MB each.
- Choose the format you want under Output. JPEG, PNG and WebP convert every file to that format. Auto is not a conversion: it keeps each file in its own format, or switches to WebP when that is smaller.
- Use Quality and Max width if you also want a smaller file. Quality affects JPEG and WebP only, because PNG is lossless.
- Press Download on one file, or Save All for a ZIP. Names keep the original and end in -compressed with the new extension.
Which format should you choose?
- JPEG suits photos that must open everywhere, such as email attachments, application forms and print shops. It cannot store transparency and it is lossy.
- PNG suits screenshots, logos, diagrams and anything with transparency or sharp text. It is lossless, so the files can be large.
- WebP suits websites and apps. It is usually smaller than JPEG or PNG and keeps transparency, but some older software cannot open it.
- AVIF files can be opened here and converted to the formats above. Writing AVIF needs browser support that most browsers do not have yet, so the AVIF button appears only if yours can create it.
What changes when the format changes
- Transparency. JPEG has none, so see-through areas are filled with white. PNG and WebP keep them.
- Animation. A GIF becomes a single still image. To trim or retime an animated GIF, use the GIF Editor.
- Metadata. The new file is built from the pixels, so camera details and GPS location are not copied across.
- Quality. Converting between lossy formats such as JPEG and WebP compresses the picture a second time, so keep your originals. Converting to PNG keeps exactly what you see but cannot restore detail that was already lost.
Shortcuts for common conversions
These pages preselect the right output and explain the details of each pair: PNG to JPG, JPG to WebP, PNG to WebP, WebP to PNG, WebP to JPG and AVIF to JPG.
Formats that cannot be opened yet
HEIC and HEIF photos from iPhones, as well as BMP, TIFF, SVG and camera RAW files, are not supported yet. Export those as JPEG or PNG from your phone or photo app first. Everything XImage does runs in your browser, so the files you convert are never uploaded.
Common questions
Which image formats can I convert between?
You can open JPEG, PNG, WebP, AVIF and GIF files and save them as JPEG, PNG or WebP. AVIF is offered as an output only when your browser is able to create AVIF files.
Why is there no AVIF button in the Output list?
XImage only lists formats your browser can really write, and most browsers cannot create AVIF yet. You can still open AVIF files and convert them to JPEG, PNG or WebP.
What does the Auto output option do?
Auto does not force a format. For each file it compares the original format with WebP and keeps the smaller result, or gives you the original back if nothing is smaller. Pick JPEG, PNG or WebP when you need a specific type.
What happens to transparency when I convert to JPEG?
JPEG cannot hold transparency, so every see-through area is filled with white. Choose PNG or WebP to keep the transparent background.
Can I convert HEIC photos from my iPhone here?
Not yet. XImage reads JPEG, PNG, WebP, AVIF and GIF files. Export your HEIC photos as JPEG from the Photos app or another converter first, and then use this page for further conversions.
Popular conversions
- Convert PNG to JPG Flatten transparency, shrink file size — ideal for photos stored as PNG
- Convert JPG to WebP Shrink your photos by 25-35% without losing visual quality
- Convert PNG to WebP Drop your PNG files — get smaller WebP images instantly, right in your browser
- Convert WebP to PNG Need universal compatibility? Convert WebP back to PNG with zero quality loss
- Convert WebP to JPG Make WebP images open everywhere, without uploading them
- Convert AVIF to JPG Turn next-generation AVIF files into universally supported JPG