← Back to blog

How to Compress a Video (Any Device, Any Size)

To compress a video is to make the file smaller by encoding it more efficiently — not by deleting random data and hoping for the best. The goal is usually a number: under 20 MB for Discord, under 25 MB for Gmail, under whatever a form will accept.

This guide is the full map: what compression actually does, how to pick a target size, how to do it on iPhone, Android, Mac and Windows, and when a different approach (trim, re-record, cloud link) beats compressing at all.

You will also find a reusable five-step workflow, a list of the mistakes that keep files over the limit, and an honest comparison of browser tools versus HandBrake, VLC and phone exports — so you pick the right tool for the job instead of the loudest ad.

If you just want the file smaller now, open the free video compressor, set a target in MB, and download the result. The sections below explain why that works and how to keep quality.

What “compress a video” really means

A video file is mostly compressed data already. Cameras and phones use codecs (H.264, H.265/HEVC, VP9, AV1) to throw away detail humans barely notice. When people say “compress a video for email,” they mean re-encode it at a lower bitrate so the container file shrinks.

One formula explains almost every decision:

file size ≈ bitrate × duration
  • Bitrate — how many bits each second of video uses (often in Mbps).
  • Duration — how long the clip runs.

A 60-second clip that must fit in 19 MB gets:

19 MB × 8 ÷ 60 s ≈ 2.5 Mbps total (video + audio)

That is enough for clean 1080p talking-head or screen content with H.265, and tight but workable with H.264. The same 2.5 Mbps stretched over five minutes is a slideshow — which is why length is the hidden villain, not just resolution.

Compression is not the same as zipping

A ZIP of a finished MP4 barely helps: the video is already entropy-coded. You need a video encoder (or a tool that wraps one) to re-encode the picture.

Lossy vs “visually lossless”

All practical delivery compression is lossy. The craft is trading bits where nobody looks: static backgrounds, dark scenes, motion blur. “Without losing quality” marketing usually means without visible loss on a phone or laptop at normal size — not mathematically identical pixels.

Step 1: Choose the target size first

Do not start with “low quality.” Start with the limit of where the file is going, then leave a little headroom (about 5%) for container and audio overhead.

Where it’s goingTypical limitTarget size
Discord (free)20 MB19 MB
Discord Nitro Basic50 MB48 MB
Gmail attachment25 MB24 MB
Other email (Outlook, work)Often 20–25 MB19 MB
WhatsApp / TelegramLarge OK, chats re-compress8–16 MB for a quick send
Forms, LMS, portalsSet by the site~5% under the stated limit

Platform limits checked October 2026. Discord raised free uploads from 10 MB to 20 MB in August 2026 — see Discord file size limit.

If there is no hard limit (shared drive, personal archive), use a percentage: 50% smaller is a safe first pass; 70–90% smaller is for when the file is wildly oversized.

Step 2: Work backward to bitrate (optional but useful)

You can let a target-size compressor do the math, or estimate yourself:

target bitrate (Mbps) ≈ target size (MB) × 8 ÷ duration (seconds)
Clip lengthTarget 19 MBRough total bitrate
15 s19 MB~10 Mbps — sharp 1080p easy
30 s19 MB~5 Mbps — clean 1080p
60 s19 MB~2.5 Mbps — good 1080p / 720p
2 min19 MB~1.3 Mbps — prefer 720p
5 min19 MB~0.5 Mbps — 480p or cut a highlight

If the table looks brutal, shorten the video before you crush it. A 20-second highlight people actually watch beats a five-minute fog.

Step 3: Pick a method (online, desktop, phone)

Online compressor (fastest path)

Browser tools win when you want an exact MB target and no install.

  1. Open compressvid.io.
  2. Upload MP4, MOV, MKV, AVI, WebM and most other formats.
  3. Type the target size (or tap 19 MB Discord, 24 MB Gmail).
  4. Download a smaller MP4 — no watermark.

Need Discord presets or MOV/HEVC cleanup? Use the dedicated pages: Discord video compressor · Compress MOV.

Pros: exact size, no install, works on phone. Cons: needs network; very long 4K files take longer to upload than to encode on a desktop.

Desktop software (offline, batch, fine control)

  • HandBrake — free, open source, excellent presets and filters. Best when you compress many files or need precise filters.
  • VLC — can export/transcode; UI is clunkier for bitrate targets.
  • DaVinci / Premiere / Final Cut — if you already edit there, export with a bitrate or “smaller file” preset.

Desktop is better for hour-long recordings, batch folders, or offline work. It rarely beats a browser tool for “make this 23 MB clip fit Discord right now.”

Phone apps

Some camera/share flows offer “smaller” exports (iMovie, Photos). They rarely let you type an MB target. For iPhone-specific steps without installing an app, see how to compress a video on iPhone.

Codec and resolution: what to change first

When quality drops, change settings in this order:

  1. Bitrate / CRF — the main dial.
  2. Resolution — 1080p → 720p frees a lot of bits.
  3. Frame rate — 60 fps → 30 fps if motion allows.
  4. Codec — H.265 is smaller than H.264 at similar quality (if the player supports it).
  5. Audio — 64–128 kbps AAC is plenty for clips.

Do not start by dropping to 240p “to be safe.” You can almost always keep 720p if the target is not tiny.

H.264 vs H.265

H.264 (AVC)H.265 (HEVC)
CompatibilityEverywhereSome older tools/players fall back to download
Size at similar qualityBaselineOften 30–50% smaller
Use whenDiscord embed, email, unknown recipientsYou control playback; 1080p/4K source

