Runs on your device · Your file never leaves your device.
Convert JPG images into PNG, a lossless format that will not degrade further each time it is edited and saved. This is the right move before doing graphics work on an image.
Be aware that converting will not restore detail already lost to JPG compression — existing artefacts are preserved exactly. PNG simply stops any further loss from here on.
Expect the PNG to be considerably larger than the JPG it came from, since nothing is being discarded.
Not for: Recovering quality — converting to PNG stops further loss but cannot undo compression already baked into the JPG.
Your browser decodes the JPG into pixels, and oxipng writes those pixels into the PNG without changing any of them. The result card confirms this with the line “Lossless — every pixel is identical to the original”. There is no quality slider for PNG, because nothing is approximated.
A phone photo that the camera stored sideways, with a note telling viewers to turn it, comes out with the turn already applied to the pixels, so the PNG is upright in every program, including programs that ignored the note in the JPG. The camera model, date and location stored in the JPG are not copied.
The page also offers Force a maximum file size. For PNG, the only way that switch can make a file smaller is to reduce the number of colours, from 256 down to as few as 2, and then the pixel size. A photograph pushed through that path comes out covered in fine dot patterns and is no longer lossless.
If a size limit matters, keep the photo as JPG and shrink it with /compress-image, or convert it with /jpg-to-webp. Max width / height does work here: a scaled-down PNG is smaller, though the result is then no longer pixel-identical to the original, and the card shows a quality score instead of the lossless line.
PNG can store transparency, but converting does not create any. The white or coloured background of the JPG stays in the PNG as ordinary pixels. To cut a person out of the background and get a transparent PNG, use /remove-background.
This page in other languages: العربية · Deutsch · Français · Español · Русский · Português · 中文 · हिन्दी · Türkçe · עברית · فارسی · اردو · Bahasa Indonesia · বাংলা