High Bitrates
Phones, cameras and screen recorders record at very high bitrates, so even a short clip can run to hundreds of megabytes. That is how a video ends up over the limit of most chat apps and email.
Free video compressor: hit the file size you need, in your browser.
Get a big clip under the limit for chat, social or email: 10, 16 or 20 MB, or any size you type. Hardware-accelerated, and processed entirely on your device with zero cloud uploads.
This browser does not support WebCodecs. Shrinkray needs a fairly recent browser to reach your machine's video chip. Chrome, Edge, or Safari 16.4 and up will all work.
-
Squeeze it under
How good should it look?
A sensible middle. About what a streaming service would send you.
Cameras and screen recorders default to high bitrates that produce files too large for standard messaging limits.
Phones, cameras and screen recorders record at very high bitrates, so even a short clip can run to hundreds of megabytes. That is how a video ends up over the limit of most chat apps and email.
Your device already features dedicated media silicon designed specifically for fast encoding. Shrinkray taps directly into this hardware via modern WebCodecs for rapid transcoding.
Choose a target size and the engine works out a bitrate and resolution that should fit it, then re-encodes up to three times if the first try lands over. A very long or busy video may still need a lower resolution or frame rate.
All transcoding happens on your device. Your media is never uploaded to remote servers.
Traditional online compressors require uploading your videos across the internet to a third-party server, introducing upload queues, bandwidth restrictions, and privacy concerns.
Shrinkray operates locally. The entire compression pipeline executes in your browser using Web Workers and your device's native media encoders, keeping all file processing private and immediate.
Shrinkray is completely open source. Video streams are parsed, compressed, and downloaded directly in memory without transmitting file data. You can review the full client-side implementation in our GitHub repository.
Straight answers about sizes, formats and privacy.
Drop your video in, stay on "Fit a size", and pick a preset (Chat 10 MB, Social 16 MB, Email 20 MB or Web 100 MB) or type any number into the size box, such as 8 or 25. Shrinkray picks a bitrate and resolution to land under that size, and re-encodes up to three times if the first try comes out over. The target has to be smaller than your original file.
Yes. Pick the size limit of the app you are sending to. Those limits change by app and plan, so check the current number first. The result is an H.264 MP4 by default, which is what most messaging apps expect.
No. The video is read, compressed and saved on your own device, using your browser's built-in video encoders. The only requests the page makes go to an anonymous counter (CounterAPI) that tallies how many videos have been shrunk, and they carry no video data or file details. The Privacy page has the full detail.
MP4, MOV, M4V, WebM, MKV and MPEG-TS files can go in, as long as your browser can decode the video inside them. An MP4 comes out. It is H.264 by default, with H.265, AV1 and VP9 as options when your browser can encode them.
Making a video smaller always throws away some detail. For tight targets Shrinkray lowers the resolution so the bitrate goes further, and you can set resolution, frame rate and sound yourself, or switch to "Pick a quality" and choose from five levels. Watch the result before you delete the original.
Yes. It is free and open source under the MIT license, with no account to make. It needs a browser that supports WebCodecs: Chrome, Edge or Brave 94 and up, Safari 16.4 and up, or Firefox 130 and up. Everything is processed in memory, so very large files also depend on how much memory your device has.
Shrinkray is built on top of Mediabunny, a free, open-source library by Vanilagy that handles the genuinely hard parts: parsing whatever format your video arrived in, talking to your browser's video hardware, and writing a proper, playable MP4 back out.
We built the interface. Mediabunny does the heavy lifting. If this page just saved you a trip to a sketchy upload site, that's who you have to thank.
Also, and we say this with total sincerity, Mediabunny is a far better name than anything we came up with. We're a little bit jealous. 🐰