Image Tools

JPG Optimizer

Make JPG photos lighter for websites, forms and e-mail. Set the quality yourself, or enter a target file size – for example 200 KB for an upload form – and the optimizer finds the highest quality that fits. Limit the dimensions at the same time, process many photos at once, and check the difference with a before-and-after slider.

  • Files stay on your device
  • No sign-up
  • Free to use

How to use JPG Optimizer

  1. Drop photos onto the page (JPG, PNG, WebP, BMP or AVIF).
  2. Choose quality or a target file size.
  3. Optionally set a maximum width or height.
  4. Optimize and download.

JPG Optimizer features

Target size

Hits a size limit such as 100 KB or 1 MB.

Quality control

Or choose the quality directly.

Resize

Maximum width and height.

Metadata removed

Camera and location data stripped.

Never larger

Keeps already optimal files.

Private

Converted in your browser; nothing is uploaded.

When to use JPG Optimizer

  • Upload forms with file size limits.
  • Faster product and blog images.
  • Photos small enough for e-mail.
  • Batch preparation of photo galleries.

JPG Optimizer FAQ

How does the target size work?

The optimizer encodes the photo repeatedly, halving the range of qualities each time, and keeps the highest quality whose file is at or below your target. If even the lowest quality is too large, it tells you – then reduce the dimensions as well.

What quality is good?

75–85 is a good balance for photos on the web; above 90 the size grows quickly with little visible gain.

Is EXIF data removed?

Yes. Re-encoding drops camera data, GPS location and thumbnails. The orientation is applied to the pixels first, so photos stay upright.

Can I convert PNG to JPG here?

Yes. Transparent areas become white, since JPG has no transparency.

Are my files uploaded?

No. Everything happens in your browser.

JPG compression explained

JPG compresses photos by discarding detail the eye is unlikely to miss. The image is split into 8 × 8 pixel blocks, each block is transformed into frequencies, and the fine high-frequency detail is stored with less precision. The quality setting controls how much precision is kept: high values preserve texture, low values produce visible blocks and smudges.

File size does not follow quality in a straight line. Going from 95 to 85 often halves the file with no visible difference, while going from 60 to 40 saves little but looks clearly worse. A target-size search uses this: it tries qualities between the extremes, narrows the range seven times, and settles on the best quality that meets your limit.

Dimensions matter even more than quality. A 12-megapixel phone photo shown at 1200 pixels wide contains ten times more pixels than needed. Setting a maximum width or height before compressing gives the biggest savings and makes target sizes easy to reach.

Re-encoding also removes metadata such as camera model, date and GPS position, which is good for privacy and saves a few kilobytes.

Photos are processed in your browser; they are never uploaded.

Other useful tools