SnapCompress - Bulk Image Compressor & Format Converter
Drag, drop, compress. A self-hosted bulk image optimizer your visitors can use in seconds, no account required.
SnapCompress is a lightweight, self-hosted PHP script that lets anyone bulk-compress and convert JPG, PNG, WebP and GIF images straight from their browser, no signup, no external API, no monthly SaaS fee. Visitors drag in a batch of images, choose a quality level and an output format, and download a single ZIP of optimized files, with a live before/after size comparison for every image. Built on PHP's native GD library, it runs on ordinary shared hosting with no Composer install and no build step. A password-protected admin dashboard tracks total images processed and total bytes saved, backed by a simple MySQL history table. Drop it onto your own domain and you have an instant, brandable image-optimization tool, perfect for agencies, freelancers, or as the seed of a SaaS.
Features:
- Drag-and-drop multi-file upload (JPG, PNG, WebP, GIF)
- Quality slider for lossy compression (JPG/WebP)
- Output format selector: keep original, or convert to JPG / PNG / WebP
- Optional max-width/height resizing (aspect ratio preserved, never upscales)
- Live before/after file size and percentage-saved for every image
- One-click ZIP download of the whole processed batch
- MySQL-backed processing history (filename, sizes, format, timestamp)
- Password-protected admin dashboard with total images processed and total bytes saved
- Server-side validation by real image content, CSRF-protected admin forms, random storage filenames
- Automatic temp-file cleanup after each download, plus an optional cron cleanup script
- No Composer, no framework, no CLI build step: plain PHP + MySQL
New in version 2:
- Compression presets and a per-file upload status list with a progress bar
- A clear fallback message when the server cannot produce WebP output
- A paginated admin history with a "Clear history" action
- CSRF protection on the public upload form, a max width/height check on uploaded images before decoding, and rate limiting on login and upload
- Improved layout and accessibility for small screens, keyboard use, and screen readers
Existing v1 customers can upgrade their database in place using the upgrade guide included with the download.
Requirements
PHP 7.4 or newer (with GD extension) MySQL 5.7+ or MariaDB 10.3+
Compatibility
PHP 7.4 - 8.3, MySQL/MariaDB
v2.0.0 Current Sep 4, 2026
v1.0.0 Aug 28, 2026
No reviews yet.
You might also like
FileVault Share
Self-hosted secure file sharing with passwords, expiry, and download limits: no framework, no Composer, just PHP + MySQL.
VenueReserve - Venue & Room Booking System
A lightweight, self-hosted reservation system for meeting rooms, event halls, sports courts, and co-working spaces, with a real conflict-free approval workflow.
QuickTasks - Team Task & Project Tracker with Kanban Board
A self-hosted Trello-style task tracker with Kanban boards, projects, and due-date tracking.
LinkSnap - URL Shortener with Analytics & QR Codes
A self-hosted link shortener your clients can actually own: clicks, QR codes, and zero dependencies.
BudgetLine - PHP Expense & Budget Tracker
A lightweight, self-hosted expense and budget tracker for individuals, freelancers and small teams: pure PHP + MySQL, no framework required.
ClientVault - Lightweight PHP CRM
A clean, self-hosted PHP CRM to manage contacts, track deals, and never miss a follow-up: no framework, no monthly SaaS fee.