Skip to content

Image Format Converter

Image Format Converter

Convert images to PNG, JPG or WebP entirely in your browser. Set quality and an optional maximum width, and batch-process multiple files at once. No upload, no signup, no compression-quota limits — everything runs locally on your machine using the browser's native image decoders.

Why Format Conversion Still Matters

Different formats are good at different things. JPG is lossy, has no alpha channel, and produces the smallest files for photographs. PNG is lossless, supports transparency, and is the right pick for logos, screenshots, and anything with sharp edges. WebP is roughly 25-35% smaller than JPG at equivalent quality and supports both lossy and lossless modes plus transparency — it's the default modern web image format. AVIF compresses even better than WebP but lacks the universal support WebP enjoys, so it's usually shipped as a <picture> fallback layer.

The right format depends on where the image is going. Email attachments still want JPG for compatibility. Modern web pages want WebP with a JPG fallback. App icons want PNG for the alpha channel. Social media platforms each have their own preferences — Instagram converts everything to JPG anyway, so starting from JPG saves a round-trip of recompression.

How It Works

The tool uses the browser's Canvas 2D API. Each input image is decoded into a canvas, then re-encoded via canvas.toBlob() in the target format. The quality slider maps directly to the quality parameter of toBlob() for JPG and WebP. For PNG output the slider is ignored. Browsers cannot encode BMP or GIF from a canvas, so the tool writes those itself: BMP as an uncompressed 24-bit bitmap, GIF with the gifenc encoder (MIT), reduced to a 256-colour palette with one-bit transparency. Every result is checked: if a browser hands back a different format than the one you chose, the file is not offered and you see why. Exif and colour-profile metadata are not carried over.

Need to compress before converting? Run the input through the image compressor first. Need to resize? The bulk image resizer handles dimensions before format. For removing the background on a photo before converting, the background remover runs locally too. To color-grade a photo before exporting it — and optionally pull the grade out as a .cube LUT with Cinematic Looks — grade first, then convert.

Common Use Cases

Converting a folder of PNG screenshots to WebP for a documentation site (our 1280×720 test came out 9% smaller at quality 90; lower quality saves more). Producing JPG versions of design exports for email-friendly sharing. Stripping the alpha channel from a PNG by converting to JPG so a print service doesn't reject it. Bringing HEIC or AVIF images into a format older software accepts, where your browser can decode them.

Worked example: what each target format really produces

On October 12, 2026 we ran three files through the tool's conversion path in Chromium 141 (draw to canvas, white fill for JPG and BMP, then canvas.toBlob() with the target type at the default quality 90) and read the type and size of each result.

InputOriginalJPGWebPPNGBMP / GIF (since Oct 12, 2026)
Photo, 1920×1080 JPEG793 KB597 KB474 KB4.12 MBReal BMP and GIF now (before: PNG data, 4.12 MB, with a .bmp/.gif name)
Screenshot PNG, 1280×72068 KB98 KB62 KB107 KBReal BMP and GIF (before: PNG data)
Logo PNG, transparent4 KB12 KB, white background5 KB, transparency kept10 KBBMP on white; GIF keeps transparency (before: PNG data)

Sources

Checked on .

Related tools

Frequently Asked Questions

What formats can I convert between?+
Input: anything your browser can display (PNG, JPG, WebP, GIF, BMP, and AVIF or HEIC where supported). Output: PNG, JPG, WebP, BMP and GIF, all real files of that type. PNG, JPG and WebP come from the browser’s own encoder; BMP (24-bit, uncompressed) and GIF (256 colours, one-bit transparency) are written by the tool, because browsers cannot encode them from a canvas. AVIF output is not offered.
Does converting to JPG lose quality?+
JPG is a lossy format, so some quality is lost. Use the quality slider (1-100%) to control the trade-off between file size and quality. 85-92% is usually a good balance.
What's the best format for web?+
WebP offers the best balance of quality and file size for web use. It supports both lossy and lossless compression and is supported by all modern browsers. PNG is best for images with transparency.
Can I convert multiple images at once?+
Yes. Upload multiple images and they'll all be converted to your chosen output format. Download them individually or all at once.
Does this tool upload my images?+
No. All conversion happens in your browser using the Canvas API. Your images never leave your device.
Will I lose transparency converting to JPG?+
Yes for JPG and BMP: neither supports transparency here, so transparent areas are filled with white. PNG and WebP keep full transparency, and GIF keeps it as on/off (one transparent colour), so soft edges become hard.
What quality should I use for WebP?+
80-90% is ideal for most web use. WebP compression is very efficient — a WebP at 80% quality often looks better than a JPG at 85% quality while being smaller.
What is the difference between PNG and WebP?+
Both support lossless compression and transparency, but WebP files are typically 25 to 35 percent smaller than equivalent PNG files at the same visual quality. WebP also has a lossy mode that competes with JPEG. PNG remains the safest universal choice for compatibility with very old software; WebP is the better default for modern web use where every browser released after 2020 supports it.

📖 Learn More

Related Article Image Format Guide: PNG vs JPG vs WebP vs GIF — When to Use Each →

Built by Derek Giordano · Part of Ultimate Design Tools

Privacy Policy · Terms of Service