How smallr compresses a file to a target size
What happens between dropping a file and saving the smaller one.
1. Pick a size
Videos and images each get their own limit, in the sentence above the drop area. By default videos fit under 8 MB and images under 1 MB. Tap a size to pick another: the video sizes match Discord, WhatsApp and email limits, the image sizes run from 256 kB to 2 MB, and Custom takes any size you type. Both are remembered for your next visit.
2. Drop in your files
Drop videos or images onto the page, paste them, or tap to open the file picker. Each file gets its own row, and the rows are worked through one at a time, top to bottom.
3. Compressing a video
smallr reads the video’s length, resolution, frame rate and audio, then works out the bitrate that lands under the target. It keeps the original resolution and frame rate when the size allows. When it doesn’t, it steps down one notch at a time, to 1080p, 720p, 540p and lower, then to 30 or 24 frames per second.
The audio is copied as is if there’s room, or re-encoded as AAC. After encoding, smallr checks the result against the target and runs another pass if it came out too large. The output is an H.264 MP4, which plays on nearly every phone, computer and chat app.
4. Compressing an image
Photos are saved as JPEG, and graphics, screenshots and anything with transparency as PNG. smallr searches for the highest quality that fits the target, and scales the image down only when quality alone isn’t enough.
5. Save the result
Each finished row shows the new size and how much smaller it is. Save one file, or save them all at once: as a zip on a computer, or through the share sheet on a phone. A file that was already under the target is handed back unchanged and marked “Kept as is”.
Where the work happens
Decoding and encoding run on your own device, through WebCodecs, the video and image codecs built into recent versions of Chrome, Edge and Safari. That’s why a long video takes longer on an older phone than on a laptop, and why there is nothing to install.
It also means smallr doesn’t need the network once it has loaded. Open it once while online, and after that it opens and compresses files offline too, in airplane mode or on a patchy connection. To open it like an app, install it from the browser, or add it to the home screen on a phone.
More questions? See the FAQ, or compress a file now.