Skip to content
Free tool

Compress & resize images online

Compress, resize and convert images: Image Compressor makes JPG, PNG and WebP files smaller, optionally brings them under a KB limit, and shows you the file size before and after. Free, with no sign-up or upload—your images stay in your browser.

Built by Dimitri Heissler

Images ready? Get your own Minecraft server.

Drag images here or select them

PNG, JPG, WebP, AVIF, GIF, BMP, and SVG. Up to 30 images, including paste from the clipboard with Ctrl+V.

Your images stay in your browser: they are neither uploaded nor saved.

Settings

Quick selection

Output format

80

Lower means a smaller file. With photos, you usually won't see a difference between 70 and 85.

The tool finds the highest quality that keeps the file within your limit (for JPG, WebP and AVIF).

Resize

Smaller pixel dimensions usually save the most storage space.

#ffffff

JPG does not support transparency: transparent areas are filled with this color.

Conversion removes metadata such as camera details, capture time, and GPS location.

Example result

What this Image Compressor shows you

Drag one or more images into the tool to instantly see each image's new pixel dimensions, file size, percentage saved and a preview with a before-and-after slider. Then download a file or all files as a ZIP. Three examples:

Example 1: Resize a photo for the website

Input:

A smartphone photo as a JPG with 4,032 × 3,024 px and 4.2 MB. “For the website” quick preset: WebP, quality 80, no more than 1,600 px wide.
Result for the photo
MetricValue
New pixel dimensions1,600 Ă— 1,200 px
Megapixels before / after12.2 / 1.9
FormatWebP
New file size (typical)150 KB – 300 KB
Typical savings93 – 97 %

In words: 4,032 Ă— 3,024 px becomes 1,600 Ă— 1,200 px. The image then has only about 16% as many pixels. The file typically shrinks from 4.2 MB to between 150 KB and 300 KB, a reduction of 93 to 97%. The exact size depends on the image: smooth areas compress better than foliage or noise.

Example 2: Convert PNG to JPG

Input:

A photo as a PNG, 1,920 Ă— 1,080 px, 3.1 MB. Output format JPG, quality 85, size unchanged.
Result for the PNG
MetricValue
New pixel dimensions1,920 Ă— 1,080 px
FormatJPG
Transparent areaswhite fill (if available)
New file size (typical)200 KB – 500 KB
Typical savings84 – 94 %

In words: You get a JPG file with unchanged pixel dimensions. It is typically between 200 KB and 500 KB in size instead of 3.1 MB, a reduction of 84 to 94%. If the PNG has transparent areas, the tool fills them with white because JPG does not support transparency. For logos with transparent backgrounds, PNG or WebP is a better choice.

Example 3: Compress to a target file size

Input:

A JPG with 3,000 × 2,000 px and 2.8 MB that must fit a form with a 500 KB upload limit. Output format JPG, quality 90, “Compress to target file size” set to 500 KB.
Result for the target file size
MetricValue
Pixel size3,000 Ă— 2,000 px
File sizemaximum 500 KB
Savingsat least 83 %
Selected qualityappears in the results row

In words: The tool tries quality levels in no more than eight passes and keeps the highest one that produces a file no larger than 500 KB. The pixel dimensions remain 3,000 Ă— 2,000 px. If even the lowest level is not enough, the tool reports this and suggests reducing the pixel dimensions as well.

How it works

How to compress and resize images online

Four steps from image to download—no account, no upload.

Step 1

Add images

Drag one or more images into the box, select them using “Select images,” or paste a screenshot with Ctrl+V. The tool supports PNG, JPG, WebP, AVIF, GIF, BMP, and SVG, up to 30 images at once.

Step 2

Choose format and quality

Choose a preset or set the output format yourself: JPG, PNG, WebP, or AVIF. The quality slider determines how small the file gets. For PNG to JPG, a quality of 80 to 85 is usually enough.

Step 3

Resize image or set target file size

