Fast, private image compression in your browser
Reduce JPG/PNG/WebP file size with target size control, batch processing, and instant downloads — all locally.
- Target size compression with KB / MB / KiB / MiB
- Batch compress + ZIP download
- Output format selection (JPG / PNG / WebP)
- Optional max width/height resizing
- 100% local processing (privacy‑friendly)
- Responsive, clean UI
- Open
index.htmlin a browser (or serve the folder locally). - Drop images or click to browse.
- Set target size + unit and optional max dimensions.
- Click Compress all or compress individual images.
- Download results (single files or ZIP).
Note: Some browsers block third‑party scripts on
file://. Use a local server for full functionality (ZIP + ad scripts).
python -m http.server 8000Then open http://localhost:8000/.
- Images are loaded into the browser and rendered to a canvas.
- Compression automatically adjusts quality + optional resizing to meet the target size.
- No uploads. Everything stays on your device.
.
├── index.html
├── styles.css
├── app.js
├── manifest.webmanifest
├── robots.txt
├── sitemap.xml
├── favicon.svg
├── og-image.svg
└── src/
└── Banner.png
- Open Graph + Twitter cards
- JSON‑LD (WebApplication + FAQ)
robots.txtandsitemap.xml- PWA manifest
- Push the repo to GitHub:
thisizasif/TinyJPG. - GitHub → Settings → Pages → select the
mainbranch and/root. - Your site will be live at:
https://thisizasif.github.io/TinyJPG/
Built by thisizasif.
