Skip to content

How to reduce image file size: KB, pixels and quality

To reduce an image’s file size, lower its pixel dimensions, compress it harder or switch format. This guide shows how to get a JPG or PNG under a KB or MB limit without visible quality loss.

Published Last updated 4 min read

In short

  • Check whether the requirement concerns KB/MB, pixel dimensions or the file format.
  • Remove unnecessary pixels before pushing compression too far.
  • No visible quality loss is something to check in the result, not a universal guarantee.
  • Keep the original for printing, editing or a different crop.

An application form rejects a photo, an email attachment is too large, or a website needs lighter images. Each calls for a smaller file, but the same settings will not suit them all. Compress Image shrinks JPG and PNG files right in your browser, and Reduce Image Size aims for a set KB or MB limit.

These steps use the tools available on QuickImageFix. Selected files are processed on your device; the website and required processing models still need to load.

A landscape photo before and after image compression, with JPG, PNG and WebP formats

File size and image dimensions are different

KB and MB measure storage. Width and height in pixels describe the image dimensions. A large photograph displayed in a small space may contain far more pixels than it needs.

Use Resize image for dimensions and Compress image for storage. Cropping first can remove areas you do not need, but it changes the composition.

Choose a format for the actual image

JPG usually suits photographs; PNG suits sharp graphics and transparency. WebP can be useful for websites, but it will not make every source smaller. The format guide explains the trade-offs.

Our PNG compressor can reduce the color palette. The resulting PNG stores those new pixels losslessly, but colors may already have changed. Check gradients, small text and translucent edges. Compress PNG and Compress JPG therefore need different checks.

Work towards the required limit

  1. Read the recipient’s permitted format, dimensions and file-size limit.
  2. Open the image and choose a suitable output format.
  3. Select target size and enter the limit, or adjust quality directly.
  4. Inspect the preview and the target-status message.
  5. Download the copy and verify it in the destination application.

The 100 KB JPG, 200 KB JPG and 100 KB PNG pages provide editable starting values. Target compression can also reduce pixel dimensions when changing quality is not enough. Check both values afterward.

Check details before accepting the result

CheckWhat to look for
Text and numbersReadable characters without fuzzy edges
Faces and productsNatural detail and recognizable features
GradientsNo distracting bands or color changes
Transparent areasClean edges and the expected background

Judge the file at its intended display size as well as in a close view. More compression may be acceptable for a thumbnail than for a document that someone must read.

Email, forms and websites need different checks

For email attachments, consider the combined size of all files. For online forms, obey the exact byte limit and allowed format. The size-limit presets use decimal units: 1 KB is 1,000 bytes.

For websites, begin with suitable pixel dimensions, then compare JPG and WebP. PageSpeed image preparation cannot fix every performance problem: layout, loading strategy and the server also matter.

Compress several images without losing track

Select multiple files in Compress images, remove any you do not need and select the files to process. The quality or target-size settings apply to the selected files; the resulting sizes will differ with their content.

Check each file’s size, target status and preview. Retry failures individually and download successful results together as a ZIP. Save completed downloads before changing settings, because new settings clear previous results. ZIP groups the files; it does not guarantee smaller image data.

Keep originals and review metadata

Repeatedly recompressing an already compressed copy can accumulate visible damage. Start again from the original when changing your settings. Converting a JPG to PNG cannot restore discarded detail.

A newly rendered image often loses EXIF information. However, a file returned unchanged because it already fits keeps its metadata, as do JPEG/JFIF renaming operations. Check the downloaded file if location or camera information matters.

Frequently asked questions

Can I make an image smaller with no loss of quality?
Sometimes the file already contains unnecessary data or pixels for its intended use, but no setting guarantees an identical result. Check the copy visually. Palette reduction, resizing and lossy encoding can all change the image.
Why is the new file larger?
The original may already be efficiently compressed, or the chosen format may be a poor match. Try a different permitted format or lower quality, or retain the original.
Does a lower KB value also mean fewer pixels?
Not necessarily. Quality changes can reduce bytes without changing dimensions. Target compression may also resize when that is needed to approach the limit.
What if the target is still not reached?
Check the target-status message rather than a rounded size display. Reduce dimensions only if the recipient allows it, or use another permitted format. Do not assume an oversized file will be accepted.
Can I compress photos on an iPhone or Android phone?
Yes, choose photos through the browser’s file picker. Large batches need more device memory, so start with a few files and keep the tab open while they run. No separate app is required.

About the author

Abdul Basit, Full-stack web developer

Abdul Basit

Abdul Basit is an independent full-stack web developer based in Pakistan and a co-founder of Onyxstack. He builds and runs QuickImageFix and writes its guides to image compression, resizing, format conversion and PDF tasks.

Free, in your browser, and nothing is uploaded.