Skip to main content
docsmall
Credits left today

Contact us

For feature suggestions, usage questions, or credit and order issues, email us at the address below.

Send email

Compress Images

Batch compress images without losing visual effects, with different compression level options

docsmall compresses images entirely in your browser. It supports JPG, PNG and WebP, up to 30 images at a time and 25 MB per image, with four compression levels. Your images are never uploaded to a server.

Choose or drop images to compressDrop your images here, or use the button below to choose filesChoose max 30 images, less than 25M per image, JPG, PNG or WebP
Price
Free, with no usage limits
Processing
Local in your browser, no uploads
Formats
Static JPG, PNG and WebP
Batch limits
Up to 30 images, 25 MB each

An image compression tool for photographers, graphic designers, UI designers, front-end developers, office teams and anyone else who needs smaller images. Choose files, compress, download: three simple steps, no software to install and no account to create.

  • Keep the original dimensions while greatly reducing file size with minimal visible loss
  • Four compression levels for web, ecommerce, social media and email use cases
  • Images stay in your browser and are never uploaded, so your data stays private

How to compress images online

Choose images, pick a compression level and download the results. Everything runs locally in your browser, with no upload of the original files.

  1. Choose or drop images

    Click “Choose images” or drag JPG, PNG and WebP files into the upload area. You can add up to 30 images at a time, 25 MB each.

  2. Pick a level and start

    Choose Slight, Normal, Strong or Extreme. Normal is the default and suits most web images. Then click “Start compressing” and let the queue finish.

  3. Download one by one or all at once

    After compression, compare the original and compressed sizes and the saving percentage. Download images individually or use “Download all” to get a ZIP archive.

The complete guide to image compression

From how compression works to the trade-off between quality and file size, this guide explains when compression helps, how the output is produced, and where the limits are.

What is image compression?

Image compression stores the same picture in fewer bytes while keeping visual quality acceptable. It usually leaves the pixel dimensions unchanged and reduces file size by discarding colour information, removing redundant data or using a more efficient encoding.

Compression can be lossless or lossy. Lossless compression only removes redundant data that can be restored, so quality stays identical. Lossy compression discards details the eye is unlikely to notice in exchange for a much smaller file. docsmall uses lossy compression with four levels, so you control the trade-off between quality and size.

  • Dimensions stay the same: a 1920 × 960 image remains 1920 × 960 after compression.
  • The format stays the same: JPG produces JPG, PNG produces PNG and WebP produces WebP.
  • The original file is never modified: the compressed result is downloaded as a new file.

Why compress images?

Images account for a large share of the bytes a web page downloads. Compression shortens load times, lowers bandwidth and storage costs, and reduces data usage on mobile networks. For content sites and online stores, images are often the easiest and highest-impact optimisation.

Image weight also affects LCP (Largest Contentful Paint), one of the Core Web Vitals. A heavy hero image delays the moment users see the main content, which hurts the experience score of search and ad landing pages.

  • Page speed: fewer bytes above the fold improve LCP and overall loading.
  • Bandwidth and storage: compress product photos, article images, and asset libraries in bulk to reduce bandwidth and storage costs.
  • Platform limits: meet upload limits in ecommerce back offices, CMSs, email tools and application forms.
  • Mobile experience: less waiting, stuttering and data usage on slow connections.

How does docsmall compress images?

Compression in docsmall happens entirely in your browser. The images you choose are not uploaded, the rest of the page stays usable while compression runs, and closing the page leaves no queue or results on a server.

Each format compresses differently: JPG uses lossy compression to reduce detail, PNG reduces the number of colors and recompresses, and WebP uses lossy compression. All three keep the original pixel dimensions and export in the same format.

Local processing avoids upload and download waits and leaves no copy in the cloud. The trade-off is speed: it depends on your device, and very large images may take longer on low-end phones.

How do quality, compression level and file size interact?

The stronger the lossy compression, the smaller the file, but detail, gradients and text edges are more likely to show blocking or banding. Slight compression is usually indistinguishable; Strong and Extreme suit thumbnails and previews that people will not zoom into.

Judge quality at the size where the image will actually appear, not at 100% zoom. If an image has large smooth gradients, fine text or is meant for print, use Slight or Normal. For chat previews and list thumbnails, Strong or Extreme is often enough.

JPG, PNG or WebP: which should you use?

Each format has a best-fit use case. JPG suits colour-rich photos and has the widest compatibility. PNG supports transparency and is ideal for logos, icons, screenshots and graphics that need crisp edges. WebP usually delivers a smaller file at similar quality and is a good choice for modern websites.

docsmall preserves the input format: JPG stays JPG, PNG stays PNG and WebP stays WebP. If a platform only accepts JPG, convert PNG or WebP files with the image to JPG converter.

Common use cases for image compression

Compression helps anywhere images are transferred or stored. These scenarios are the most size-sensitive and show the clearest results.

  • Websites and blogs: compress hero images, article graphics and product listings to reduce page weight.
  • Ecommerce and product photos: batch-process main images, detail images and campaign assets so product pages open faster.
  • Social media and content operations: make images smaller before platforms recompress them again.
  • Email and office documents: fit images within attachment or document size limits, and combine the JPG or PNG files with the image to PDF tool when one attachment is easier to send.
  • Design handoff and asset libraries: shrink previews and delivery packages without harming perceived quality.

Are images uploaded? How is privacy protected?

No upload happens. Reading, decoding, compressing and preparing downloads all take place in your browser. Compression does not depend on a docsmall server, and neither the original images nor the results are stored in the cloud.

That makes the tool suitable for images containing customer information, scanned IDs, contracts or internal design work. Still, use a trusted device and download your results before leaving the page; refreshing or closing the page clears the current queue.

