Image Format Converter
Convert images to JPG, PNG or WebP locally, with quality controls, page selection and batch downloads.
Compress images to a maximum size such as 20 KB or 50 KB, with quality control and optional pixel-dimension reduction.
Reduce image file size by choosing an encoding quality or a maximum number of KB per image. A target such as 20 KB is a ceiling, not an exact padded size; smaller dimensions are used only if you enable that option.
Example: A 20 KB maximum permits at most 20,480 bytes per image. If an image cannot fit at its original dimensions, the tool reports the failure unless dimension reduction is enabled.
How it works: Target bytes = KB limit × 1,024. In target mode the tool tests encoded files, reduces JPG/WebP quality within the supported range, and optionally reduces dimensions until each image fits. PNG does not respond to a lossy-quality slider; impossible targets produce an error.
Read the actual output bytes and dimensions together. A smaller file can result from encoding quality, format choice, or reduced dimensions when that fallback was explicitly enabled. A low-quality JPEG is not equivalent to a lossless copy.
The quality setting affects lossy JPG and WebP encoding. PNG does not respond to that lossy-quality control in the same way. Transparent PNG converted to JPEG needs a solid background because JPEG cannot preserve transparent pixels.
Use quality mode for a visual-quality decision, or Maximum file size when an upload has a byte limit. The target is per image rather than the size of the whole ZIP.
A 50 KB maximum allows 50 × 1,024 = 51,200 bytes per encoded image. Two successful images can therefore total up to 102,400 bytes before ZIP overhead.
A form accepting a maximum of 50 KB allows 51,200 bytes under this tool's 1,024-byte convention. If the destination instead states 50,000 bytes, choose a lower limit and verify the actual downloaded byte count.
Quality adjustment alone retains them. Maximum-size mode reduces dimensions only if you enable the smaller-dimensions fallback; inspect the output dimensions afterward.
No. It returns an image at or below the byte limit or reports that the target cannot be reached under your selected constraints. It does not add padding to reach an exact size.
Guidance updated . Methods and corrections
References: developer.mozilla.org
Your calculation values and selected files are not stored. Recent and saved tools keep tool identifiers; your market preference keeps only its country code in this browser.
Use the grouped tool selector above the form. Each tool has its own URL, and your browser’s Back button returns to the previous tool.