Skip to content
Marvin's Toolbox.

Search tools

Type to filter all tools

JPG Image Compressor

Shrink any image with as little quality loss as possible. Pick a WhatsApp, Instagram or Discord preset, or switch to Custom to hit a hard file size or a fixed quality, downscale with aspect-locked resolution sliders, and keep or strip EXIF metadata. Live preview, multiple images at once.

Everything runs locally in your browser. Your data never leaves your device.

Upload

Drop images here

Any format: JPG, PNG, WebP, HEIC… Click to choose files.

They never leave your browser.

Compression

Next steps

Send this tool's output straight into another tool.

Copy the EXIF metadata from one photo onto another without changing the destination's pixels. That covers camera model, lens, focal length, exposure, GPS and more. Choose to replace all metadata or only fill in what the source provides.

Shrink any image with as little quality loss as possible. Pick a WhatsApp, Instagram or Discord preset, or switch to Custom to hit a hard file size or a fixed quality, downscale with aspect-locked resolution sliders, and keep or strip EXIF metadata. Live preview, multiple images at once.

Convert images between JPEG, PNG, WebP and AVIF. Drop in as many as you like, pick a format, and dial in the quality for the lossy ones. When you convert to JPEG, choose the colour that fills any transparency. Live previews, download one or all at once.

See and edit the EXIF metadata inside a photo, then download it with your changes or save a copy with all metadata removed, GPS included. It reads JPEG, PNG, HEIC and more, and edits JPEG files.

Draw arrows, boxes, text, highlights and numbered steps on a screenshot, blur or pixelate anything private, crop the result and add a watermark. The finished image downloads as PNG or JPG or goes straight to your clipboard.

Hash text or a file with MD5, SHA-1, SHA-256, SHA-512, SHA-3, BLAKE2, BLAKE3, CRC32 and more, all computed live as you type. Compare against an expected checksum and copy any digest.

Verify a checksum online: drop a file, paste the expected checksum and see instantly whether they match. The hash type is detected from the checksum itself, covering MD5, SHA-1, SHA-256, SHA-512, BLAKE3, CRC-32 and more, and sha256sum lines or whole checksum files can be pasted as-is.

Compress text or a file with gzip, deflate, brotli or Zstandard and see the size before and after, the compression ratio and how long it took. One click tries every method and recommends the smallest result.

Decompress gzip, deflate, brotli or Zstandard data from a file or pasted Base64 and read the result as text or download it. Detects the format from the magic bytes where possible, with a manual override.

About the JPG Image Compressor Tool

This tool makes image files smaller by re-saving them as JPEG. Drop in a photo and either aim for a target file size or set the quality by hand.

It reads JPG, PNG, WebP and other formats, and always gives you a JPEG back. Presets cover WhatsApp, Instagram, Telegram, Discord and email, or you can set your own limit.

What you can do

  • Compress an image to a target file size, like 100 KB or 2 MB.
  • Compress photos for WhatsApp, Instagram, Telegram, Discord or email.
  • Set the JPEG quality by hand.
  • Resize an image while compressing it.
  • Convert PNG, WebP or HEIC photos to JPEG.
  • Keep or remove the photo's EXIF metadata.
  • Compress several images at once.

How to use the JPG Image Compressor

  1. 1Drop in one or more images, or click to choose them.
  2. 2Pick a preset, or choose Custom for full control.
  3. 3In Custom, set a target file size or a quality level, and turn on resizing if you want to cap the dimensions.
  4. 4Choose whether to keep the EXIF metadata.
  5. 5Check the preview and the before and after sizes, then download.

Target a file size, or set the quality

Target file size is the one to use when something has to stay under a limit. Set a ceiling in KB or MB and the compressor searches for the highest quality that still fits, shrinking the dimensions if it has to. Manual quality is the other way round, you pick the quality and see whatever size comes out.

Transparency and other formats

JPEG cannot store transparency, so any see-through areas in a PNG or WebP come out black. If you need to keep transparency, or you want a PNG, WebP or AVIF file rather than a JPEG, use the Image Converter.

EXIF is only carried over when the original is a JPEG that already has it. Images from PNG or WebP have no EXIF to bring across.

Shrink an SVG with SVGO. Paste the markup or drop a file, toggle every optimizer plugin individually, set the numeric precision and multipass, and compare the size before and after. Copy the result or download it as a file.

Create barcodes in dozens of formats, from EAN-13, UPC-A and Code 128 to QR Code, Data Matrix and PDF417. Type the content, tune the size, colors and text options, and download the result as PNG or SVG.

See any image the way people with a color vision deficiency see it. Upload a picture and preview protanopia, deuteranopia, tritanopia, the milder anomalous forms and monochromacy next to the original, then download any simulation as a full resolution PNG.

Pull the dominant colors out of any image as a ready-to-copy palette. Choose how many colors you want, copy each one as HEX, RGB or HSL, and export the whole palette at once.

See and edit the EXIF metadata inside a photo, then download it with your changes or save a copy with all metadata removed, GPS included. It reads JPEG, PNG, HEIC and more, and edits JPEG files.

Copy the EXIF metadata from one photo onto another without changing the destination's pixels. That covers camera model, lens, focal length, exposure, GPS and more. Choose to replace all metadata or only fill in what the source provides.