JPEG Compressor

Reduce JPG/JPEG file size online. Pick a quality level or a target KB, and we re-encode locally in your browser.

ToolLast updated ·Reviewed by the OnlineFileConverter team

Drop or click to select JPEG image

About this tool

JPEG (or JPG) is the most widely used image format on the web because it produces remarkably small files for photographs. The catch is that JPEG is a lossy format — every save discards some image data. The JPEG Compressor on this page lets you trade a precise amount of quality for a smaller file, all without ever uploading your photo to a server.

Compression happens entirely inside your browser using the native HTML5 canvas encoder. That means no file size cap beyond your device's memory, no waiting in an upload queue, and no third party touching your image. If you need a specific output size — say, under 200 KB for a job application portal — enter the target and the tool iteratively reduces quality and, if needed, dimensions until the file fits.

JPEG is best for photographs and other continuous-tone images. For graphics with sharp edges, text, screenshots, or transparency, PNG or WebP will produce better results.

Why use it

  • Runs 100% in your browser — no uploads, no signup, no watermark.
  • Set an exact target file size in KB or MB.
  • Optional dimension downscaling for huge camera originals.
  • Batch-friendly: drop a folder of photos and compress them all.

How to use it

  1. 1
    Drop your JPEG

    Drag a .jpg or .jpeg file into the upload box, or click to choose from your device. Multiple files are supported.

  2. 2
    Pick a quality or target size

    Use the quality slider for a quick result (80% is visually identical to the original for most photos), or enable the target size option to hit an exact KB.

  3. 3
    Download the compressed file

    Click download as soon as the result is ready. Your original is never modified.

Common use cases

  • Shrinking photos for email and messaging app size limits.
  • Meeting upload caps on government and job portals.
  • Speeding up websites by reducing image weight (Core Web Vitals).
  • Preparing photo sets for cloud storage with quotas.
  • Compressing screenshots before pasting into documents.
  • Batch-optimizing product photos for an online store.

Tips for best results

80% is the sweet spot

Below 60% you start to see blocking on smooth gradients like skies. Above 90% the file is barely smaller than the original.

Resize before re-encoding

A 6000-px-wide phone photo doesn't need to stay 6000 px wide for the web. Halving the width usually quarters the file size.

Don't compress twice

Re-saving the same JPEG over and over compounds quality loss. Always start from the original, not a previously compressed copy.

Related tools

Frequently asked questions

Will compression hurt the quality?

JPEG is lossy. At 80% quality the difference is invisible to most viewers; at 60% you'll see slight softening on fine detail.

Is there a file size limit?

No upload, no server limits — only your device's RAM.

Can I target an exact KB?

Yes. Enter a target KB and we iteratively shrink quality and dimensions until the file fits.