Private, verified browser optimization

Lossless Image Optimizer

Make PNG, APNG, JPEG, GIF and static WebP files smaller without lowering visual quality. Optimize mixed batches locally, inspect what changed and download verified results.

Updated October 14, 2026

5Input formats
BatchFiles and folders
VerifiedPixels and animation
PrivateNo uploads
◇

Drop images to optimize without quality loss

PNG, APNG, JPEG, GIF and static WebP. Add any number of files. Practical capacity depends on available browser memory.

Files stay on this device. No uploads and no account.

How to optimize images without losing quality

1

Add mixed images

Drop PNG, APNG, JPEG, GIF and WebP files, choose several files or select a folder.

2

Choose what to preserve

Keep all metadata, remove private metadata or use the strongest lossless settings.

3

Optimize and verify

A format-specific engine runs in a worker, then ImgTweak checks the important result properties.

4

Download the results

Save files individually or download selected results with a CSV report in one ZIP.

One term, four different optimization methods

PNG and APNG: OxiPNG tests more efficient row filters, color representations and Deflate settings. Stronger effort levels test more combinations but have diminishing returns.

JPEG: the tool never performs another lossy encode. It can remove EXIF, XMP and comments while retaining ICC color information and the original compressed scan data. Strict mode retains the original file.

GIF: Gifsicle stores changed frame regions more efficiently. The result is rejected if dimensions, frame count, duration or looping changes.

WebP: static images are decoded and encoded using libwebp lossless mode. Decoded RGBA pixels are compared before the result is accepted.

What the verification badge means

A smaller file is not useful if its content changes unexpectedly. ImgTweak verifies the properties appropriate to each format and reports the check beside the result.

  • PNG keeps dimensions, transparency and visible pixels.
  • JPEG compressed scan data is copied without decoding or recompression.
  • GIF dimensions, frames, duration and loop count are checked.
  • WebP decoded RGBA pixels must match exactly.
  • The original is retained automatically when an attempted result is larger.

Strict, web safe and smallest lossless

Strict lossless is for archival or editing workflows where metadata and hidden pixel values matter. It retains optional information even when removing it could save space.

Web safe is the recommended publishing preset. It keeps display-critical color information while removing camera details, GPS information, editing history and comments where supported.

Smallest lossless uses the strongest safe compression settings. For PNG, it may change RGB values underneath pixels that are completely transparent. Those hidden values cannot be seen, but this distinction matters when exact underlying data must be retained.

Why no exact KB field appears

Lossless optimization cannot promise an arbitrary target because it does not discard visible information. If an upload portal requires a hard ceiling, use Reduce Image Size in KB or Compress to Dimensions and File Size. Those tools may reduce quality or dimensions to meet the requested limit.

Lossless optimizer questions

What does lossless image optimization mean?

It means reducing storage overhead without lowering visual quality or changing dimensions. The exact method depends on the format. PNG filters and compression can be improved, JPEG metadata can be removed without touching its compressed scan data, GIF frames can be stored more efficiently, and static WebP can be encoded in true lossless mode.

Will every image become smaller?

No. A file that was already optimized may not shrink. By default, ImgTweak keeps the original whenever the attempted result is the same size or larger.

Is JPEG really optimized without losing quality?

JPEG image data is never decoded and recompressed here. Web safe and Smallest lossless modes remove optional metadata while retaining the compressed JPEG scan data byte-for-byte. Strict mode keeps the original JPEG when no safe reduction is available.

What is the difference between Strict lossless and Smallest lossless?

Strict lossless retains metadata and hidden pixel information. Smallest lossless removes optional metadata and may optimize invisible RGB values beneath completely transparent PNG pixels. The visible image and transparency remain unchanged.

Does the tool preserve animated images?

GIF and APNG animation are supported. GIF results are checked for matching dimensions, frame count, total duration and loop count. Animated WebP is not supported in this release and is rejected rather than accidentally flattened.

Can lossless optimization reach an exact file size?

No. A strict KB target normally requires reducing dimensions, colors or coding quality. Use the Compress to Dimensions and File Size tool when a portal requires a hard limit.

Are my files uploaded?

No. OxiPNG, Gifsicle and libwebp run locally through WebAssembly, and JPEG metadata processing runs on the original bytes in your browser.