Image Optimizer

Re-encode and shrink images (JPEG/WebP/PNG), optionally resizing.

Your images are decoded and re-encoded locally in your browser, so they never leave your device and nothing is uploaded.

Need a different file type? Try the Image Converter.

About Image Optimizer

The ArrayKit image optimizer re-encodes an image to JPEG, WebP or PNG at an adjustable quality level and can cap its width, so you compress and resize pictures without bulky desktop software. Drop a photo or screenshot, pick a format, drag the quality slider, and instantly see the original size, the optimized size, and the percentage saved. It doubles as a quick jpeg compressor or webp converter whenever you need to reduce image size for faster page loads, lighter email attachments, or smaller app bundles. Developers, designers, bloggers and QA testers can shrink assets before committing them or shipping a build. Everything is processed locally in your browser using the Canvas API, so your data never leaves your device and nothing is uploaded to a server.

Features

How to use the Image Optimizer

  1. Drop an image onto the drop zone or click to choose a file.
  2. Pick an output format: JPEG, WebP or PNG.
  3. Drag the quality slider and, if needed, set a max width in pixels.
  4. Click Optimize to re-encode and compare the original and optimized sizes.
  5. Click Download to save the optimized image to your device.

Example

Input

photo.png — 2400 × 1600, 3.8 MB
Format: WebP, Quality: 80%, Max width: 1200

Output

Original: 3.8 MB
Optimized: 412 KB
Change: −89%
Output dimensions: 1200 × 800px

Re-encoding a large PNG to WebP at 80% quality with a 1200px width cap.

Common errors & troubleshooting

Frequently asked questions

What is the ArrayKit image optimizer?
It is an in-browser tool that re-encodes an image to JPEG, WebP or PNG at a quality you choose, optionally resizing it, and shows the original size, optimized size and percentage saved so you can shrink images before publishing them.
How do I compress an image without losing too much quality?
Start at 80% quality in JPEG or WebP and check the live preview. WebP usually gives the smallest file for photos at a given quality; nudge the slider down further only if the preview still looks acceptable.
Does the image optimizer change the dimensions?
Only if you set a max width. Leave it blank to keep the original resolution; otherwise the image is scaled down proportionally to that width while keeping its aspect ratio.
Why is my optimized file sometimes bigger than the original?
Re-encoding an already-compressed image, especially to PNG, can increase the size. Switch to JPEG or WebP and lower the quality slider to get real savings.
Which format gives the smallest image file?
WebP usually wins for photographs, while PNG is best for flat graphics and anything needing transparency. JPEG is a solid middle ground for photos when WebP is not an option.
Are my images uploaded anywhere when I use the image optimizer?
No. The image optimizer decodes and re-encodes everything locally in your browser, so your images never leave your device and nothing is uploaded to a server.

Related tools

All ArrayKit tools