Image Format Converter
Convert images between PNG, JPEG, WebP, and HEIC — adjust quality, all client-side
How to Use the Image Format Converter
- Upload an image file (PNG, JPEG, WebP, HEIC, GIF, BMP, etc.).
- The From format is auto-detected. Select To format and quality.
- Click Convert and download the result.
HEIC files (from iPhones) are decoded via heic2any, then converted locally. All processing is client-side — no uploads.
What is Image Format Conversion?
Image format conversion changes the file type of an image between formats like PNG, JPEG, and WebP while resampling or adjusting quality settings. Different formats serve different purposes: PNG for lossless images with transparency, JPEG for photographs with small file sizes, WebP for modern web delivery with better compression than both.
Common Uses
- Converting PNG screenshots to JPEG to reduce file size for web upload
- Converting images to WebP for better Core Web Vitals and page speed scores
- Removing PNG transparency by converting to JPEG for email or PDF use
- Batch converting design assets between formats for different platforms
Frequently Asked Questions
Should I use PNG or JPEG for web images?
Use JPEG for photographs (smaller file, acceptable quality loss). Use PNG for graphics, logos, screenshots, or any image that needs transparency or pixel-perfect edges. Use WebP for both — it beats both formats in compression with similar quality.
Does converting from JPEG to PNG improve quality?
No. JPEG compression is lossy — quality lost during JPEG encoding cannot be recovered by converting to PNG. Converting JPEG to PNG just produces a larger lossless file of already-compressed image data.
What is WebP and why should I use it?
WebP is a modern image format developed by Google that provides 25–35 % smaller file sizes than JPEG at equivalent quality. All modern browsers support it. Serving WebP improves page load times and Core Web Vitals scores.
Notes from this implementation
One converter, every pair
PNG to JPG, JPG to PNG, WebP, and HEIC used to be separate pages that loaded this file and swapped the heading. The widget, the canvas path, and the privacy claim were the same. Those URLs now redirect here, with ?from= and ?to= so the dropdowns still match the link you followed. That is the curation change: one explanation of the tradeoffs, instead of nine copies.
The browser decodes the file and draws it to a canvas, then encodes the canvas as PNG, JPEG, or WebP. HEIC input is decoded with the bundled library first, because browsers still do not decode HEIC themselves. The page cannot encode HEIC. Transparency survives in PNG and in WebP. JPEG has no alpha. Transparent pixels become a solid background, white unless you set another color. That fill is a change to the picture, not a harmless wrapper.
Quality
JPEG and WebP quality are lossy when you choose a lossy setting. Converting JPEG to PNG does not restore detail the JPEG already discarded. It only stops the next save from discarding more. Converting a photo PNG to JPEG at about 85 often cuts the file sharply. Converting a flat UI graphic with text to JPEG leaves halos around the letters. Use PNG or lossless WebP for those.
The file is read locally. It is not uploaded. A very large image can still exhaust the tab’s memory, because the decoded bitmap is width times height times four bytes.