Skip to main content

Compress Image — Reduce File Size Online

Reduce image file size while preserving visual quality.

Tap to select a file

Supports JPG, PNG, WebP, BMP, up to 50MB

Runs entirely in your browser

What to do next

Related tools

About Compress Image

Image files balloon faster than people expect. A modern phone camera produces 4–8 MB JPEGs straight off the sensor, screenshots from high-DPI displays push past 1 MB, and PNG exports from design tools regularly clear 5 MB even when the visual content is simple. Compress Image is the tool you reach for when those raw files need to fit inside an upload limit, an email attachment cap, a faster page load, or just less of your storage quota.

The compressor handles JPEG, PNG, WebP and BMP through three different strategies because no single approach works well across all formats. JPEGs are re-encoded with a quality slider that drops imperceptible detail first — the math behind JPEG compression specifically targets the kinds of high-frequency information human eyes are bad at noticing. PNGs go through a lossless re-pack that finds smaller ways to encode the same exact pixels, plus an optional palette quantisation that converts 24-bit colour to an 8-bit palette where it makes sense. WebP gets a fresh re-encode at the quality you choose. BMPs are converted to JPEG or PNG depending on what the image actually contains.

Where this tool earns its keep over generic "drag and shrink" tools is the live preview. As you slide the quality control, the right side of the screen shows the compressed image at the current setting, so you can find the exact point where artefacts start to appear and back off one notch. For most photos that point lands somewhere between quality 70 and quality 85, producing files 60–80% smaller than the original with no perceptible visual change. For text screenshots and UI captures, JPEG quality typically needs to stay at 90+ to keep type sharp, or you can convert to PNG and let the lossless re-pack handle it.

The whole process runs locally — no upload, no server, no third-party CDN sees your image. That matters for screenshots of internal tools, photos of personal documents, and design work in progress. The original file on your disk is never modified; the compressed output is a fresh download you save wherever you choose. If the result is still too large, you can re-run with a lower quality target as many times as you like.

How it works

  1. 1Drop one or more images. JPEG, PNG, WebP and BMP are all supported up to 50 MB each.
  2. 2Choose a target quality or pick from the smart presets (web, email, archive). The slider works in real time.
  3. 3A live before/after preview shows the visual impact of your current setting and the projected file size.
  4. 4Hit Compress. JPEGs are re-encoded, PNGs are losslessly repacked or palette-quantised, WebPs get a fresh encode.
  5. 5Download the compressed image. The original on your disk is never altered, so you can re-run with different settings.

Common use cases

  • Shrink phone-camera JPEGs before uploading to a property listing or marketplace
  • Compress screenshots for a bug report so the issue tracker accepts the attachment
  • Reduce hero-image weight on a website to improve Core Web Vitals
  • Bring product photos under a marketplace seller portal’s 2 MB image limit
  • Trim PNG icon exports from a design tool before committing to a frontend repo
  • Shrink photos for email when the inbox keeps rejecting your attachment

FAQ

How much can I reduce the file size?

Typically 50–80% reduction for JPEGs and 20–50% for PNGs, depending on the image content.

Does compression reduce quality?

There is a slight reduction in quality at higher compression levels. Use the quality slider to find the right balance.

Which formats are supported?

JPG, PNG, WebP, and BMP images are all supported.

Will compressing my image make it look worse?

At sensible quality settings, no — the difference is invisible. JPEG and WebP at quality 80–85 produce files 60–80% smaller than the original with no perceptible visual change to a viewer. The only time compression looks bad is when you push quality below 50, which the live preview lets you see and avoid before you commit.

What is the difference between JPEG, PNG and WebP compression here?

JPEG uses lossy compression that discards detail human eyes are bad at noticing — best for photos. PNG uses lossless compression that keeps every pixel exact — best for screenshots, line art, and anything with sharp edges. WebP can do either, and at equivalent quality WebP files are typically 25–35% smaller than JPEG. The tool picks the right strategy based on the input format and your settings.

Can I compress multiple images at once?

Yes — drop a batch and the tool processes them sequentially with the same quality settings. Each output downloads as a separate file with the suffix "-compressed" so it does not overwrite the original. For very large batches, work through them in groups of 20–30 to keep memory usage comfortable.

Why is my PNG barely shrinking when I compress it?

PNG is already losslessly compressed at export, so a generic re-pack often saves only 5–15%. The bigger gains come from palette quantisation, which converts 24-bit colour to an 8-bit indexed palette and can shrink the file by 60–80% — but it only works well for images with limited colour, like UI screenshots or icons. For photographs in PNG, converting to JPEG with the JPG to PNG tool reversed will give you much smaller files.

Does the tool keep the EXIF metadata in my photos?

EXIF (camera, date, GPS) is stripped by default during compression because it is one of the easier ways to make a file smaller and most uploaders do not need it. If you specifically want to keep EXIF — for example when archiving family photos with location data — toggle the "preserve metadata" option before compressing.

Are my images uploaded to any server?

No. The entire compression pipeline runs in your browser tab using the Canvas API and the native image codecs. You can verify this by opening the network tab in your browser dev tools and watching for outgoing requests during compression — there are none that carry your image data.

What is the maximum image size I can compress?

The upload cap is 200 MB per image, but the practical limit is your device’s memory rather than the cap. A 50 MP camera photo (~30 MB JPEG) compresses in 1–2 seconds; a 200 MB scanned poster will take 10–15 seconds and may use several GB of RAM during decoding.

How do I get even smaller files than the default settings produce?

Three levers. First, drop the quality slider — quality 60 still looks good on most photos and produces much smaller files. Second, use the "web" preset which combines aggressive quality with metadata stripping. Third, convert to WebP — at the same visual quality, WebP files are 25–35% smaller than equivalent JPEGs and most modern browsers and CMSs accept them.

Add Noise to Image

Add monochrome film grain, colour noise, or salt-and-pepper specks to any photo. Choose noise type and amount; the result is rendered into a real PNG file in your browser.

Censor / Blur Region

Permanently censor a rectangular region of any photo with pixelation, blur, or a solid black bar. Specify exact x/y/width/height coordinates and the censor is baked into a real PNG — no recoverable original.

Skew Image

Apply real horizontal and vertical shear to any photo, turning a rectangle into a parallelogram. Choose X-skew and Y-skew angles from −60° to +60°; the tool re-renders to a real PNG with transparent corners.

Pixel Sorter

Apply real pixel-sorting glitch art to any photo: sort each row or column by brightness, hue, or saturation, with a threshold to control which pixels get included. Real PNG output.

Recompress JPEG

Upload a JPEG and re-compress it at a lower quality to reduce file size. Automatically strips EXIF metadata.

Data URI Image Encoder

Encode any image (PNG, JPG, GIF, WebP, SVG, BMP, AVIF, ICO) as a data URI using base64 or URL encoding. Live re-encode when you switch encoding mode, copy with one click, or download the result as a .txt file. Perfect for inlining tiny icons in CSS, single-file HTML emails, or browser-extension manifests.

Placeholder Image Generator

Generate crisp placeholder images for wireframes, mockups, and lazy-loading previews. Pick exact dimensions, background and text colours, font, and an optional auto-label, then download as SVG, PNG, or JPG — all generated locally in your browser.

Sprite Sheet Generator

Generate a sprite-sheet grid template with up to 20 × 20 numbered cells, configurable cell size, gap, background, and tint. Perfect for blocking out 2D game animations or planning UI icon sets — output is a crisp SVG you can drop into Aseprite, Krita, or your engine of choice.

View all Image Tools