Free Online Tool

Image Compressor

Use this free online image compressor to compress JPEG, PNG, and WebP images directly in your browser. Drag in one file or a whole batch, move the quality slider to control how much you shrink the image, set an optional max width to resize while compressing, and download the smaller files instantly. No account needed, nothing uploaded, and it works on phones and tablets just as well as on a desktop.

★★★★★4.9, used by web developers, photographers, and content creators

Drop images here or click to upload

JPG, PNG, WebP and more. Batch upload supported.

Your images never leave your device.

Everything you need to reduce image size

Six features that cover every common image compression task without bloat or signups.

Batch compression

Drop multiple JPEG, PNG, or WebP files at once and compress them all in a single pass. Each image is processed with the same quality settings, saving you time when you have a full folder of photos to reduce.

Quality control slider

A simple slider lets you dial in exactly how much compression to apply. Preview the estimated file size before you download so you can find the sweet spot between sharpness and file weight.

Resize while compressing

Set a maximum pixel width and the tool will scale the image down at the same time it compresses it. Resizing is often the single biggest factor in reducing image size, especially for photos taken on modern phone cameras.

WebP and JPEG output

Save your compressed image as a JPEG for broad compatibility or as a WebP for the smallest possible file on modern browsers. WebP typically beats JPEG by 25 to 35 percent at the same visual quality.

100% private, no upload

Every step of the compression process runs inside your browser using built-in Web APIs. Your photos never travel to a server, so personal pictures, confidential product images, and sensitive documents stay on your device.

Works on mobile

The interface is touch-friendly and the layout adjusts for phones and tablets. Select images from your camera roll, set the quality, and save the compressed versions back to your device without needing a desktop computer.

Who uses an image compressor?

Anyone who publishes, shares, or stores images and cares about file size.

Faster websites and SEO

Page speed is a confirmed Google ranking factor and images are usually the heaviest assets on a page. Compressing images reduces page weight, improves Core Web Vitals scores like Largest Contentful Paint, and helps pages rank higher in search results.

Emailing photos

Email clients and servers impose attachment size limits, often around 10 to 25 MB. Compressing a batch of holiday or event photos before attaching them means the email goes through first time without bouncing and recipients don't wait long to download.

Fitting upload size limits

Many platforms set a maximum file size for profile pictures, product images, or form attachments. Compress and resize an image to stay under the limit without switching to a desktop photo editor or finding a separate resize tool.

Saving phone storage

Modern smartphones capture photos at 10 to 50 MB each. Compressing photos you want to keep but share or archive frees up significant storage, especially useful before a trip when you want to make room for new pictures.

Social media uploads

Platforms like Instagram, Twitter, and LinkedIn apply their own compression after you upload, which can degrade quality unexpectedly. Compressing to a good quality setting yourself before uploading gives you more control over how the final image looks.

Reducing cloud storage

Cloud storage services charge by the gigabyte. Compressing a large photo library before backing it up can cut the storage bill significantly, and compressed images still look excellent at standard screen sizes.

About image compression

A thorough guide to compressing images, choosing formats, and getting the best results.

What this image compressor does

This free online image compressor lets you compress JPEG, PNG, and WebP files without leaving your browser. Paste in a single photo or a whole folder of images, drag the quality slider to your preferred balance of sharpness and file size, optionally enter a maximum pixel width to resize while compressing, and download each result with one click. The tool shows you the before and after file size for every image so you can see exactly how much you saved. Because it runs client-side, your files never travel to a server and the tool works at full speed even on a slow connection.

Why compressed images matter for websites and SEO

Images are typically the largest assets on any web page, often accounting for 60 to 80 percent of total page weight. When a visitor lands on a page full of uncompressed photos, the browser has to download megabytes of data before it can finish rendering, which pushes up load times. Google measures this with Core Web Vitals metrics, particularly Largest Contentful Paint, which tracks how long it takes the biggest visible element on the page to load. A slow LCP score hurts both user experience and search rankings. Compressing every image on a page to the smallest acceptable quality is one of the highest-return performance optimisations available because it directly reduces the bytes the browser must fetch.

