← Back to blog

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


We operate CompressVid, the compressor linked in this guide, and have a commercial interest in recommending it. Sources, estimates and test dates are identified below.

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 online tools versus HandBrake, VLC and phone exports — so you pick the right tool for the job instead of the loudest ad. Online compression on this site is processed on our servers, nothing to install.

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 18 MB gets:

18 MB × 8 ÷ 60 s ≈ 2.4 Mbps total (video + audio)

The quality at that bitrate depends on motion, detail and encoder settings; preview the export. Keeping the same 18 MB budget for five minutes leaves only about 0.5 Mbps, rather than 2.4 Mbps. That is why a longer clip needs a lower bitrate or a larger file.

Calculations here use decimal MB (1,000,000 bytes) and total average bitrate, including audio. The tool’s MB field uses 1,048,576 bytes per unit; final sizes also include container overhead.

Zip versus re-encode: zipping barely helps, re-encoding lower bitrate or resolution does

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”

The H.264/H.265 settings used by our compressor are lossy. Whether that loss is visible depends on the footage, display and viewing conditions. Keeping resolution does not mean mathematically identical pixels; compare the export with the source.

Three-step workflow: target size, then bitrate, then method

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 MB18 MB
Discord Nitro Basic50 MB45 MB
Gmail attachment25 MB22 MB
Other email (Outlook, work)Attachment or whole-message limitCheck the email guide
WhatsApp chat / documentSeparate limits by send pathSee the WhatsApp guide
Forms, LMS, portalsSet by the site~5% under the stated limit

Official Discord attachment help, Gmail attachment help and WhatsApp media help checked 2026-10-13. These are documentation checks. Whole-message mail limits require additional encoding headroom; see the email guide.

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 18 MBRough total bitrate
15 s18 MB~9.6 Mbps — sharp 1080p easy
30 s18 MB~4.8 Mbps — clean 1080p
60 s18 MB~2.4 Mbps — good 1080p / 720p
2 min18 MB~1.2 Mbps — prefer 720p
5 min18 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)

Online tools win when you want an exact MB target. Processing is on our servers, nothing to install.

  1. Open compressvid.io.
  2. Upload MP4, MOV, MKV, AVI, WebM and most other formats.
  3. Type the target size (or tap 18 MB Discord, 22 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: a size target, nothing to install, processed on our servers. Cons: upload time and connection requirements. Targets can vary from the final byte count, so verify the download.

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 an online tool, processed on our servers, 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 versus H.265: compatibility versus file size

H.264 vs H.265

H.264 (AVC)H.265 (HEVC)
CompatibilityWidely supported; verify the destinationMore dependent on device/player support
Size at similar qualityBaselineCan be smaller; no fixed saving for every clip
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. Apple’s HEVC guidance describes compatibility options; our local CRF experiment is not a matched-quality comparison of the two codecs.

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 18 MB / 22 MB / etc.
  4. Save the MP4 back to Photos or Files.

Android

Same as iPhone: open this page on your phone. The file is processed on our servers, nothing to install. 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
Online target-size toolAim at an MB budget, processed on our servers, nothing to installCheck final size; upload time for huge files
HandBrakeOffline, batch, filtersLearning curve; no “type 18 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 online tool — processing is on our servers — 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 18 MB.
  2. You compressed an already tiny file. Re-encoding a 8 MB clip to 18 MB will not make it 18 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 the free online compressor. It is processed on our servers, nothing to install. Set a target size or percentage, and download the MP4. Guests can try three files a day (each 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 18 MB often looks fine at 1080p. A five-minute 4K lecture forced into 18 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. Open this page on a phone or computer. The file is processed online on our servers, nothing to install. 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.

Email specifically: How to compress a video for email → compress a video for email.

Comparing tools? Read Best free video compressors — with measured FFmpeg numbers and picks by job. If length rather than size is the problem, start with how to trim a video online, or learn how to crop a video before exporting the final frame.

Sources & method

  • Pillar article assembled from our product docs, FFmpeg/HandBrake public documentation, and encode measurements dated 2026-10-07 (30 s 1080p synthetic clip: CRF 23 → 23.28 MB, CRF 28 → 11.40 MB, 720p CRF 23 → 6.19 MB). Full method: best free video compressors.
  • Platform caps are supported by the official links beside the table, checked 2026-10-13. We have not tested uploads on every platform, account tier or device.
  • HandBrake quality settings and FFmpeg options support the CRF/bitrate distinction. Quality settings do not impose an exact file size.
  • We operate CompressVid. Device recipes describe online workflows processed on our servers; we do not rank paid desktop suites here.

Correction — 2026-10-13: the five-minute example now uses the same file-size budget, rather than implying duration alone reduces quality at a constant bitrate. Removed the universal 8–16 MB chat recommendation and exact-byte claims.

Update — 2026-11-19: the Discord Nitro Basic target is now 45 MB instead of 48 MB. CompressVid counts 1 MB as 1,048,576 bytes, so 48 MB was about 50.3 million bytes — above 50 MB if Discord counts decimally. 45 MB (about 47.2 million bytes) stays under both readings. The Free Discord target also moved from 19 MB to 18 MB: in this tool 19 MB is about 19.92 million bytes, only 0.4% under 20 MB if Discord counts decimally, while 18 MB (about 18.87 million bytes) leaves more than 5% headroom.

See also: compress a video on Android · compress a video on Mac.