Cookies for analytics and advertising
We use cookies for analytics and advertising, both sent to Google. Refusing changes nothing you can see.Read the privacy page
JPG20 KB
Up to 100 files at once. Mixed formats are fine.
They convert one after another and download together as a ZIP.
Getting a photograph under 20 KB is a search rather than a setting: no encoder can be told a byte count, so we encode at several qualities and keep the highest one whose result fits. Drop a file above and it happens in your browser, with nothing uploaded. Twenty kilobytes is a hard target for a photograph, and worth saying so before you spend time on it: quality alone will not get there without visible damage.
The only route to 20 KB that keeps a photograph looking like a photograph is to make it small in dimensions as well as in quality. An image 400 or 500 pixels wide at a moderate quality reaches 20 KB comfortably; the same picture at 2000 pixels wide does not, at any quality worth using.
This is usually fine, because the requirement almost always comes with a matching display size. Forms asking for a 20 KB photograph are asking for a thumbnail or a small profile picture, and nothing will ever draw it larger than a couple of hundred pixels. Set the resize control to 800 px or below and the target stops being a fight.
If you leave the dimensions alone, expect the search to bottom out at our quality floor and report that it could not reach the number. That is deliberate. Below about quality 30 a JPEG stops being a compressed photograph and becomes a blocky approximation of one, and producing that silently to satisfy a number would answer the request while failing the person who made it.
Government and institutional forms are the usual source of a 20 KB limit, and they are also the usual source of a matching pixel limit further down the same page. Reading that second requirement first tends to make the first one easy.
A JPEG encoder takes a quality number, not a file size. The relationship between the two depends entirely on the picture — a photograph of a brick wall and a photograph of a clear sky at the same quality and the same dimensions differ in size by a factor of ten, because one is full of detail and the other is nearly empty.
So there is no formula. We encode at a quality, measure the result, and adjust — narrowing in on the highest quality that still fits under 20 KB. It costs a handful of encoding passes, which is why this takes a moment longer than compressing to a fixed quality, and it is the only honest way to answer a question posed in kilobytes.
Sometimes the better answer is a different format — especially for a photograph stored as JPG.