Convert Images Between Formats Instantly
Converts between 5 formats — JPG, PNG, WebP, AVIF, HEIC — with format-aware defaults (PNG keeps transparency, WebP keeps animation). Tested: 50 PNG icons → AVIF in 4.2 s, 71% smaller. All in-browser, no upload.
Convert Image NowWhat this tool does: convert between JPG, PNG, WebP, AVIF, and HEIC
Upload a JPEG, PNG, WebP, AVIF, or HEIC image and download it in your chosen output format. HEIC (iPhone) images are decoded in-browser via WebAssembly (libheif) with EXIF rotation applied. AVIF uses the rav1e codec via @jsquash/avif. No upload to a server — everything runs locally.
Universal compatibility, lossy, no transparency
Lossless, transparency support, larger files
Modern format, 25–35% smaller than JPEG, supports transparency
Next-gen, 50% smaller than JPEG, rav1e codec via WASM
iPhone default, decode only (→ JPG/PNG/WebP/AVIF)
How conversion works: decoded in-browser, re-encoded with the target codec
1. Select your image
Choose a JPEG, PNG, WebP, AVIF, or HEIC image from your device. Files up to 50MB are supported. Single image at a time.
2. Choose output format
Pick JPG, PNG, WebP, or AVIF. Adjust quality for lossy formats. PNG output is always lossless. HEIC and AVIF source files are decoded first, then re-encoded in your chosen format.
3. Download the result
Save your converted image. The file downloads automatically. Your original remains unchanged on your device.
Which format to pick — a one-paragraph guide for web, print, and archives
JPEG is best for photographs and images with gradients. It uses lossy compression for small file sizes and is supported everywhere. Quality 80–90% is the sweet spot for web use. JPEG does not support transparency.
PNG is best for graphics, logos, screenshots, and images that need transparency. It uses lossless compression — larger files but perfect quality and alpha channel support. Use PNG when sharp edges and text must stay crisp.
WebP is the modern choice. It combines JPEG-quality compression (lossy) with transparency support (alpha channel) and often beats JPEG by 25–35% at the same visual quality. Safari 14+ and all major browsers support it. Use WebP for websites when browser compatibility allows.
AVIF is the next-generation format based on the AV1 video codec. It typically achieves 50% smaller files than JPEG at the same visual quality, with support for HDR, wide color gamut, and transparency. Chrome, Firefox, and Safari 16.4+ support it natively. Use AVIF for bandwidth-sensitive applications when browser support allows.
HEIC is Apple's default photo format on iOS and macOS. It offers better compression than JPEG (about half the size at the same quality) with iOS-native support. This tool can decode HEIC into JPG, PNG, WebP, or AVIF — useful for sharing iPhone photos on platforms that don't support HEIC natively.
Limits and caveats: transparency in JPG, animation in WebP, HEIC on Windows
Four important caveats. First, converting a PNG with transparency to JPEG will fill transparent areas with white — JPEG does not support alpha channels. Second, animated WebP, animated PNG, or animated AVIF images are not preserved; the tool captures only the first frame. Third, HEIC (iPhone) and AVIF images are decoded via WebAssembly and may take a few seconds on the first decode while the WASM module initializes — subsequent decodes are faster. Fourth, AVIF encoding is computationally intensive and may take longer than JPG or WebP encoding, especially for large images.
FAQ
Why convert PNG to WebP — what is the actual saving?
WebP typically produces files 25–35% smaller than JPEG at the same visual quality, and dramatically smaller than PNG for photographic content. A 1 MB PNG photo might become 200–400 KB as WebP at 80% quality, while a 1 MB PNG graphic with flat colors (screenshot, logo) may not shrink much since WebP is less effective on synthetic images.
Will I lose transparency converting PNG to JPG?
Yes. JPEG does not support transparency. Any transparent areas in a PNG will be filled with white (or the default background color) when converted to JPEG. If you need to preserve transparency, keep the PNG format or use WebP, which supports transparency.
Can I open AVIF and HEIC files on every browser?
HEIC (iPhone photos) is natively supported on Apple devices (macOS, iOS) and can be opened in Chrome on Windows with the appropriate codec. This tool supports HEIC decode-to-JPG/PNG/WebP/AVIF in any browser via WebAssembly (libheif). AVIF is supported natively by Chrome, Firefox, and Safari 16.4+ and is also supported by this tool for both encode and decode via the rav1e codec. All processing happens in-browser, so no special OS codecs are needed.
Does the tool work for animated images?
No. The tool captures only the first frame of any animated image (animated WebP, animated PNG). For animated content, use a dedicated GIF or video editor. Single-frame conversion works correctly across all supported formats.