Image Converter

Convert images between PNG, JPEG and WebP, or combine several into a single PDF — all in your browser, with the format trade-offs explained.

Re-saving a JPEG costs pixels and does not cost bytes

Which is why nobody notices. Take a 1200 × 630 image, save it at quality 85, open that and save it again at the same setting, eight times over. The drift column is the average distance every colour channel has moved from where it started.

GenerationBytesMean driftWorst channel
1 45,383 0.000 0
2 45,340 0.097 25
3 45,354 0.137 35
4 45,351 0.169 45
5 45,322 0.192 50
6 45,306 0.208 53
7 45,299 0.220 55
8 45,305 0.229 57

The file size moves by 0.17% across the whole run, and it moves up as well as down, which is how you can tell it is noise rather than a signal. Meanwhile one channel has shifted by 57 out of 255 — a fifth of the range — and nothing in the file size hints at it.

Most of the damage lands in the first few passes and then slows, and it concentrates where the compression works hardest: edges, lettering, fine texture. A photograph re-saved eight times looks much the same. A screenshot of text does not. Quality 85 is not a floor you settle onto — every pass takes a fresh bite.

WebP is roughly half the size at every setting

The same image encoded to both, at matching quality numbers.

QualityJPEGWebPWebP saves
50 26.6 KB 14.7 KB 45%
75 35.7 KB 17.7 KB 50%
85 44.3 KB 23.0 KB 48%
95 67.8 KB 36.0 KB 47%
100 110.6 KB 43.5 KB 61%

The margin widens as the quality rises, which is the opposite of what you might expect. One caveat worth stating: the two quality scales are not the same thing — 85 in one encoder does not mean what 85 means in the other — so this is not quite like for like. The gap is large enough that no reasonable re-alignment closes it.

Lossless PNG of the same picture is 69.4 KB, which lands between JPEG at 95 and JPEG at 100 — 57% more than JPEG at 85 for no visible gain. PNG earns its keep on flat colour, line art and screenshots, and loses badly on photographs.

Transparency becomes black, and not for the reason usually given

JPEG has no alpha channel, so something has to be decided about the transparent pixels. A PNG does keep a colour behind them and it can be anything. Encoding three of them — red, blue and black, all at zero alpha — gives black every time.

Stored under the transparent pixelStraight to JPEGFilled white first
rgb(255, 0, 0) at zero alpha rgb(0, 0, 0) rgb(255, 255, 255)
rgb(0, 128, 255) at zero alpha rgb(0, 0, 0) rgb(255, 255, 255)
rgb(0, 0, 0) at zero alpha rgb(0, 0, 0) rgb(255, 255, 255)

So "it showed the hidden colour" is not the explanation — the stored colour is discarded and replaced. This converter fills white before drawing whenever the target cannot carry transparency, which is why it does not happen here.

Filled first: image/jpeg and pdf. Left alone: image/png and image/webp, both of which carry an alpha channel of their own.

One last conversion worth naming. A PDF measures in points, seventy-two to the inch, while an image measures in pixels at ninety-six — so a pixel is exactly 0.75 of a point. Matching the page to the image gives 900 × 472.5 points, or 12.5 inches wide, which is wider than A4 and Letter both. Matching the page and fitting to a page are genuinely different requests.

How to use

  1. Choose your images and the target format.
  2. Set quality for lossy formats.
  3. Convert and download.
  4. Keep the original if the conversion is lossy.

Frequently asked questions

Which format should I choose?

JPEG for photographs, PNG for anything with sharp edges, flat colour or transparency, and WebP for the web where you want both — it handles photographs and transparency and compresses better than either. GIF is only worth using for legacy compatibility.

Does converting PNG to JPEG lose quality?

Yes, permanently, and it also discards transparency — transparent areas become solid, usually white or black. Converting a screenshot or logo to JPEG produces visible halos around text and edges, which is the most common regrettable conversion.

Is converting JPEG to PNG a way to recover quality?

No, and this is a common misunderstanding. PNG stores exactly what it is given, so converting a compressed JPEG to PNG preserves the artefacts perfectly while producing a much larger file. The lost information is gone and no format can bring it back.

What is WebP good for?

Nearly everything on the web. It compresses roughly 25 to 35 per cent smaller than JPEG at comparable quality, supports transparency and animation, and has broad browser support. The main caveat is that some older software outside the browser still does not open it.

Why combine images into a PDF?

Because a PDF keeps a set of pages together in a fixed order, which is what recipients expect for scanned documents, receipts and forms. It is far more convenient to send one file than a folder of images, and page order survives.

Does anything get uploaded?

No. All conversion happens in your browser, so photographs, documents and scans never leave your device — which is the main reason to avoid online converters for anything containing personal information.

🔒 This tool runs entirely in your browser. Nothing you enter is uploaded, logged, or stored.