CodeKitHub中文

Compress JPG Images Online

Reduce JPG file sizes without visible quality loss: drop in your JPEGs, pick a quality level, and download smaller files with the exact savings shown per image. Optimized for the format photos actually come in — and it all runs locally, so your photos are never uploaded.

    What Is This Tool?

    A JPG compressor re-encodes JPEG images at a stronger compression setting. Cameras and phones save JPGs at very conservative (high) quality — great as an original, wasteful for sharing: a 5 MB photo typically compresses to well under 1 MB with no difference visible on screen.

    JPG compression works by discarding visual detail the eye barely registers, so it's a quality dial, not magic: this tool exposes that dial directly and shows the resulting size per image, plus an optional maximum width, since oversized dimensions are usually the other half of the problem.

    Why Use It?

    • Purpose-built for JPGs — the format your photos are already in.
    • Quality slider with per-image before/after sizes: see exactly what each setting costs.
    • Optional max-width resize handles the "4000px photo" problem in the same pass.
    • Batch compression, individual downloads.
    • Local and private — no upload, no size limit, no watermark.

    How to Use

    1. Drop JPG files onto the box (or click to choose).
    2. Set quality — 75% is the sweet spot for sharing; 60% for maximum savings.
    3. Optionally cap the width (1920px covers full-screen use).
    4. Download each compressed file; savings are shown per image.

    Example

    Input

    IMG_2054.jpg — 5.1 MB, straight from a phone

    Output

    IMG_2054-compressed.jpg — 0.62 MB (−88%)

    75% quality + 1920px max width: indistinguishable on screen, 8× lighter.

    Frequently Asked Questions

    What quality setting should I use?

    75–85% for anything people will look at closely; 60–70% for chat and email where speed matters more. Below 50% blockiness becomes visible. There's no single right answer — the live sizes let you test in seconds.

    Can I compress a JPG multiple times?

    Each re-encode loses a little more information (generation loss). One careful compression is fine; repeatedly editing and re-saving the same JPG gradually degrades it. Keep an original and compress copies.

    Why is my JPG barely getting smaller?

    It was probably already compressed — for example an image downloaded from the web. There's little left to remove. The tool warns when output would be larger than input; keep the original then.

    JPG compressor vs the general Image Compressor — which one?

    They share the same engine. This page is tuned for the JPG-only workflow (accepts only JPGs, always outputs JPG). Use the general Image Compressor when you also have PNGs/WebPs or want WebP output.

    Are my photos uploaded?

    No. Compression runs in your browser via the canvas API. Photos never leave your device — this also means no file-size limits and no queues.

    Related Tools