Compress JPEG

Re-encode JPEG photos at the quality you choose, in your browser.

On-device No sign-up Free to use

Compress controls

  1. 1 Add files
  2. 2 Arrange/Options
  3. 3 Download

Drop your images here

or choose them from your device

JPEG images only. Every output stays JPEG; each image uses the same compression settings.

    80
    ?

    50–100% for JPEG and WebP. PNG ignores this setting; use PNG colors instead.

    ?

    After quality or palette compression, try up to five smaller sizes. Stops at 64 pixels on the longest side. The result reports its actual dimensions and size.

    Advanced
    ?

    JPEG output only. Removes camera settings, location, extra document metadata and the saved color profile, and always hands back the newly encoded file even when the original was smaller. The saved print resolution is kept.

    ?

    0 keeps the quality setting. A target is best effort for JPEG and WebP: the tool lowers quality up to four times and reports the size it actually reached. PNG output ignores it and uses the PNG color count instead.

    ?

    Keep the original pixel dimensions. Turn this off to apply the maximum longest side below.

    ?

    0 keeps the original pixel size. Images are never enlarged.

    Result

    Showing an example.

    A JPEG photograph at 4032 by 3024 pixels.

    A photo named after the source with -compressed added, still 4032 by 3024 pixels, re-encoded at quality 80 and reported with the original size and the new size. If the re-encode is not smaller, the original comes back under its own name and the result says so.

    Loading the tool. Your result will appear here.

    https://usefreetools.net/compress-jpeg · 20 November 2026

    Was this helpful?

    How to use Compress JPEG

    1. Add one or more JPEG photos. Every image in a run uses the same settings.
    2. Every output uses JPEG.
    3. Select Compress, compare the reported sizes, then download the photo or the ZIP for a batch.

    Example: Compress JPEG

    A JPEG photograph at 4032 by 3024 pixels.

    You add
    One JPEG at 4032 by 3024 pixels, Quality 80, Output format JPEG and No maximum pixel size left on.
    You get
    A photo named after the source with -compressed added, still 4032 by 3024 pixels, re-encoded at quality 80 and reported with the original size and the new size. If the re-encode is not smaller, the original comes back under its own name and the result says so.

    Options

    Quality (%)
    JPEG quality uses a 50 to 100 scale with 80 as the default. Lower values may reduce bytes and discard detail. Inspect faces, smooth gradients, text and sharp edges.
    No maximum pixel size
    On by default, and it keeps the original width and height. Turning it off reveals the Maximum longest side box, which scales the long edge down and never enlarges an image.
    Target size and measured output
    A positive Target size uses 1,024 bytes per KB and tries at most four lower JPEG quality settings. Optional pixel reduction can then try up to five smaller sizes. The result reports the actual bytes and dimensions.
    Before and after
    Pick a JPEG photo from the comparison list. Build a reduced preview and move the slider to inspect faces, fine texture and edges at the current quality. Reopen the full download before replacing the source.
    Matching an upload cap
    Check whether the receiving form means decimal KB or 1,024-byte units. Use a budget below its exact cap and verify the downloaded file’s actual byte count; a target status on this page does not establish that another site will accept it.
    Remove camera and location data
    Turn this on to force a fresh JPEG and remove its EXIF/XMP, ICC and Photoshop/IPTC containers, even when the original is smaller. Stripping keeps the new JPEG’s picture data and density tag. Removing a color profile can affect appearance.
    Reduce pixel dimensions if the target is still unmet
    Optional. With a size target, try up to five smaller pixel sizes after compression and report the actual dimensions and byte count.

    Supported inputs and limits

    Batch sizeUp to 20 images per run
    Per image64 MiB each, 40 megapixels each
    Total size128 MiB total for the whole run
    • Up to 20 JPEG inputs per run, 64 MiB each, 128 MiB total and 40 megapixels per image.
    • Input is checked from its bytes and output is pinned to JPEG.
    • Quality is 50–100%.
    • If format and dimensions stay the same and metadata removal is off, a smaller original can be returned with its metadata.
    • Requested resizing or metadata removal can require a larger fresh encode.
    More details

    Size targets use 1 KB = 1,024 bytes and are best effort.

    Optional pixel reduction is off by default and tries at most five smaller sizes after quality search.

    Outputs include individual JPEGs and a ZIP for a batch.

    Keep the source.

    Where your input is processed

    This tool does not upload your inputs. See the limits for anything saved on your device.

    What the quality setting actually controls

    The quality number is a request to the browser’s encoder, not a promised percentage of visual detail or file size. Two photos at the same setting can have very different sizes. Compare actual downloads and change one setting at a time. Work from the original on each attempt: re-encoding an already compressed JPEG can compound visible damage.

    Questions about Compress JPEG

    How low can I set the quality before a photo looks worse?

    There is no quality percentage that looks the same for every picture or browser encoder. Start with a setting, reopen the download at its intended size and inspect faces, smooth gradients, sharp edges and small text. Reduce quality gradually and keep the original.

    Why did my JPEG come back at the same size?

    The re-encode was not smaller than the original, so the tool returned your file untouched instead of writing a larger one. Try a lower quality, or turn off No maximum pixel size and set a smaller longest side if the photo is much bigger than it needs to be.

    Does compressing a JPEG remove the camera and location data?

    A newly encoded file drops the original camera and location tags. If the original is already smaller and returned unchanged, its metadata remains. For JPEG output, turn on Remove camera and location data to force a new encode and remove those containers. Check the JPEG metadata tool’s report when removal matters.

    Can compressing make the file bigger?

    A resize or requested metadata removal can require a larger fresh JPEG. Otherwise, a re-encode that is not smaller is discarded and the original is returned. Read the delivered size before keeping the result.

    Will the pixel size change?

    It changes only when you set a smaller maximum longest side or enable optional pixel reduction for an unmet target. Both controls report the dimensions that were actually produced.

    Page updated · Project managed by Tony Hines · Report a problem with Compress JPEG

    Related reading

    All guides