Image Converter
Converts photos, iPhone HEIC and camera RAW (DNG, CR2, NEF and more) to WebP, AVIF, JPG or PNG, all in your browser, with no upload to a server.
Compression
Balanced between quality and file size
Output format
Best compression for the web, recommended
Keep original dimensions
Drop images here or click to choose
JPG, PNG, WebP, GIF, HEIC, HEIF, BMP, AVIF, SVG and RAW (DNG, CR2, CR3, NEF, ARW, RAF, ORF, RW2), several files at once is fine
No images yet. Upload one to convert it.
Most free image converters on the web work the same way. You upload your photo, it disappears onto someone else's server for a moment, and then a converted file comes back. What happens to the original in the meantime is written down, at best, in a privacy policy nobody reads. And with a RAW file from a camera or a HEIC from an iPhone, many of these tools give up anyway and send you off to Lightroom.
This converter runs entirely in your browser. In go JPG, PNG, WebP, GIF, BMP, AVIF, SVG, HEIC and HEIF, plus camera RAW from Adobe, Canon, Nikon, Sony, Fujifilm, Olympus and Panasonic: DNG, CR2, CR3, NEF, ARW, RAF, ORF, RW2. Out comes WebP, AVIF, JPG or PNG, scaled down if you like.
The German URL still dates from when the tool could only do WebP. What it does today goes a lot further. Why I built the converter is in my post about the image converter.
How it works
You drag an image into the box or pick one with a click. The browser reads the file with FileReader, draws it into an invisible <canvas> and writes the target format with canvas.toBlob(mime, quality). None of it leaves the tab. There's simply no network request that could contain your image data.
You get three compression levels. Low means quality 0.95, a barely visible difference and a bigger file. Medium sits at 0.85 and is the balanced default. High compresses to 0.65: the file gets a lot smaller, and the quality loss shows.
The Resize field scales width and height together to anywhere from 1 to 100 percent, before the image is drawn. If you change a setting afterwards, the tool reconverts every image you've already uploaded automatically. You don't have to upload anything again.
Two formats need more than canvas. For HEIC, the browser tries the native route first, which Safari can do out of the box. If that fails, the tool loads the heic2any library, but only with the first HEIC of your session.
RAW files go through libraw-wasm, a WebAssembly build of LibRaw of about 1.4 MB. It demosaics the sensor data with the white balance the camera saved itself. The tool only loads either library when it's needed, so the page stays light for the more common case, a plain JPG or PNG. A 40-megapixel RAW takes a few seconds.
Some of the newest iPhone ProRAW files use JPEG XL compression, which the WebAssembly decoder can't read yet. In that case the tool falls back to the preview embedded in the RAW (full resolution on current iPhones) instead of stopping with an error. Animated GIFs get cut down to the first frame, because canvas doesn't store animation. SVGs are rasterized at their own size before conversion.
When you need it
It's one of twelve free tools that run entirely in the browser. It pays off most here:
- After a shoot you have a folder full of RAW files and want shareable JPGs quickly, without opening Lightroom.
- Someone sends you an iPhone HEIC, and you need a WebP or JPG every browser can show.
- You want to shrink a folder of PNGs to WebP in one go before uploading them to a website.
- A client photo needs optimizing for the web, but mustn't be uploaded anywhere.
Every image gets its own preview with stats: original size, new size, savings in KB and percent, plus the total savings across all images. You can download one at a time or all of them at once, each as a separate file, no ZIP. If you then need a social media graphic from the image, the Thumbnail Generator does that.
Why WebP is the right choice for most photos
According to Google's own WebP documentation, losslessly compressed WebP images are on average 26 percent smaller than PNG. Lossy WebP images are 25 to 34 percent smaller than comparable JPEGs. On a product gallery or a blog post with lots of photos, that's the difference between a page that loads instantly and one that stutters. It feeds straight into the Core Web Vitals, Largest Contentful Paint above all.
AVIF usually compresses a bit more than WebP. Fewer browsers support it, though, and the export takes more processing time. For most websites WebP stays the more practical default. JPG is the safest choice when very old software has to open the image. PNG belongs wherever you need transparency, logos for example.
Compression alone isn't enough. An image should never be bigger than it's actually displayed on the page. A 4000-pixel-wide photo in an 800-pixel-wide container wastes bandwidth nobody sees. That's exactly what the resize field in the tool is for: set the target width right at export, instead of shipping the bloated original and letting the browser scale it down later. If you post to Instagram afterwards, it has its own dimensions. You'll find them in these Lightroom export settings for Instagram.
File name and alt text count too
Converting is only half the job. The file name automatically stays the same, just with the new extension: beach-holiday.jpg becomes beach-holiday.webp.
Still, give it a descriptive name beforehand. "IMG_4821.webp" tells neither Google nor you anything about the image.
Width and height in the HTML matter just as much. Without them the page jumps while loading, because the browser only knows how much space to reserve once the image has finished loading.
The tool shows you the exact dimensions of every converted image right in the preview, so you just copy them into width and height. And every image needs alt text: short, concrete, describing what's in it, not just "image".
What the tool doesn't do
It's no replacement for Lightroom or any other RAW converter. It reads the white balance from the camera and stops there. Exposure, color correction, lens corrections: it touches none of that, simply because there's no image editor behind it. It doesn't store anything on a server either. Every image only exists in the tab until you reload the page or remove the image.
And it hasn't been a pure WebP converter for a long time, whatever the German URL says. That URL stayed because Google has had it indexed for years. The tool behind it can do a lot more today.
FAQ
- Do my images get uploaded?
- No. The browser reads the file with FileReader, draws it into an invisible canvas and writes the target format from there. There's simply no network request that could contain your image data, and nothing gets stored either: every image only exists in the tab until you reload the page.
- Which formats can I throw at it?
- JPG, PNG, WebP, GIF, BMP, AVIF, SVG, HEIC and HEIF, plus camera RAW from Adobe, Canon, Nikon, Sony, Fujifilm, Olympus and Panasonic: DNG, CR2, CR3, NEF, ARW, RAF, ORF and RW2. Out comes WebP, AVIF, JPG or PNG, scaled down if you want. The German URL still says webp-converter, from back when the tool could only do WebP. It stayed because it's been indexed for years.
- Why does a RAW file take longer?
- Because RAW goes through libraw-wasm, a WebAssembly build of LibRaw of about 1.4 MB that demosaics the sensor data with the camera's white balance. The tool only loads it with the first RAW of your session, so the page stays light for the more common case. A 40-megapixel RAW then takes a few seconds.
- WebP or AVIF?
- WebP, for most websites. According to Google's own documentation, lossless WebP images are on average 26 percent smaller than PNG, and lossy ones 25 to 34 percent smaller than comparable JPEGs. AVIF usually compresses a bit more, but fewer browsers support it and the export needs more processing time. Use JPG when very old software has to open the image, PNG where you need transparency.
- Does this replace Lightroom?
- No. The converter reads the white balance from the camera and stops there. It doesn't touch exposure, color correction or lens corrections, because there's no image editor behind it. For a folder of RAWs you want to turn into shareable JPGs quickly, it's enough. For developing a photo, it isn't.
More tools
UTM Builder
Builds campaign URLs with the five UTM parameters and warns you live about mistakes that wreck GA4 reports, like uppercase letters or a missing campaign.
Readability Checker
Check readability with the right formula: Amstad for German, Flesch Reading Ease for English. Score, stats and your longest sentences, right in your browser.
Markdown Editor
Markdown on the left, live preview on the right. One click copies both so the formatting survives in Word, Google Docs and Gmail.
JSON-LD Generator
Generate JSON-LD from a form or check existing markup for missing required fields. 17 Schema.org types from Article to VideoObject, in your browser.