The SEO benefit compounds over time. Faster pages earn lower bounce rates, more pages per session, and better conversion rates, all signals that search engines interpret positively. A well-compressed product image gallery or blog post with optimised photos will consistently outperform the same content served with raw, uncompressed files, everything else being equal. Using this image size reducer as part of your publishing workflow is one of the simplest ways to improve rankings without touching a line of code.

Lossy vs lossless compression: which should you use?

Lossy compression permanently discards image data that the human eye is unlikely to notice, achieving dramatic reductions in file size. JPEG has always been lossy, and WebP supports a lossy mode that is even more efficient. At quality settings of 75 to 85, most viewers cannot spot the difference between a compressed JPEG and the original, even displayed at full screen. Lossless compression, used in the PNG format, reorganises and encodes data more efficiently without removing any of it, so the decompressed image is a perfect reconstruction of the original. Lossless files are larger, but they preserve every pixel exactly.

For photographs and images with lots of gradients and fine detail, lossy JPEG or WebP compression gives far smaller files than lossless PNG, with only minimal visible quality loss at sensible quality settings. For screenshots, diagrams, logos, and images with flat colours and sharp edges, lossless PNG compression keeps those crisp boundaries without the blocky artefacts that lossy compression can introduce in high-contrast areas. As a rule of thumb: use lossy JPEG or WebP for photos, and PNG for graphics where text or sharp edges must remain pixel-perfect.

How the quality slider works

The quality slider controls how aggressively the compressor discards image data during encoding. A setting of 100 keeps almost all detail and produces a file that is close in size to the original. A setting of 50 discards more data, giving a noticeably smaller file that may show slight blurring or JPEG blocking artefacts in detailed areas. For most web images, a quality setting between 70 and 85 hits the sweet spot: the image looks sharp at normal viewing sizes but the file is 60 to 80 percent smaller than the original. The tool shows you the resulting file size at your chosen quality before you download, so you can adjust the slider and instantly see the trade-off without committing to a download.

When to resize vs compress an image

Resizing and compressing address different aspects of file size. Resizing reduces the pixel dimensions of the image, which shrinks the file because there is simply less data to store. If you have a 4000-pixel-wide photo from a DSLR and you only need it displayed at 800 pixels on a website, resizing to 800 pixels removes 80 percent of the pixels before compression even begins. Compression then operates on a much smaller canvas, giving an even smaller final file. For maximum size reduction, combine both: resize to the largest dimension at which the image will actually be displayed, then apply compression at a quality setting of 75 to 85.

If the image dimensions are already appropriate for the use case, compression alone is usually the right move. Resizing below the display size would only make the image blurry when the browser scales it back up. This tool supports both operations simultaneously: enter a max width and a quality level and both transformations are applied in a single pass.

JPEG vs PNG vs WebP: choosing the right format

JPEG is the most widely supported format and the default for photographs on the web. It uses lossy compression tuned for continuous-tone images, and even at moderate compression levels it keeps photos looking excellent. PNG uses lossless compression and supports full transparency, making it the right choice for logos, icons, UI screenshots, and anything where you need a pixel-perfect result. WebP is a newer format from Google that supports both lossy and lossless modes as well as transparency, and it consistently produces smaller files than either JPEG or PNG at the same visual quality. All modern browsers support WebP, so choosing it for web images is a straightforward win on file size.

How to compress an image to a target size like 100KB

Many platforms impose a maximum upload size. Passport photos, forum avatars, and government document uploads often require files under 100KB, 200KB, or 500KB. The fastest approach is to start at quality 80 and check the file size the tool reports. If the output is still above your target, reduce the quality slider by 5 to 10 points and recheck. If the image is still too large after lowering quality significantly, also enter a smaller maximum width to resize the pixel dimensions down. Switching from PNG to JPEG or WebP before compressing can also make a large difference for photographic content, because PNG lossless encoding is inherently less space-efficient than lossy JPEG or WebP for photos.

