Browser tool

Compress JPG

Shrink JPG and JPEG photos by quality, target size, or dimensions. Everything runs locally in your browser.

How it worksPick manual quality or a target size in KB, optionally resize, then Process. The tool re-encodes the JPEG with the browser canvas and shows the before and after size.
Result will appear here.

How this tool works

What it does

Re-encodes your JPG at a quality you choose, or iterates quality and dimensions to approach a target file size in KB. JPEG is lossy, so smaller files trade away some detail.

Privacy

The image is decoded and compressed on your device with JavaScript. No file is uploaded, and re-encoding also drops embedded EXIF and GPS metadata.

Verify

Your files are never sent to imgtoolsbase or any other server. The work happens in the browser canvas with no upload of your photo.

Compress JPG in your browser

Compress JPG is a private, browser-based JPEG compressor. Load a photo, choose how much to compress, and download a smaller JPG without sending anything to a server.

Use manual quality when you want direct control, or switch to target file size when an upload form needs the image under a specific number of kilobytes.

How to use Compress JPG

  1. Add a JPG or JPEG file with the upload box or by dragging it in.
  2. Pick Manual quality and set the quality slider, or pick Target file size and enter a KB value.
  3. Optionally limit the width, height, or scale percentage to shrink the image further.
  4. Click Process, check the before and after sizes, then click Download.

Why use this tool

Manual size control

Set the JPEG quality yourself and watch the before and after file size update on every run.

Target file size

Switch to target mode and the tool lowers quality, then dimensions if needed, to get close to your KB goal.

Resize while you compress

Cap the width or height, or scale by percent. The tool never enlarges a JPG beyond its original size.

Private by design

Compression runs in your browser. The photo is never uploaded, and EXIF and GPS data are dropped on re-encode.

Common uses for Compress JPG

Website images

Cut JPEG page weight to improve load time and Core Web Vitals.

Email and forms

Get a photo under an attachment or upload-portal size limit.

Cloud storage

Store camera JPGs at a smaller size to save space.

Faster sharing

Upload quicker to chat apps, drives, and social media.

Frequently asked questions

Is Compress JPG free to use?

Yes. It is a free browser tool on imgtoolsbase.com with no signup, no email, and no account.

Are my photos uploaded to a server?

No. The JPG is compressed locally in your browser, so the file never leaves your device.

How does the JPG target size option work?

The tool repeatedly re-encodes the JPEG at different quality levels, and downscales if needed, to get as close as possible to the KB target you set. It reports the size it achieved.

Does compressing a JPG remove EXIF and GPS data?

Yes. Re-encoding through the browser canvas drops embedded metadata such as EXIF and GPS, which is useful for privacy.

Which browser works best?

Any recent Chrome, Firefox, Safari, or Edge. JPEG encoding is supported in all current browsers.

Related image tools

Tools that pair well with Compress JPG.