Image Format Converter
Convert between PNG, JPEG and WebP, read AVIF in, and batch several files into one ZIP.
What is Image Format Converter
The Image Format Converter writes PNG, JPEG and WebP and reads AVIF, PNG, JPEG, WebP, GIF and BMP. (AVIF output is not offered because no browser ships an AVIF encoder — the canvas API silently falls back to PNG.) You can set the quality from 10% to 95%, and when converting to a format without an alpha channel (JPEG) it flattens transparency onto a white or black background so transparent areas do not turn black. Re-encoding happens once in the browser's Canvas, so there is only a single generation of loss. The file extension is renamed to match the output format (5 MB per image). Select several images to get one ZIP — free up to 5, Pro up to 50.
File
… up to 5 files
🔒 Everything runs in your browser. Nothing is uploaded.
What this tool actually does with your file
- Where it runs
- In your browser, on this page
- Upload
- None — the file never leaves your device
- Size limit
- 25 MB free, 25 MB with Pro
- Files per run
- 5 free, 50 with Pro
- Offline
- Works with the network disconnected
The same pixels, a different encoder
Conversion redraws the image onto a canvas and re-encodes it in the target format. Nothing is upscaled and nothing is enhanced — the visual result at 100% is the same image, and any difference comes from the target format's compression behaviour.
The one real loss is transparency when going to JPEG: the alpha channel has no representation, so transparent pixels become whatever background the encoder fills. Everything else about a PNG-to-WebP conversion is a size and compatibility trade, not a quality one.
Format choice as a decision table
Photographs: JPEG or WebP, never PNG — a photo as PNG can be ten times larger with no visible benefit. Screenshots, diagrams and text: PNG or WebP, never JPEG. Icons and logos with flat colour: SVG if the source is vector, otherwise PNG. Animation: WebP or AVIF, since a GIF is both enormous and limited to 256 colours.
The practical rule is that the format should match the content type, and almost all bad image performance comes from one mismatch — a photograph stored as PNG, or a screenshot stored as JPEG.
What is not preserved
EXIF is stripped, including orientation, so a photo that displays correctly because of its rotation flag will arrive sideways. Colour profiles are dropped too, which matters for images in Display P3: without the profile, a wide-gamut image is interpreted as sRGB and the colours shift.
If either matters, convert before the metadata is needed rather than after — re-applying an orientation flag to a file that no longer has one means opening each image and rotating by eye.
How to use it
- 1.Choose an image file
- 2.Pick the output format, quality and background
- 3.Download the converted image
How Image Format Converter works under the hood
Every image operation here is decode → transform pixels → re-encode. That order matters: it explains both why resizing is exact and why repeated compression slowly degrades a photo.
- 1
Decode to a pixel buffer
The browser's own decoder turns the file into RGBA pixels. EXIF orientation is applied at this step so portrait photos are not sideways.
- 2
Draw at the target size
The pixels are drawn onto a canvas at the requested dimensions with high-quality smoothing, which is where resampling actually happens.
- 3
Encode with a chosen quality
canvas.toBlob re-encodes to JPEG, WebP or PNG. Quality applies to lossy formats only; PNG ignores it and stays lossless.
- 4
Hand back a Blob
The encoded bytes become a download link. No network request is involved at any point.
Processing pipeline
Why the file gets bigger sometimes
Re-encoding is not free. Converting a small, well-compressed JPEG to PNG usually makes it several times larger, because PNG is lossless and must store every pixel exactly. The same happens when a JPEG is re-saved at quality 1.0. If size is the goal, keep the format and lower the quality; if transparency is the goal, PNG or WebP is the right choice.
Metadata is dropped on purpose
Camera EXIF can contain GPS coordinates, device serial numbers and timestamps. Re-encoding through canvas writes fresh pixels and no metadata, which is a privacy win but means the location tag is gone. If you need metadata preserved, this pipeline is the wrong tool.
Formats the browser cannot open
HEIC and HEIF (the default on recent iPhones) are not decodable by most browsers, so they cannot be converted client-side. TIFF and some camera RAW formats fail for the same reason. There is no server fallback here by design — the file never leaves your device, so if the browser cannot read it, the tool cannot either.
Verify it yourself
Re-encoding happens locally. Check the network panel while it runs.
- 1.Open DevTools on this page and switch to the Network tab
- 2.Keep the filter on Fetch/XHR and run the tool
- 3.Confirm no request carries your file — you should see only page assets and fonts
Frequently asked questions
Why can't I output AVIF?
Browsers ship an AVIF decoder but no AVIF encoder — canvas.toBlob('image/avif') silently falls back to PNG in Chrome and Edge too. Rather than hand you a file with the wrong format, the option is not offered. Converting AVIF *into* PNG, JPEG or WebP works fine.
Can I convert AVIF to JPG?
Yes — pick your .avif file and choose JPEG. The browser decodes AVIF natively, so the result is a normal JPEG. Note JPEG has no transparency, so pick a background colour.
Is transparency preserved?
Yes for PNG, WebP and AVIF. JPEG has no alpha channel, so transparent pixels are painted with the background colour you pick (white or black).
Does quality drop?
JPEG, WebP and AVIF are lossy, so one re-encode loses a little detail — above quality 82 it is invisible. PNG is lossless, so nothing is lost but files get larger.
Can I convert several images at once?
Yes — pick one target format and every selected image is converted with it, then packed into a ZIP. Free covers 3 images, Pro up to 50.
What this kind of conversion cannot keep
Image work happens on a canvas: the file is decoded, drawn, re-encoded and handed back as a download. Nothing is uploaded, so a 20 MB photo costs you nothing but a few seconds. Re-encoding always loses a little quality — that is true of every tool, including desktop software.
Go deeper
More in Image
On this page
- What is Image Format Converter
- What this tool actually does with your file
- How it actually behaves
- How to use it
- How it works inside
- Frequently asked questions
Excel formula reference
29 functions with syntax, arguments and a table you can retype.
Browse the list →