Image Compressor
Make images smaller with a quality setting or a measured KB target. Compare the actual result and download images or a complete batch ZIP.
Your images are processed in your browser and are not uploaded.Make images smaller
Add JPG, PNG or still WebP images. Choose a quality level or a maximum file size, then compress and review actual sizes before downloading. Images stay on your device.
Checking optional image encoders…
Add images, choose Quality or Maximum KB, then Compress images.
Advanced settings
How to use Image Compressor
Add JPG, PNG or still WebP images, choose JPEG or a supported WebP/AVIF encoder, then choose Quality level or Maximum KB. JPEG fills transparency with the visible background color. Choose Compress images, inspect actual pixel dimensions and byte sizes, compare the encoded result and download individual files or the successful-images ZIP.
Optional AVIF and WebP are tested by actually encoding and decoding a tiny image in your browser. An unavailable format is disabled; a PNG fallback is never renamed as AVIF or WebP. Choosing an imported profile that requests an unavailable encoder requires another format.
Maximum KB means1000 bytes per KB. The native bounded search tests quality20–95, at most30 encodes, retaining measured candidates. If permitted, it then tries smaller proportional dimensions. Results can be larger than the source or fail an impossible size target; those outcomes stay labelled. Quality mode without a byte target uses your1–100 quality setting. Originals are never overwritten.
For original PNG files, Lossless PNG optimization recompresses the original filtered pixel stream, preserving bit depth, palette, transparency and color/profile chunks. It combines image-data chunks and chooses the smaller compressed stream, without changing pixel dimensions or reducing colors. Known camera/text/time and unknown ancillary chunks are removed. Still, noninterlaced PNGs within the source bounds are supported; unsupported files fail explicitly. PNG optimization does not convert JPEG/WebP or silently resize. A PNG size target can remain unmet.
Advanced settings starts closed. Per-image KB ceilings override the shared image target; an enabled total ZIP budget may tighten them further. Its conservative report reserve is shown through effective per-image byte limits. The final ZIP is measured including filenames, headers and compression-report.json. If it exceeds the requested budget, its download is withheld while individual images and the actual report remain available. Failed sources are listed in the report and never silently substituted.
Maximum width/height fit a whole upright image into a bounding box without stretching or enlarging. The dimensions-and-size wizard sets both bounds, a KB target and permission for further shrinking. Predicted dimensions appear beside every checked image; the final result reports the measured dimensions after any additional reduction.
EXIF retention is optional for JPEG/PNG output. Only supported camera make/model and modification/capture timestamps are copied using bounded validated EXIF parsing; GPS, embedded thumbnails and other tags are omitted. Encoded orientation is1 because lossy output pixels are upright. Capture dates can reveal personal information. JPEG/WebP/AVIF canvas exports use browser-decoded colors rather than retaining original profiles. Lossless PNG retains its image/color data; PNGs with nontrivial EXIF orientation require a rendered export instead.
Built-in web, email and lossless-PNG profiles set shared options. Download a source-free profile JSON and load it later, at most16KiB. Invalid imports leave the editor intact. Applying/importing a profile and Clear each retain one Undo snapshot. Originals and per-image overrides stay with the editor; profiles contain neither. No settings are saved automatically.
Before/after previews compare the same output dimensions. Optional details show sampled sRGB, white-composited RGB PSNR and8×8 luminance SSIM at up to one megapixel. These are estimates for comparison, not a human quality certification. Identical sampled RGB is labelled explicitly; previews may hide fine full-size differences, so inspect the downloaded file.
Each completed run stores a report in this page’s memory, up to ten runs. Current/history JSON includes filenames, dimensions, actual sizes, targets, settings, failures, output SHA-256 hashes and comparison details, never image pixels. History can be cleared independently. Reports can contain personal filenames or kept camera/date values; review before sharing.
The email planner groups individual compressed images or the complete measured ZIP into estimated messages. It counts base64 expansion,76-column CRLF lines,1024 bytes per attachment and your configurable message reserve. Oversized attachments are listed for reduction. Your mail provider, body and headers can change limits. Downloading a plan does not send email or connect to a mailbox.
Closing Advanced settings preserves choices and results; custom options are indicated and errors stay visible. Reset advanced keeps source images and basic quality/format choices. Cancel terminates the owned job and retains originals/settings plus already finished individual outputs. Retry image checks after cancelling inspection. A ZIP is offered only after a complete measured run.
Example: fit photos into an upload limit
Choose JPEG and Maximum KB, enter100 for a100,000-byte ceiling, then compress. If the result says the target was not met, allow shrinking under Advanced settings or apply a box such as1280×1280 using the wizard. A4000×2000 photo fits that box as1280×640; it is not stretched into a square.
For a two-image attachment bundle, set each image’s ceiling if they differ, then add a total ZIP budget. Compare the actual ZIP byte count, not the sum of image estimates. For a mail service limit, open the email planner and include room for your message. Keep the original photos separately.
About local image compression
Input limits remain twenty images,20MiB each,80MiB combined,25 megapixels per image and8192 pixels on either side. Animated sources are rejected by the native inspector. Decoding confirms header dimensions. Lossless PNG preflight verifies chunk CRCs and bounds and permits up to200MiB of filtered data; unsupported PNG interlace/orientation fails explicitly. Each source is processed sequentially and decoded bitmaps/canvases are released.
Retained compressed images are capped at96MiB, archive construction at200MiB and quality comparison at one megapixel. Inspection stops after sixty seconds and a compression run after three minutes. Cancel releases its worker. Fewer/smaller images help on devices with limited memory.
Sources, previews, profiles and history stay in browser memory. No uploads, remote image URLs, account access or automatic persistence are used. Only deliberate downloads export files. Leaving or refreshing clears the work; download wanted images, profiles and reports first.
Stars and feedback
Loading…
What should we improve next?
Help shape the next update to Image compressor. Tell us what would make it better for you.
Prefer email? feedback@tooltulip.com
Tool reference #051