Reduce the pixel dimensions using “Fit”, “Exact” or “Percent”. Or set a limit such as 500 KB: the tool will find the highest quality that keeps the file within the limit.

Step 4

Compare and download

For each image, you can see the pixel dimensions and file size before and after compression, plus the percentage saved. Use the slider to compare the original and result, then download the file or all files as a ZIP.

Terms

Resize or compress an image?

Resizing usually refers to pixel dimensions, while compression refers to file size. Many people call both “reducing image size.” This table shows which setting fits each goal.

Which setting suits which goal
You're looking forThis usually meansTool setting
Reduce image size, resize image, scale imageFewer pixels: a smaller width and height“Resize” using “Fit”, “Exact” or “Percent”
Compress images, reduce image sizeA smaller file in KB or MB; the pixel dimensions can stay the sameLower the quality or choose WebP format
Compress JPG, resize photoA photo for a website, email, or upload formJPG or WebP at quality 70 to 85 and a maximum width
Compress PNGA smaller PNG file, with transparency if possibleChoose WebP (preserves transparency) or reduce the image dimensions
Reduce image to 200 or 500 KBA fixed file size limit“Compress to target file size” with your limit in KB

Formats

Which image format is best for what?

The tool can create JPG and PNG files in any browser, and WebP and AVIF files if your browser supports creating them. The best format depends on the image: JPG, WebP or AVIF keep photos small, while PNG or WebP keep graphics with text sharp.

Output format comparison
FormatBest forTransparencyCompression
JPGPhotos and images with many gradientsnoLossy, widely supported
PNGLogos, screenshots, graphics with text and sharp edgesYesLossless, very large for photos
WebPAlmost everything on the web: photos and graphics, with or without transparencyYesusually much smaller than JPG and PNG, supported by all current browsers
AVIFPhotos when every kilobyte countsYesoften even smaller than WebP; not every browser can create it

Rules

How the Image Compressor works

Every step runs in your browser. Here's what the tool does with your image so you can interpret the result correctly.

Quality
The slider from 1 to 100 applies to JPG, WebP and AVIF. The lower the value, the smaller the file and the more likely you are to see blockiness and color fringing. For photos, 70 to 85 is often enough. PNG is lossless and has no quality slider.
Resize
“Fit” preserves the aspect ratio and fits the image within a maximum width and height without enlarging it. “Exact” forces the width and height, stretching the image if the aspect ratio differs. “Percent” scales both dimensions equally. For large reductions, the tool halves the image in stages to keep edges clean.
Transparency
PNG, WebP, and AVIF preserve transparent areas. For JPG, the tool fills them with the selected background color, white by default.
Metadata
Conversion creates new files without EXIF data. Camera details, capture time, and GPS location are removed. Camera rotation is applied first, so the image is oriented correctly.
GIF, SVG, and HEIC
For animated GIFs, the tool uses only the first frame. SVG files are converted to pixels. Only Safari can read HEIC and HEIF; in other browsers, the tool displays a notice.
Limits
Up to 30 images at once, each up to 40 MB. Output is limited to 16,384 pixels per side and 100 megapixels. These are browser limits, not tool limits.

Discover more

More tools

Crop an image (Image Cropper)

New

Crop images freely, into circles, or to fixed formats such as YouTube thumbnails, Discord banners, Instagram Stories, and X headers. Pixel-perfect, exportable as PNG, JPG, or WebP, and runs entirely in your browser.

Built by Luca Stanek

Compare images (before/after)

New

Compare two images: use a before-and-after slider, view them side by side with synchronized zoom, blend them, or see a difference image that highlights changed pixels and counts them as a percentage. The images stay in your browser.

Built by Justin Schuessler

Convert SVG to PNG (SVG to PNG)

New

Convert SVG to PNG: Save vector graphics at any size with sharp detail as PNG, JPG, or WebP, with transparent backgrounds and presets for favicons, Discord emoji, and Minecraft server icons. Runs entirely in your browser.

Built by Luca Stanek

Favicon Generator

