Skip to content

A LITTLE TOOL. A LOT OF POSSIBILITIES.

Resize Image to Exact KB

Choose the exact file size you need. Set a target in KB, select JPG, PNG or WebP, and download an image with that byte count.

Drop your image here

or choose a file from your device

JPG, PNG, WebP, HEIC, AVIF, SVG · Up to 20 MB
02

Choose your file size

Your download will be exactly this size. 1 KB = 1,000 bytes. If the encoded image is smaller, padding fills the remaining bytes without changing its appearance.

We start at maximum encoding quality, then adjust quality and dimensions if needed. Small targets can reduce detail, so check the preview before using your download.

Transparent areas will have a white background.

Your image stays on your device.

No account. No uploads. Just your image, processed in your browser.

How to use this tool

  1. Open your image

    Choose a JPG, PNG, WebP, HEIC/HEIF, still AVIF or self-contained SVG up to 20 MB. Your original file stays on your device.

  2. Choose an exact size

    Enter a whole number from 1 to 20,000 KB, or choose 20, 50, 100, 200 or 500 KB. Pick JPG for a photo upload, PNG for lossless encoding with transparency, or WebP when your destination supports it.

  3. Check and download

    The tool adjusts quality or dimensions to fit the image, then adds format-compatible padding when needed to reach your exact byte count. Check the file size, dimensions and preview before saving.

An exact file size is different from image detail

Kilobytes measure the amount of data in a file; pixels measure its width and height. JPG and WebP try quality adjustments before reducing dimensions. PNG uses lossless encoding and reduces dimensions when needed; resizing to fewer pixels can still remove detail. When the encoded image is smaller than your chosen size, the tool adds padding that follows the output format's structure to reach the exact byte count. This padding does not change the displayed picture or add visual detail. A 500 KB download contains exactly 500,000 bytes, but those bytes do not all have to describe image pixels. Keep the original and inspect the result before using it.

Frequently asked questions

Will the file be exactly the number of KB I enter?

Yes. A successful download matches your selected byte count. If the encoded picture is smaller, the tool adds format-compatible padding to make up the difference. For example, choosing 500 KB produces a 500,000-byte file, even if the encoded picture itself needs fewer bytes.

How many bytes are in one KB here?

This tool uses 1 KB = 1,000 bytes. A 100 KB target means exactly 100,000 bytes. Some apps display sizes using 1,024 bytes per unit, so their displayed number can differ for the same file. Compare the byte count when checking an exact result.

Does padding make the image look better?

No. Padding fills the difference between the encoded image size and your chosen file size. It does not add pixels, recover lost detail or change the displayed picture. A larger padded file can look identical to its smaller encoded image.

Can I resize an image to 20, 50 or 100 KB?

Yes. Choose a quick preset or enter your own whole-number size from 1 to 20,000 KB. Smaller targets can require lower JPG or WebP quality, or fewer pixels in any output format. If the tool cannot create an image at the requested size, it reports an error so you can try a higher target or another output format.

Does this change the image dimensions?

It can. JPG and WebP adjust encoding quality first, then reduce width and height when needed. PNG has no lossy quality setting, so the tool reduces dimensions if its initial PNG export is too large. The image proportions are kept, and padding does not change dimensions. Review the final dimensions, or use the image resizer when you need to set a particular width and height yourself.

Does PNG keep the original image quality?

PNG uses lossless encoding and can preserve transparency, but a small target size may require fewer pixels. Resizing can remove fine detail even though the resulting pixels are encoded losslessly. Any added padding leaves those pixels unchanged. This tool does not assign a PNG quality percentage or guarantee the original dimensions.

Can I prepare a photo for a passport or application upload?

You can use the tool to create a file with a requested byte count. Acceptance also depends on that destination's format, dimensions, composition, image quality and file-validation rules. Check those requirements and test the downloaded image; an exact KB size alone does not mean a photo will be accepted.

Which formats and image sizes can I use?

Open JPG, PNG, WebP, HEIC/HEIF, still AVIF or static self-contained SVG, and export JPG, PNG or WebP. AVIF needs browser decoding support; SVG cannot include scripts, animation, external resources or embedded images. Input files must be at most 20 MB, with no side above 8,192 pixels and no more than 24 million pixels in total.

Will transparency, metadata and animation be kept?

PNG and WebP can keep transparency, while JPG fills transparent areas with white. Original photo metadata is not retained; any padding added for the exact file size does not restore it. Animated PNG or WebP becomes a single still image, HEIC collections use one image, and animated HEIF or AVIF sequences are not supported.

Are my images uploaded or replaced?

No. Processing happens in your browser, and the download is a new file. Your selected image is not uploaded to Toolzorix or overwritten. Keep the original if you might need more detail or a larger version later.