Why I stopped uploading my photos

Most free image converters upload your photos to a stranger's server and give up on RAW or HEIC. Mine stays in the browser.

· 6 min

Every free image converter I tried let me down the same way. You upload your photo with no real idea what happens to it afterwards, how long it sits there or who else gets to see it. And the moment you drop in a RAW file from a camera or a HEIC from an iPhone, most converters give up anyway and send you to Lightroom. The free ones are usually free because they're stuffed with ads. That doesn't make it any better.

For a single holiday photo that's no big deal. At work it is, especially when the file is a client's unreleased product shot I don't want to hand to a stranger's server. So I built my own image converter. The two things that had bugged me most became the whole reason for it. Nothing gets uploaded. And RAW and HEIC work without me having to open another app.

The upload problem nobody warns you about

Type "convert HEIC to JPG" into Google and you see the same pattern everywhere. You drag your photo onto the page, it disappears for a moment, and a converted file comes back. You never see where exactly the processing happens. Somewhere in that short gap your photo left your machine. It sat on a server you've never heard of, under a privacy policy you didn't read.

Most of the time that's harmless. I still didn't want to think about it every time, especially not when the file was a client's unreleased product shot on its way to a free tool whose business model I couldn't figure out. The only real fix: no server in the chain.

My version reads the file with the browser's FileReader. It draws it into an invisible canvas and produces the converted image with canvas.toBlob(), all in the same tab you already have open. The file never turns into a network request. There's nothing to upload because there's nowhere to upload it to.

RAW and HEIC are the actual gap

The second problem was narrower than the first, but it was more annoying. Plenty of converters handle JPG, PNG and WebP. Almost none of them will touch a RAW file from a camera, and the few free HEIC converters out there often disappoint in a different way. Some shrink the resolution without warning. Others compress so hard that you end up with a visibly worse picture than the preview the camera ships with the file.

That gap matters more than it sounds. These are exactly the files that need converting most. You can't just post or send a DNG from a drone or a CR2 from a Canon. Same with an iPhone HEIC, which most software outside Apple's world still can't open. The usual advice is "just open it in Lightroom". That's fine if you own Lightroom and only need a quick JPG out of one photo. It's bad advice if you don't, or if you've got a folder of forty files in front of you.

So the converter had to read DNG, CR2, CR3, NEF, ARW, RAF, ORF and RW2, the RAW formats from Adobe, Canon, Nikon, Sony, Fujifilm, Olympus and Panasonic. HEIC and HEIF from the iPhone came on top. What came out at the end had to be a normal WebP, AVIF, JPG or PNG. Pulling that off without a server in the background was the harder half of the build. Reliably detecting and decoding eight RAW formats and two HEIC variants, with no cloud computing power behind me, ended up taking more time than the actual conversion logic.

How the browser turns a file into a new image

Once a file has been broken down into pixels, the conversion itself is the easy part. All it takes is canvas.toBlob(mime, quality), a method built into every modern browser. It writes out WebP, AVIF, JPG or PNG at the size you want. The result is a Blob, an object in the browser's memory, not a file on somebody else's hard drive. You get three quality levels: 0.95 for minimal compression, 0.85 as the balanced default, and 0.65 when file size matters more than every last pixel. Switch between them and you watch the file shrink in real time.

For a plain JPG or PNG that's the whole story. Read the file, draw it, call toBlob, done. RAW and HEIC need real decoding first. That's where two bigger libraries come in.

Decoders that only load when you actually need them

HEIC support needs a library called heic2any, because hardly any browser apart from Safari ships a HEIC decoder. Loading it on every page visit would be a waste, given the far more common case of a JPG conversion. So it's only loaded with a dynamic import() the first time you drop a .heic file in. If you never touch HEIC, that code never reaches your browser. For the much more common job of turning a simple JPG into a WebP, not a single extra byte loads.

