Make room for your next idea

Compress images

Reduce JPEG or WebP file size with adjustable quality, an optional width limit and a target size. See the actual result before you download.

Processed on your device
THE PLAYGROUND

Compress

01 / ORIGINAL IMAGENo image yet

Drop your image here.

Choose an image, or drop it here.

JPEG, PNG, WebP, AVIF or HEIC · up to 20 MiB each

    02 / Make it yours

    Adjust your settings, then create a new copy.

    80%

    Lower quality can reduce bytes and visible detail.

    Pixels. 0 keeps the original.

    KiB. Best effort.

    Used for JPEG and when transparency is off.

    Choose an image or try the sample to get started.

    TESTED IN THE BROWSER

    A coastal image under 100,000 bytes

    Use the built-in coastal sample to compare a smaller download with the detail you give up.

    Original wide coastal scene with a tram, roof tiles and foliage
    Before1,536 × 1,024 px · WEBP · 460.0 KiB (471,004 bytes)Open full-size before image ↗
    The same coastal scene exported as a smaller 960 by 640 JPEG
    After960 × 640 px · JPEG · 96.9 KiB (99,215 bytes)Open full-size after image ↗

    Reproduce the settings

    Export format
    JPEG
    Quality ceiling
    80%
    Maximum width
    960 px
    Target size
    97 KiB (99,328 bytes)

    What changed

    The quality search reached the target at 35% quality. Width and height also changed; this is not a comparison of encoding alone.

    What to inspect

    Open the full-size result and inspect the tram windows, roof tiles and foliage. At 35% quality, fine detail is less faithful. Use a larger target or width if those details matter.

    Follow the complete workflow ↗

    Tested 16 October 2026 in a Chromium browser. Sizes come from the saved exports. Previews are scaled; open the original files above for a full-size comparison. Other browser encoders can produce different results.

    How to compress an image

    1. Choose a still JPEG, PNG or WebP image, or try the included sample.
    2. Select JPEG or WebP, choose a quality level, and optionally set a maximum width or target size.
    3. Process the image, compare the actual file size, and download the result.
    Read the guide: Reduce image file size without surprises

    Know before you export

    Compression changes how pixels are encoded. Lower quality may create visible artifacts. A requested target size is best effort, and converting an already efficient image can produce a larger file. PNG inputs can be exported as JPEG or WebP; this tool does not offer a misleading PNG quality slider.

    Supported files

    Still JPEG, PNG, WebP and AVIF up to 20 MiB and 64 megapixels, plus HEIC where your browser can open it (Safari on Mac, iPhone and iPad). Photos above 24 megapixels or 8,192 pixels per side are processed at that size. GIF, SVG and animated images are not supported. Available export formats depend on your browser.

    Quick ways in

    Drop an image anywhere on this page or paste one from your clipboard.

    Keyboard shortcuts

    • Ctrl/⌘ O Choose an image
    • Ctrl/⌘ Enter Process
    • Ctrl/⌘ S Download the result
    • Ctrl/⌘ Z Undo settings · add Shift to redo
    • Esc Cancel processing

    Your images stay local

    The tools read your files in browser memory and create a local download. They do not send image contents to a server.

    Keep creating.

    PRACTICAL WORKFLOW

    A practical Compress workflow.

    Prepare a photo for an upload form while keeping a separate, full-quality original.

    Try this example

    Try the 1,536 × 1,024 coastal sample with JPEG at quality 80 and Maximum width at 960. The working copy becomes 960 × 640. To preserve the source dimensions, leave Maximum width at 0 instead.

    Check before downloading

    Compare actual bytes and inspect tram windows, roof tiles and sky gradients. A target is a quality search, not a promise: the result explicitly reports when the requested size is unreachable.

    If the result is unexpected

    If the target is missed, lower the maximum width only when your destination allows smaller dimensions. If the export grows, keep the original or compare another format.

    Compress is free to use in your browser. No account or image upload is required.

    Compress: common questions

    Can I compress an image to an exact file size?

    Enter a target in KiB. PixelDesk searches within the available quality range without silently changing dimensions. If the target cannot be met, the result reports that. One KiB equals 1,024 bytes.

    Can I compress PNG files here?

    You can open a still PNG and export a compressed JPEG or WebP. This compressor does not produce optimized PNG files. Use the converter for a lossless PNG export.

    Compress presets