DEV Community

Max/Wang
Max/Wang

Posted on

How I Made a Simple Browser-Based Video Compressor for Discord

I kept running into the same stupid problem: a video is just a few MB too large to upload.

Especially with Discord.

So I made a small browser-based video compressor that lets you shrink videos to a specific target size — 8MB, 10MB, 20MB, 25MB, 50MB, etc.

It runs locally in the browser using WebAssembly, so the video doesn't need to be uploaded to a server.

Useful when you need to:

  • compress a video for Discord
  • make an MP4 smaller
  • get a video under a specific file size
  • reduce video size before uploading

I built it mainly because I got tired of opening a full video editor just to make a 30MB clip fit under a file-size limit.

If you need something like this, it's here:

https://squishyfile.com/

Would be interested to hear what file-size limits people run into most often.

Top comments (0)