miniwidgets Useful tools, quick games and everyday learning. Free, with no account.

Image converter

Convert between JPG, PNG and WebP, one file or a batch. The images never leave your computer.

Your images Nothing is uploaded
Drop images here Or click to choose them. Several at once come back as a single zip. JPG / PNG / WEBP / GIF / BMP

    No images yet.

    The pictures stay on your computer

    Consider what people actually convert: a photograph of a passport for a letting agent, a payslip for a broker, a signed form for an employer, a receipt for an expense claim. Those are the images you would least like sitting on a server you know nothing about, and they are exactly what the popular converters ask you to upload.

    This page does the work in your browser. The image is read from your own disk, decoded, re-encoded and handed back, and there is no server in the process that could receive it. Turn your connection off after the page loads and it still works, which is the simplest demonstration there is.

    PNG to JPG

    The commonest conversion, and usually done to make a file smaller or to satisfy an upload form that will not take a PNG. Expect a large reduction: a screenshot that was 2 MB as a PNG is often under 200 KB as a JPG.

    Two things to know. JPG is lossy, so detail is discarded to get the size down, and converting back to PNG later does not bring it back. And JPG has no transparency, so anything transparent is filled with white and the page says so when it happens.

    JPG to PNG

    This is the one people are usually disappointed by, so it is worth being clear: it will not improve the image. PNG stores every pixel exactly, but the pixels it is storing are the ones JPG already threw detail away from. What you get is a much larger file containing exactly the same picture, frequently three or four times the size.

    It is the right conversion when something downstream demands a PNG, or when you need transparency you are about to add. It is the wrong one if you are hoping to recover quality.

    WebP, and why it is worth the trouble

    WebP is roughly 25 to 35% smaller than JPG at the same visible quality, and unlike JPG it supports transparency, so it does the work of both formats. Every current browser displays it, which was the only real objection for years.

    Converting the other way, WebP to JPG, is still common: plenty of older software, printers and upload forms have never heard of it. That direction works here too.

    HEIC, and the honest answer

    An iPhone saves HEIC by default, and Windows frequently refuses to open it. It is the single most searched-for image conversion there is, and this page can only do it in Safari, on a Mac or an iPhone.

    That is not a shortcoming that more code would fix. HEIC uses a patent-encumbered codec that Chrome and Firefox deliberately did not ship, so in those browsers the file simply cannot be decoded. A tool claiming otherwise is either uploading your photograph to a server, or loading several megabytes of decoder to do what Safari does for nothing. Open this page in Safari and it works. Or email the photo to yourself: Apple converts it to JPG on the way out.

    Photographs taken sideways

    A phone held sideways does not rotate the picture. It stores what the sensor saw and adds a tag saying which way up it goes, and a converter that ignores the tag hands back a sideways image. This one honours it, so what you get is what you saw on the phone.

    Several at once

    Drop in as many as you like and they come back as a single zip, because a browser will block a page that tries to start twenty downloads in a row. One image on its own is handed straight back as an image, with no archive to unpack.

    The conversion runs on your own processor and memory, so a very large batch is limited by your device rather than by any rule of ours. If it struggles, do it in two halves.

    Common questions

    Are my images uploaded?
    No. The images are read from your own disk, converted in your browser, and handed straight back to you. Nothing is sent to us or to anyone else, and nothing is stored. That matters more than it sounds: the pictures people convert are usually photographs of passports, payslips, forms and receipts.
    Can it convert HEIC photos from my iPhone?
    Only in Safari, on a Mac or an iPhone. HEIC uses a licensed codec that Chrome and Firefox chose not to ship, so those browsers genuinely cannot open the file, and no amount of JavaScript changes that. Opening this page in Safari works. Failing that, emailing a photo to yourself usually converts it to JPG on the way, because Apple does the conversion for you.
    Which is better, JPG or PNG?
    JPG for photographs, PNG for anything with flat colour, sharp edges or transparency: logos, screenshots, diagrams, text. JPG throws away detail to get small, which is invisible on a photograph and produces a smeared halo around lettering. PNG keeps every pixel exactly, which is right for a screenshot and enormous for a photograph.
    What happens to a transparent PNG converted to JPG?
    JPG has no transparency at all, so the transparent areas have to become something. They are filled with white, and the page tells you when it happened. The usual alternative, leaving them empty, produces black, which people reasonably report as the tool being broken. If you need the transparency, convert to PNG or WebP instead.
    Why is my converted file larger than the original?
    Almost always because you converted a photograph to PNG. PNG is lossless, so it stores every pixel exactly and a photograph can easily triple in size. Going the other way, PNG to JPG, usually shrinks it dramatically. WebP is smaller than both at the same visible quality, and every current browser displays it.