Why browser-based image compression keeps your photos private

Many online image tools route your files through a remote server for processing. Your image is uploaded, processed on a machine you do not control, stored temporarily (or sometimes permanently), and then sent back. With this tool, all processing happens inside your browser using the Canvas and File APIs that are built into every modern browser. Your photos never leave your device. This matters for personal photographs, confidential product shots, medical images, legal documents, and any picture you would not want sitting on a stranger's server. There are no retention policies to read, no GDPR forms to accept, and no risk of your images appearing in a company's training data.

Batch compress images to save time

Compressing images one at a time is fine for a single hero image, but it becomes tedious when you have a folder of 20, 50, or 200 product photos, event pictures, or blog post images to prepare. The batch compression feature lets you drop all of them onto the tool at once. The same quality and resize settings are applied to every file, and you can download each compressed image as it finishes. For regular publishing workflows such as an e-commerce site that adds new product images weekly, batch compression is the feature that saves the most time.

Shrink images for email attachments

Email remains one of the most common ways people share photos, and attachment size limits are a regular source of frustration. Most email providers cap attachments at 10 to 25 MB, and many corporate email servers are stricter. A few uncompressed DSLR or modern smartphone photos can easily exceed that limit. Compressing a batch of photos to JPEG quality 80 before attaching them typically reduces a 30 MB group to under 5 MB, well within any attachment limit, while the images still look excellent when the recipient opens them on screen or prints them at standard sizes.

Compress images on a phone to free up storage

Modern smartphones capture photos at resolutions between 12 and 50 megapixels, producing raw files of 5 to 50 MB each. A year of casual photography can fill 64 GB of storage before you know it. Compressing photos you want to keep but no longer need at full resolution frees up significant space. Because this image compressor works on mobile browsers, you can open it on your phone, select photos from your camera roll, compress them at quality 75 to 80, and save the smaller versions. You can then decide whether to delete the originals or keep them as a backup. The tool is particularly useful before a trip when you need to make room for new photos.

Frequently asked questions

If you don't find your question here, ask us directly.

An image compressor is a tool that reduces the file size of an image by removing redundant or less-important data from the file. The process can be lossy, where some image detail is permanently discarded to achieve smaller sizes, or lossless, where the file is made smaller without any quality loss at all. Smaller images load faster in browsers, use less storage, and are easier to share by email or upload to platforms with size limits. Our image compressor runs entirely in your browser, so no photo ever leaves your device.

Open the Image Compressor tool on this page, then drag and drop your image files onto the upload area or click to browse and select them. Use the quality slider to set how much compression to apply: lower values produce smaller files with slightly less sharpness, while higher values keep more detail at a larger file size. If you also want to resize while compressing, enter a maximum width in pixels. Once the tool has processed your images, click Download to save each compressed file. The entire process happens in your browser with no upload to any server.

Yes, this image compressor is completely free with no signup, no account, and nothing to install. You can compress JPEG, PNG, and WebP images as many times as you like. There are no daily limits, no watermarks added to your images, and no hidden charges. The tool is kept deliberately simple and fast so you can reduce image sizes without navigating through paywalls or subscription prompts.

No. Every operation runs entirely inside your browser using the Web APIs built into modern browsers. Your photos and images never leave your device, are never uploaded to our servers, and are never seen by any third party. This makes the tool safe for personal photos, confidential product images, and any other picture you would not want stored on an external server. You can even disconnect from the internet after the page loads and the compressor will still work.