RAW files follow the same principle, just with a bigger payload. A RAW file isn't a finished picture yet, it's raw sensor data. Every pixel first has to be reconstructed from the values of its neighbors, which is called demosaicing. That's the job of libraw-wasm, a WebAssembly build of the LibRaw library weighing roughly 1.4 MB, as soon as you drop in a DNG or another RAW file. It demosaics in a Web Worker, using the white balance the camera itself recorded. The tab stays responsive while a 40-megapixel file decodes in the background. A few seconds per file is normal here. Turning raw sensor data into a picture is real computation. It happens on your machine instead of on a stranger's server.

Some of the newest iPhone ProRAW files use JPEG XL compression that the WebAssembly decoder can't read yet. Then the tool falls back to the full-resolution preview that every RAW file carries inside itself. So you still get a usable picture instead of an error message.

When the converter is actually worth it

I need it most when a folder full of RAW files is waiting for me after a shoot and I just want shareable JPGs quickly. Or when someone sends me an iPhone HEIC and I need a WebP that works everywhere, without opening an image editor. I also use it to shrink a whole folder of PNGs to WebP before they go on a page, just as quickly, and without wondering where they ended up in between. Every time it comes down to the same question: what's the fastest way from the raw file to a picture I can send, without needing an account or landing in a queue?

The image converter is one of twelve free browser tools I built myself. They all work on the same principle: client-side, no upload. If you're curious how the RAW decoding fits together with the rest of them, that post has the details.

The same principle is behind two other things I built for the same reason. Instead of taking a general-purpose app and living with whatever it happens to prioritize, I cut the tool to fit my exact problem. That's how my own JLPT trainer came about, instead of fighting Duolingo any longer. And it's how the WordPress theme I rebuilt from scratch came about, instead of forcing a page builder into something it didn't want to do.

The converter itself lives at /en/tools/image-converter. Drop a RAW file in and you get a JPG or WebP out the other side without opening anything else.

FAQ

Does the image converter upload my photos anywhere?
No. Every conversion happens in the browser tab, with the canvas element and a WebAssembly RAW decoder. Both run locally, on your machine. Nothing about the file leaves it, not the pixels and not the filename. You can check for yourself in the Network tab of your browser's developer tools that no request with your image goes out.
Which RAW formats does the tool actually support?
DNG, CR2, CR3, NEF, ARW, RAF, ORF and RW2. That covers Adobe's own format plus cameras from Canon, Nikon, Sony, Fujifilm, Olympus and Panasonic. On top of that come HEIC and HEIF straight off an iPhone.
Why does converting a RAW file take a few seconds instead of being instant?
A RAW file isn't a finished picture yet, it's raw sensor data. Every single pixel first has to be reconstructed from the values of its neighbors, which is called demosaicing. The tool does that in a Web Worker so a 40-megapixel file doesn't block the page while it works.
Does the tool replace Lightroom?
No, and I wouldn't claim that either. It decodes RAW files with the white balance the camera recorded and stops there. It doesn't touch exposure, color correction or lens corrections, because there's simply no photo editor behind it. The point is to turn a RAW file into a shareable JPG or WebP quickly, not to edit it.
Why does the tool only load the RAW or HEIC decoder sometimes?
Both are heavy: the RAW decoder alone brings about 1.4 MB of WebAssembly. If either one loaded on every visit, it would slow the page down for the far more common case of converting a plain JPG or PNG. So the tool fetches them only the moment you drop a matching file in.
What happens to iPhone photos in Apple's newer ProRAW format?
Some of the newest ProRAW DNGs use JPEG XL compression that the WebAssembly RAW decoder can't unpack yet. In that case the tool falls back to the full-size preview the camera embeds right in the file. So you still get a usable photo.
Portrait of Eric Hinzpeter

Eric Hinzpeter

Eric Hinzpeter, Senior B2B Content Strategist. He builds AI agents and marketing automation for production use and writes up what comes out of it here.

About meLinkedIn (new tab)