Compress a video

Shrink a video for email, chat or an upload limit by trading resolution and bitrate, all on your own device.

or drop them here · files stay on your device
We count formats and sizes. Filenames stay private unless you opt in.

Downloads a small public example. Your own files are not used.

Cap the height
Quality (lower is better)28
Keep the audio track
Processed on this device
  • Runs on your device
  • No sign-up or watermark
  • No fixed file size cap

The short answer

To compress a video without uploading it, open it here, cap the height at 720p or 1080p and leave quality near 28, then press Compress it. ffmpeg runs in your browser and re-encodes to H.264 MP4. Raise the quality number for a smaller file, or turn off the audio track to save a little more.

A worked example

See a real input and result

This synthetic sample produced 1 output file from 1 input file. These are synthetic demonstration files, not someone’s documents.

Input sample

Actual output

Input count
1
Output count
1
Files processed
1
Before
5 KB
After
6 KB
Change
6% larger
Input 1 dimensions
160 × 120 px
Input 1 duration
0.500 s
Output 1 dimensions
160 × 120 px
Output 1 duration
0.512 s
Input bytes
5394
Downloadable output bytes
5711

Settings used: height: 480 · crf: 34 · audio: true

This synthetic sample only; results depend on the input. Encoding runs on your own machine with a WebAssembly build of ffmpeg. That is slower than a data centre and the engine is a 31 MB one-time download — but your footage is never uploaded, and there is no queue.

Ran through this tool on . Use “Try sample files” above to run it yourself.

How to compress a video without uploading it

  1. STEP 1

    Choose the video

    MP4, MOV, MKV, AVI or WebM. Several files at once are compressed with the same settings.

  2. STEP 2

    Cap the height

    The default is 1080p. Pick 720p for chat apps and email, 480p for the smallest result, or Keep original.

  3. STEP 3

    Set the quality slider

    Lower is better quality, higher is smaller. 28 is a sensible start; 32 to 35 for a much smaller file.

  4. STEP 4

    Keep or drop the audio

    Leave Keep the audio track on, or switch it off for silent footage, then press Compress it and save the result.

What actually makes a video file large

Video size is bitrate multiplied by duration. Bitrate climbs with resolution, frame rate and how much changes from frame to frame, which is why a 4K phone clip of a busy street is huge and a screen recording of a slide deck is small.

Compression here works on two of those levers. Lowering the resolution removes pixels outright, and the quality setting (CRF, constant rate factor) tells the encoder how much detail to give up. Each step of about 6 on the CRF scale roughly halves the bitrate.

What survives, and what does not

The clip is re-encoded with libx264 at the veryfast preset using the CRF you choose, between 18 and 40, after an optional height cap. Audio is re-encoded to AAC at 128 kbps or dropped entirely if you switch off Keep the audio track. There is no target-file-size mode: you choose a quality, and the size follows from the content.

What you keep

Aspect ratio and frame rate

Orientation from phone recordings

The audio track at 128 kbps AAC, unless you turn it off

What you lose

Fine detail, increasingly so as the quality number rises

Resolution above the height cap you choose

Any guarantee of a particular size: there is no “compress to 25 MB” option

Additional audio tracks and subtitle tracks

Honest limits are published on every tool page. If a tool cannot do something well, it says so here rather than letting you find out after the download.

Compress a video at a glance

InputMP4, MOV, MKV, AVI, WebM
OutputMP4 (H.264, AAC 128 kbps)
ControlsHeight cap, CRF 18 to 40, audio on/off
Target size modeNo
BatchYes
First-use downloadAbout 32 MB ffmpeg engine
Works offlineAfter the first use

If something goes wrong

The media engine could not start

The first run needs roughly 32 MB of engine files. Reconnect and retry so the download can complete; allow workers and WebAssembly for this site if an extension is blocking them.

The compressed file is bigger than the original

Recent iPhones and Android phones record in HEVC, which is more efficient than H.264. Re-encoding at a low quality number can then add bytes. Raise the number to 32 or more, or cap the height at 720p.

It is still too big for the upload limit

Halve the resolution with the height cap, which removes three quarters of the pixels, and raise the quality number towards 35. Trimming the clip first is the other big lever, since size scales with length.

The browser tab stopped responding on a long video

The input and the output both sit in a 2 GB WebAssembly memory space. Very long or 4K clips can exceed it; trim the video into shorter parts first.

Compress a video questions

How do I compress a video for email?

Try a 720p height cap and quality around 30, then compare the actual output size with your attachment limit. Duration and scene detail can change the size substantially; raise the quality number or trim the source if it is still too large.

Can I compress a video to a specific size?

Not directly. This tool works by quality and resolution rather than a target size, so check the size in the results summary and run it again with a higher quality number if it is still too large.

Does compressing a video reduce quality?

Yes, some. Lowering resolution and raising the CRF both discard detail. At 1080p and quality 23 to 28 most people cannot see the difference on a phone screen.

Is my video uploaded to compress it?

No. ffmpeg runs as WebAssembly inside this tab, so your footage stays on your device. That also means no queue and no account.

Can I compress video on iPhone or Android?

The page works in mobile browsers, but phones give a tab much less memory than a computer, so keep to short clips. For anything long, a laptop is more reliable.

How long does compressing take?

It depends on your processor and the clip. ffmpeg here uses a single CPU thread, so a long 1080p video can take longer than it lasts to play. A lower height cap is also faster.

One of 153 file tools and planned additions. Built and tested by Arin Prajapati, last checked against the code on . canonical: https://damnfiles.com/compress-video
Analytics preferences

Help us understand which tools and file types people use. File contents always stay on your device.

Filename sharing is optional and off by default. Names can contain personal information. Changes apply to future events; disabling sharing does not delete earlier records.

Read our privacy policy