A free, local, fast image compressor for Linux, Windows and Mac. Built with AI, guided by a human.
Screen.Recording.2026-03-18.101601.mp4
Why?
In the time it takes for you to:
- Open an online image compression website
- Upload your (presumably large) image
- Run into file size limits/"Please Sign Up" popups
- Wait for the server to
steal your datacompress your image - Download it
...Hat's already done compressing your entire life's worth* of photos
*hyperbole
How?
- Hat runs locally on your computer. Nothing is ever uploaded anywhere
- Your downloads folder is automatically being watched for new images
- As a new image arrives, Hat compresses it with a (configurable) compression effort level
- The original image is untouched and a new compressed version is saved
- Statistics about the compression are updated in the app
Hat runs in the background when you close the window. To close Hat, go to your system tray and Quit Hat from there; or click the
button in the app.
No accounts, no uploads. Everything is processed by libvips locally.
Hat will always remain 100% free.
What can I do with Hat?
- Watch folders automatically
- Convert between file formats
- Adjust compression quality settings
- Drag-and-drop images to compress them
Count me in!
Hat is a toy project, but tries to solve a serious need. Hat will always be experimenting with different things. While Hat is not exactly stable right now (ie. some things might be missing/might go wrong), it still should work ~90% of the time. If you find an issue, please file it.
You can grab the latest version of Hat from the latest Release page.
Note: Though the file name might say something like hat-0.1.0(...), this is still the correct file for the version you have downloaded. For example, if you go to the v0.5.6 release and download a binary from there, though the file name is hat-0.1.0(...), it is still the correct binary for the v0.5.6 version.
Got a problem?
File an issue!
What's with the name?
I wanted to build a tauri app.
Originally, I was thinking of an open-source version of cap.
Turns out, that was too ambitious, and instead Hat pivoted to become an image compression program.