Lossy compression permanently discards some image data to produce a significantly smaller file. JPEG compression is always lossy: it reduces file size by slightly blurring fine detail in a way that is usually invisible at normal viewing sizes, but the original pixel data cannot be recovered. Lossless compression, used in formats like PNG, reorganises and encodes the data more efficiently without throwing any of it away, so the decompressed image is pixel-for-pixel identical to the original. For photos, lossy JPEG or WebP compression typically gives the best size savings. For diagrams, screenshots, and graphics with flat colours, lossless PNG compression preserves sharp edges better.

At quality settings of 75 to 85 out of 100, most viewers cannot see a difference between a compressed JPEG or WebP and the original, even at full screen. Quality loss becomes visible mainly at very low settings (below 50), where blocky artefacts or blurring appear in detailed areas like hair, foliage, or text. For web use, a quality setting in the 70 to 85 range almost always gives an excellent balance of sharpness and file size. If you are archiving original photos, keep a lossless copy and only compress the copies you share or publish.

The easiest way to compress an image to 100KB is to start with a quality setting around 70 to 80 and check the resulting file size shown by the tool. If the output is still above your target, lower the quality slider in small steps and recompress until the file size falls below 100KB. Resizing the image to a smaller pixel width also reduces file size dramatically because fewer pixels means less data to store. Switching from PNG to JPEG or WebP gives the biggest single reduction for photographic images because those formats use lossy compression that is far more efficient than PNG for photos.

Yes. You can compress PNG files by uploading them to the tool. The tool can convert a PNG to a high-quality JPEG or WebP, which usually produces a much smaller file because PNG uses lossless compression that is inherently larger for photographic content. If you need to keep the PNG format (for example, to preserve transparency), the tool still reduces the file size by re-encoding the image data at the chosen quality. PNGs with large areas of flat colour and sharp edges generally compress much better than photos.

WebP is an image format developed by Google that supports both lossy and lossless compression, as well as transparency, all in a single format. At the same visual quality, a WebP file is typically 25 to 35 percent smaller than an equivalent JPEG and significantly smaller than a PNG. All modern browsers support WebP, so it is an excellent default choice for images on websites where file size affects page speed and Core Web Vitals scores. If you are uploading to a platform that requires JPEG (such as some social media sites) or need broad compatibility with older software, JPEG remains a safe and widely supported choice.

Yes. The batch compression feature lets you drop multiple image files onto the tool at the same time. Each image is processed individually using the same quality and resize settings, and you can download each compressed file separately. Batch compression saves significant time when you have a folder of product photos, blog post images, or event pictures that all need to be reduced in size before uploading. There is no cap on the number of images you can process in a session, though very large batches may be slower on older devices since everything runs in the browser.

Yes. The tool is designed to work on any modern mobile browser, including Chrome and Safari on iPhone and Android. The interface adjusts for smaller screens and the quality slider is touch-friendly. You can pick images directly from your camera roll, compress them, and save the smaller versions back to your phone, which is useful for freeing up storage or preparing photos to send by message. Processing large, high-resolution photos may be slower on older phones because the compression runs on the device rather than a dedicated server.

The tool supports JPEG (including .jpg files), PNG, and WebP as input formats. These three formats cover the vast majority of images found on the web and on modern phones and cameras. After compression, you can choose to save the output as JPEG or WebP depending on which format fits your needs. GIF and SVG files are not supported because they use fundamentally different compression techniques that require specialised tools. If you have a RAW camera file, convert it to JPEG or PNG first using your camera software or a photo editor.

The reduction depends on the original file, the format, and the quality setting you choose. A high-resolution JPEG photo compressed to quality 80 typically shrinks by 50 to 70 percent. A PNG photo converted to WebP at quality 80 can shrink by 60 to 80 percent because WebP is so much more efficient for photographic content. Screenshots and graphics with flat colours do not compress as aggressively because they contain less redundant data. The tool shows you the before and after file size for each image so you can see the exact saving before you download.

Try our other free tools

Image resizer, background remover, color picker, and 47 more.