Default recommendation: H.264 + AAC in MP4 unless you know the destination is HEVC-friendly.

CRF mode vs target-size mode

  • CRF / constant quality — you pick a quality level (e.g. CRF 21); size varies with content. Good for archives.
  • Target size / bitrate — you pick MB; quality varies with length and complexity. Good for platform limits.

If you need a platform limit, use target size. If you need “as good as possible under roughly X,” CRF plus a rough estimate works. (On this site, Advanced → quality is CRF and does not guarantee the target MB.)

How to compress on each device (quick recipes)

Windows / Mac / Chromebook

  1. Open compressvid.io in Chrome, Edge, Safari or Firefox.
  2. Drop the file on the page.
  3. Set target size or percentage.
  4. Compress → download MP4.

No installer. Encoding runs on servers, so a long 4K file will not lock your machine.

iPhone / iPad

  1. Use Safari (see the iPhone guide).
  2. Pick the clip from Photos.
  3. Set 19 MB / 24 MB / etc.
  4. Save the MP4 back to Photos or Files.

Android

Same as iPhone: Chrome + the browser tool. Files app or Photos as the source. This is often faster than hunting for a free compressor app with watermarks.

Batch / automation

If you compress dozens of files weekly, HandBrake’s queue or a script around ffmpeg beats clicking. For one-off social and email clips, a target-size web tool is still faster to use.

Quality checklist (so it still looks like your video)

  • Keep the original resolution until bitrate gets silly.
  • Prefer H.265 for 1080p/4K when the viewer supports it.
  • Stay near CRF 18–23 in quality mode (21 is a solid default).
  • Leave ~5% under any hard limit.
  • Watch the first and last seconds — fades and text are where compression shows.
  • Re-export from the master if you have it; do not re-encode an already tiny file (generation loss stacks).

Deeper background: video compression basics · compress to an exact file size.

When not to compress

Compression is the wrong tool when:

SituationDo this instead
The clip is 20 minutes and nobody watches past 30 sTrim / cut a highlight
The platform re-encodes anyway (some chat apps)Compress modestly for upload size and speed
You need archival master qualityKeep the original; share a smaller proxy
The limit is 2 MB and the clip is 10 minutesRecord again shorter, or send a link
Audio is the problem (podcast, voiceover)Export audio-only or raise audio bitrate

Honest comparison of common free paths

PathBest forWatch out for
Browser target-size toolExact MB, phone + desktop, no installUpload time for huge files
HandBrakeOffline, batch, filtersLearning curve; no “type 19 MB” magic
VLC transcodeQuick one-off, already installedUI; easy to miss bitrate settings
Phone export “smaller”Instant shareOpaque size; often still over the limit
Cloud drive linkHuge files, no size cap storyNot an attachment; not inline video

We make the browser tool — so read the table as a map, not a scoreboard. Pick the path that matches the limit and the device you are on.

Common mistakes that keep files “too big”

If compression seems to fail over and over, check these first:

  1. Target equals the hard limit (20.0 MB on Discord). Container and audio can push you over. Use 19 MB.
  2. You compressed an already tiny file. Re-encoding a 8 MB clip to 19 MB will not make it 19 MB — it may even grow slightly.
  3. Audio is still huge. A 320 kbps music bed on a 30-second clip is unnecessary; 96–128 kbps AAC is usually enough.
  4. Wrong output file. Uploads sometimes create a sidecar; make sure you are attaching the downloaded MP4.
  5. Mobile data stall. Retry the upload on Wi‑Fi before blaming the encoder.
  6. Expecting ZIP to save MP4. Archive tools do not re-encode video.

A short workflow you can reuse

  1. Write down the limit (Discord 20, Gmail 25, form says 10…).
  2. Set target = limit − 5%.
  3. Compress once from the best source you have (master, not a WhatsApp copy).
  4. Preview on the destination device (phone, Discord embed).
  5. If quality fails: shorten the clip, drop to 720p, or use H.265 — then compress again from the original.

That loop beats sliding random quality bars for twenty minutes.

FAQ

How do I compress a video for free?
Upload it to a free browser compressor, set a target size or percentage, and download the MP4. Guests can try one video a day (up to 250 MB); signing in adds monthly credits for regular use.

How much can I compress before quality looks bad?
It depends on length and complexity. A 30-second clip at 19 MB often looks fine at 1080p. A five-minute 4K lecture forced into 19 MB will not. Use the bitrate table above as a sanity check.

Does compressing reduce resolution?
Only if you choose to. You can keep 1080p and lower bitrate, or drop to 720p when the target is very small. Lower resolution first when the bitrate math becomes impossible.

Is MOV different from MP4 when compressing?
They are containers. Compressing a MOV usually means re-encoding into a smaller MP4 for compatibility. See Compress MOV.

Why is my compressed file still too big?
You are still over the platform cap, or you asked for a size larger than the original. Check the plan limit (Discord free is 20 MB), aim 5% under, and confirm the download you have is the output file.

Will WhatsApp / Discord compress my video again?
Often yes. Uploading a sensibly sized file keeps your encode as the starting point and sends faster.

Can I compress a video without an app?
Yes — any modern phone or computer browser can upload, compress and download. No store install required.


Ready to make the file smaller? Compress a video free with a target size in MB. Scene-specific playbooks: Discord · iPhone · MOV · exact target size.