Image converter
Convert images between PNG, JPEG, WebP and AVIF, and resize them, in your browser.
Runs on your device. Your files never leave it.
Loading the tool…
How it works & limits
Your browser decodes each image, applies any resizing and color changes, and re-encodes it with the same encoders Google's Squoosh uses (MozJPEG, OxiPNG, libwebp and libavif), compiled to WebAssembly. HEIC photos, which most browsers can't open, are decoded with libheif and libde265 (LGPL). It all runs on your device in a background thread, so nothing is uploaded and the page stays responsive. Each encoder, and the HEIC decoder, downloads only the first time it's needed.
Limits
- JPEG has no transparency, so transparent areas are filled with the background color (white unless you change it).
- PNG is lossless, so a photo saved as PNG is usually several times larger than the JPEG it came from, and it can't restore detail the JPEG compression already removed.
- Very old browsers and some apps can't open WebP or AVIF files.
- HEIC files that hold several images (bursts, some Live Photos) give the main photo only. HDR photos look as they do on a standard screen.
- Animated GIF, WebP and PNG files become a single still image (the first frame).
- Colors are converted to sRGB. Wide-gamut (Display P3) color and embedded color profiles are not kept.
- AVIF encoding is slow: expect several seconds per photo, more at low speed settings.
- Photo details (EXIF) can be kept only in JPEG and WebP output.
- Images over 100 megapixels are refused, and phones may run out of memory before that.
Extra downloads
- AVIF encoder, 3.5 MB (only if you choose AVIF)
- HEIC decoder, 1.5 MB (only if you add a HEIC photo)
Found in
Open-source software in this tool: licenses, credits and source code.