Generate a complete favicon set from any image—favicon.ico, Apple Touch icon, Android Chrome icons, site.webmanifest, and a ready-to-copy HTML snippet—all in your browser.

Built by Jakub Martyniak

Image color picker

Extract a color code from an image: eyedropper with magnifier, HEX, RGB, and HSL values, the image's color palette, and a contrast tip. The image stays in your browser.

Built by Dimitri Heissler

Discord Avatar Preview & Editor

Crop your Discord avatar, adjust its zoom and position, and fine-tune brightness, contrast, and saturation—even for animated Nitro GIFs. Preview it as a server icon, DM avatar, and profile card before you upload. All in your browser.

Built by Justin Schuessler

FAQ

Frequently asked questions

Quick answers about compressing, resizing, and converting images, and this tool.

Drag one or more images into the tool, choose an output format and quality, and optionally set smaller pixel dimensions or a target file size in KB. The tool processes each image immediately and shows its pixel dimensions and file size before and after. Then download a single file or all files as a ZIP. The tool is free and runs in your browser, including on your smartphone: no sign-up, app or upload required.

Resizing an image usually means reducing its pixel dimensions, for example from 4032 × 3024 to 1600 × 1200 pixels. Compressing an image reduces its file size in KB or MB without necessarily reducing the pixel count. Both save space, and the terms are often used interchangeably. This tool lets you do both: set the pixel dimensions under “Resize” and the file size using quality and target file size. Combining both saves the most space.

Enable “Compress to target file size” and enter your limit in KB, such as 200, 500 or 1024 for 1 MB. Limits from 5 to 20,000 KB are supported. In up to eight passes, the tool tries quality levels up to your selected value and keeps the highest one that fits. This works with JPG, WebP and AVIF. If even the lowest quality level isn't enough, the tool shows a notice; you can then reduce the pixel dimensions too. This helps a photo fit an upload form or an email with a small attachment limit.

Select “JPG” as the output format and set quality to 70–85. The difference will be barely noticeable at normal viewing size, but the file will be much smaller. Check the result with the before-and-after slider. JPG is lossy: every time you save it, some quality is lost, so always compress from the original rather than an already compressed copy. If you need a specific file size, use the target file size option.

PNG is lossless and has no quality slider in this tool. To make a PNG smaller, reduce its pixel size or change formats: WebP preserves transparency and is usually much smaller; JPG is smallest for photos but does not support transparency. Saving a PNG as PNG again saves no space and may even increase the file size because browsers compress PNG less efficiently than specialized software. The tool marks such results with a plus instead of a minus.

Add the PNG and select “JPG” as the output format. A quality setting of 80 to 85 is enough for most images. Since JPG does not support transparency, the tool fills transparent areas with a background color, white by default. Photos often become several times smaller, but for graphics with text and sharp edges, it’s better to keep PNG or WebP.

Add the WebP file and select “JPG” or “PNG”. Modern browsers can read WebP directly, so no upload or installation is needed. Choose PNG if you need to preserve the WebP file’s transparency. For animated WebP files, the tool uses only the first frame.

Drag up to 30 images into the tool at once, each up to 40 MB. Each image is processed separately and shown with its pixel dimensions and file size before and after; the total for all files appears above. For email, set a maximum width such as 1600 px or a target file size that applies to each image. Then download the results individually or together as a ZIP.

No. The image is read in your browser, processed on a canvas and made available as a downloadable file. There is no upload, logging or storage. You can check this in the Network tab of your browser's developer tools: processing creates no requests containing your image. The new file also contains no EXIF data, including camera details, capture time or GPS location.

Any more questions?

Contact Support
Images ready?

Host your own Game Server in 60 seconds

Whether it's Minecraft, Rust, or FiveM, your server runs with DDoS protection, easy Mod management, and enough power for your community.

4.4/5 Trustpilot32,000+ Active serversSince 2010

No setup. No risk. Online in seconds.

Flexible TermCancel anytimeOnline in 60 seconds

Looking for more tools? View all image and design tools