Limits, compatibility and things to know

You can process up to 30 images at a time, 25 MB each, and only static JPG, PNG and WebP files. The tool does not change pixel dimensions and does not support animated GIFs. To change the pixel size, use the image resizer; to compress an animated GIF, use the GIF compressor.

Not every image gets smaller. Already-compressed files, PNGs with very few colours and highly efficient WebP files may have no room left. When that happens, the tool keeps the original image for download and marks it “Already optimal”.

The page needs a recent browser. Use the latest Chrome, Edge, Firefox, or Safari; when processing very large images, leave enough memory free and avoid opening too many tabs.

Not sure whether to compress, resize pixel dimensions, or split a file to pass a strict upload cap? Read our step-by-step guide: Files Too Large to Upload? Compress, Resize, or Split.

Image formats and compression methods compared

All three formats stay in their original format. Here is how they differ when compressed with docsmall.

JPG
Transparency
No
Compression method
Lossy, quality around 20%–85%
Best for
Photos, product images, social sharing
OutputJPG
PNG
Transparency
Yes
Compression method
Lossless, around 32–256 colors
Best for
Logos, icons, screenshots, graphics with transparency
OutputPNG
WebP
Transparency
Yes
Compression method
Lossy, quality around 20%–85%
Best for
Web images, mobile, smaller files
OutputWebP

How to choose a compression level

If you are unsure, compress one image with Normal, check it at its final display size and then decide whether to adjust.

Slight

About 85%

Photography, portfolios, images with fine texture

Quality first, with a moderate size reduction.

Normal

About 75%

Web images, blogs, ecommerce detail pages

The default, balancing quality and size.

Strong

About 50%

Social media, email attachments, thumbnails

Clearly smaller files with visible detail loss.

Extreme

About 20%

Previews, placeholders, non-critical images

Size first; verify that quality is acceptable.

Ultimate online image compression experience

Keep the original dimensions, greatly reduce file size and maintain nearly identical visual quality. Drag the slider to compare details before and after compression.

JPG image — Compressed
JPG image — Original
OriginalCompressed

Drag the slider to compare before and after

  • Original 1.47 MB
  • Dimensions 1920 × 960
  • Compressed 219 KB · 85% smaller

The examples use the same photo exported as JPG and as PNG with transparency. Actual results vary with image content, dimensions and compression level.

Six practical ways to make images smaller

Compression is only one part of image optimisation. Follow this order to get smaller files without hurting how they look.

Crop before you compress

Remove parts of the frame you do not need so unused pixels are not compressed too. Crop the image with the image cropper first; cropping plus compression usually saves more than compression alone.

Match the format to the job

Use JPG or WebP for photos, and PNG or WebP for icons, screenshots and transparent graphics. Avoid PNG for photos and JPG for graphics that need transparency.

Start with Slight

Compress one representative image, compare it at its final display size, then decide whether to increase the level. Tolerance varies a lot between images.

Do not recompress the same image repeatedly

Every round of lossy compression adds artefacts. Always start from the original and save the compressed result separately.

Keep an original backup

Compression is irreversible. Archive the original file and use the compressed version only for web, email or social sharing.

Check quality at the real display size

Inspect web images at the width they will actually appear, not at 100% pixel zoom. Users see the page size, not the raw pixels.

FAQs about the docsmall image compression tool

Is this image compression tool free to use?
Yes. All docsmall tools are free, with no usage limits and no account required. The site covers its server and development costs through advertising and other means; compression itself is not charged.
Which image formats does the tool support?
It supports static JPG (including JPEG), PNG and WebP images. Results keep the original format and are never silently converted. If you need a JPG from a PNG or WebP file, use the image to JPG converter. Animated GIFs are not supported.
Can my images leak when I use this online compressor?
No. Compression runs entirely in your browser. Images are not uploaded to docsmall servers, and neither originals nor results are stored there. The current queue is cleared when you refresh or close the page.
Does compression change image dimensions?
No. The tool only reduces file size and keeps the pixel dimensions and aspect ratio. If you need specific dimensions, resize the image with the image resizer or crop it with the image cropper before compressing.
Why did some images get larger after compression?
Already-compressed images, PNGs with very few colours and highly efficient WebP files may have nothing left to gain. The tool checks the result, keeps the original when it is smaller and marks the file as “Already optimal”.
Which compression level should I use?
Normal is the default and suits most web and ecommerce images. Slight is better for photography and portfolios, Strong for social media and email, and Extreme for previews and placeholders. Test one image at its final display size first.
How many images can I compress at once?
Up to 30 images per batch, 25 MB each. You can add and compress in several batches. Download images individually or as a single ZIP archive.
Does it compress animated GIFs?
No. This tool handles static JPG, PNG, and WebP only. Animated GIFs need frame and color optimization, so use docsmall's GIF compressor instead.
Will compression noticeably reduce quality?
Slight compression is usually indistinguishable, and Normal is hard to notice in most web contexts. Strong and Extreme sacrifice more detail and are best for thumbnails and previews that will not be enlarged.
Can I use this tool on a phone?
Yes. Current iOS and Android browsers support local compression, so you can choose, compress and download images on a phone. Very large batches depend on device performance; keep the page in the foreground and allow enough memory.
Is PNG transparency preserved?
Yes. PNG and WebP inputs keep their alpha channel, so transparent areas remain transparent. JPG does not support transparency; exporting a transparent image to JPG fills those areas with white or another background colour.
Can I restore the original after compressing?
The compressed result downloads as a new file and the original is never modified or deleted, so you can keep using the original. Because lossy compression is irreversible, keep the original and never overwrite your only copy with a compressed version.