BitSized

How to Compress a Video for Discord Under 20MB

By the BitSized TeamWe build the tools on this site and re-check every number against official documentation.

Last verified against official docs on November 1, 2026· official platform docs

How do you compress a video for Discord?

To compress a video for Discord: choose your size target (20MB for free accounts, 50MB for Nitro Basic, or 10MB to be safe on any server), run the video through a compressor that computes bitrate from your file's duration, and download the resulting H.264 MP4. With BitSized it's three steps in the browser (drop the file, pick the target, press Compress), and the video never leaves your device.

What makes a "Discord compression" different from generic shrinking is the hard ceiling. Discord doesn't negotiate: a 21MB file fails on a free account, full stop (per Discord's official FAQ, the free limit is 20MB as of August 2026). These limits were re-verified against the official FAQ on October 22, 2026. So good compression for Discord means guaranteed-fit math, with the bitrate calculated from your video's actual length, rather than a fixed quality slider that lands somewhere near the target and hopes.

How does target-size compression actually work?

File size equals bitrate multiplied by duration. For any target size and video length, there's exactly one maximum average bitrate that fits, and the encoder's job is to spend that budget where viewers will notice.

The arithmetic is simple once you see it: a 20MB target is about 160 megabits, so a 3-minute (180-second) video supports roughly 890 kilobits per second total. Reserve about 96 kbps for AAC audio and the video stream gets about 790 kbps, enough for decent 720p gameplay and marginal for 1080p. A 10MB target halves those numbers, which is why the same 10MB cap feels fine on a 60-second clip and impossible on a 10-minute one.

Practical compressors add a small safety margin (we use 5% for container overhead and keyframe spikes) and use two levers to make the budget look bigger: lowering resolution concentrates the same bits into fewer pixels, and H.264's rate control smooths bitrate between busy and quiet scenes. This is also why a "smart" tool beats a preset. A fixed 800 kbps encode of a 60-second clip wastes space a longer clip desperately needed.

How long can a video be and still fit under 20MB?

With audio kept at 96 kbps and a 5% container margin, 20MB holds roughly 60 seconds of 2,400 kbps video, 2 minutes of 1,150 kbps, 3 minutes of 750 kbps, and 5 minutes of 400 kbps. The resolution follows the budget: clips up to about a minute can hold 1080p, while anything past three minutes looks right at 480p unless the scene is static.

Clip lengthVideo bitrate budgetWhat that holds
30 secondsabout 4,950 kbpsCrisp 1080p, any content
60 secondsabout 2,400 kbps1080p static scenes, solid 720p gameplay
2 minutesabout 1,150 kbps720p for most content
3 minutesabout 750 kbps720p talking head, 480p action
5 minutesabout 400 kbps480p; trim or mute audio first
10 minutesabout 160 kbpsStatic slideshows only; split or link instead

Read the table by row: find your clip's length, spend the budget at the highest resolution that can use it, and accept the row's verdict before you encode. The compressor does this math from your file's real duration automatically, so the table exists to set expectations, not to replace the tool. If the row your clip lands on sounds unacceptable, the fixes in order are trimming the clip, muting the audio, or sending a cloud link instead; they beat hoping a longer encode will look fine.

Which settings matter most for quality at a fixed size?

In order of impact: clip length, resolution, then audio. Trim first, downscale second, mute audio third. Each one buys real quality for the pixels that remain.

  • Length: cutting a 90-second clip to its best 45 seconds doubles the per-second bitrate budget. It's the single most effective edit, and it costs nothing but a decision.
  • Resolution: 720p at a healthy bitrate looks dramatically better than 1080p starved of bits. For targets under 20MB, 720p is the sweet spot for gameplay; 480p holds up for talking-head and static scenes.
  • Audio: AAC at 96 kbps is transparent enough for voice and game sound. Muting entirely reclaims roughly 12 kilobytes per second of the budget, which matters a lot at tight targets, and it's the obvious move for clip montages where you'd overlay music anyway.
  • Codec and container: H.264 in MP4 with faststart plays most reliably in Discord's inline player. Newer codecs (HEVC, AV1) compress better, but Discord's player and many devices still fumble them.

One more knob that's invisible until it isn't: frame rate. Keeping the source frame rate is right for most clips, but if your source is 60fps and you're at a brutal budget, halving to 30fps redistributes bits to each frame and can look sharper overall. Our tool keeps source frame rate by default because gameplay feels the difference before the eye consciously sees it.

How to compress a video for Discord without losing quality

Every compression trades something, so the honest version of this goal is: lose the quality you can't see, keep the quality you can. The method that does that consistently is trim first, encode at your own target size in H.264 MP4, and never let Discord's mobile app do it for you (its default Standard setting re-encodes uploads to 480p, which is where most lost quality actually comes from).

Working the method in order: cut the clip to the seconds that matter, because length is the biggest quality lever at any fixed size. Then run a target-size compression to 20MB (or 50MB with Nitro Basic) at your chosen resolution, which spends the bitrate where you decided it should go instead of letting a chat app's settings tier decide. Upload from desktop if you can, because desktop Discord delivers your file as-is. Mobile uploads always get re-encoded by the app; our page on whether Discord compresses videos covers the official quality settings in detail, including the 480p default most people never knew was on.

Why not let Discord compress it?

Discord doesn't compress attachments to fit your limit. It checks the size and rejects what doesn't fit. The pre-compression behavior people remember ("Discord squished my video") applied to mobile auto-processing of media, not to a magic ability to send oversized files.

Discord's official FAQ is explicit about the change: as of 2026, file size is checked before compression on every platform, and the number you see is the number that counts. On desktop this was always true. On Android, the shift means camera originals that previously squeaked through after automatic processing now bounce. Users hit the limit "more often than before, even though the stated number is higher," in Discord's own words.

So the strategy is to bring your own compression: arrive under the cap with a file you encoded deliberately, and Discord stores and plays it as-is. You control the quality trade-offs instead of inheriting whatever a phone's transcoder decided at 2 a.m.

Is browser-based compression actually safe and private?

When the compressor runs locally with WebAssembly, as BitSized's does, your video is processed by your own CPU inside the browser tab and never uploaded anywhere. You can literally disconnect your internet after the page loads and keep compressing.

That local execution is about as private as this task can get: no server copy exists to retain, breach, or read. Upload-based converters, by contrast, copy your file to infrastructure whose retention windows and security posture are out of your hands, which is a real consideration for personal or unreleased footage, and the reason we wrote a full guide comparing the two models, including the four questions to ask any upload service before handing it a file.

What are the most common compression mistakes?

The three most common mistakes are compressing the wrong target size, re-encoding an already-compressed file repeatedly, and starving the video bitrate by keeping high-resolution settings out of habit.

  • Wrong target: aiming at 10MB when the recipient has Nitro Basic (50MB) throws away quality for nothing. Check who you are sending to, then pick the largest target that fits their plan (20MB for free accounts per Discord's current FAQ).
  • Generation loss: every re-encode of an already-compressed MP4 compounds softness. Work from the original recording each time, not from a clip you compressed yesterday. If you need two sizes, compress twice from the same source.
  • Resolution vanity: keeping 1080p when the bitrate budget cannot feed it produces blocky macroblocks. A 720p encode with enough bitrate beats a starving 1080p every time. The compressor applies your resolution choice after computing the budget, so trust the math over your eyes' first guess.

Frequently asked questions

Related tools & guides