Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image Compressor

Live Demo License: MIT

Free online image compressor to resize, convert, crop, and optimize images in your browser. Supports batch processing and ZIP download — files never leave your device.

Live demo: https://abhisekumar.github.io/image-compressor/

Why use it

  • Compress JPG, PNG, WebP (and AVIF when supported)
  • Reduce file size before uploading to websites or apps
  • Convert formats without installing desktop software
  • Private: processing happens locally with the Canvas API

Features

  • Quality control (smaller ↔ better)
  • Optional target file size (auto quality)
  • Max width / height with aspect-ratio lock
  • Convert to JPG, PNG, WebP (AVIF when supported)
  • Before / after preview with size savings
  • Batch upload and ZIP download
  • Crop, rotate, and flip editor
  • Paste images from clipboard
  • Keeps the original when re-encoding would make a file larger

Tech

  • HTML, CSS, JavaScript
  • Browser Canvas API for compression
  • JSZip (CDN) for ZIP export
  • GitHub Pages hosting

Run locally

npx serve .

SEO / discoverability

  • Canonical URL and Open Graph tags
  • JSON-LD WebApplication schema
  • robots.txt + sitemap.xml

Related tools

License

MIT © Abhisek Kumar

About

Free browser image compressor — resize, convert, crop, and ZIP download

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages