A Fullstack Web app built with Next.js for compressing and optimizing images.
Live Demo
Framework: Next.js 16.2 (App Router)
Frontend: React, TailwindCSS, Shadcn/ui
Image Processing: Sharp library
Easily upload images either by dragging and dropping or by selecting an image from your device.
Convert your image to modern, optimized formats like WebP (recommended), AVIF JPG or PNG.
- JPG/JPEG
- PNG
- WebP
- GIF
- AVIF
- TIFF
- SVG
- JPG/JPEG
- PNG
- WebP
- GIF
- AVIF
- TIFF
Adjust the image's quality to decrease the file size by up to 90% (best results with WebP and AVIF).
An interactive diff image preview to check the image's quality after compression.
Check the optimized size easily without needing to download.
I wanted to build an image optimization tool with a clean UI and high compression efficiency while learning more about file handling and image processing in modern web applications.
git clone https://github.com/raptorassassin/image-optimizer.git
cd image-optimizernpm installnpm run devOpen http://localhost:3000 in your browser.
- Sharp
- Shadcn
- React Diff Viewer






