MP4 Compressor Online

Compress .mp4 videos in your browser and download a widely compatible H.264 MP4. Choose a High, Medium, or Low preset or set Custom CRF (18–45). You can also lower the resolution. Compare file sizes before sharing. Your video stays on your device.

Drop your video here or

Your video remains private and will be processed locally in your browser.

Free to use
No installation required
Secure & private
No daily limits

How to Compress an MP4 Video Online

Adjust a video for email, chat, or the web, then check the output size before sharing.

  1. Choose a local video

    Select Your MP4 Video File

    Choose a .mp4 video from your computer or phone, or drag and drop it directly into the browser workspace.

  2. Choose your settings

    Pick Quality (Preset or CRF 18–45) & Resolution

    Select High, Medium, or Low, or choose Customize and set the Custom CRF slider from 18 to 45. Keep Original or choose an available resolution preset.

  3. Download video

    Compress Locally and Download MP4

    Click Compress Video. When it finishes, compare the original and output sizes and download the H.264 MP4.

Fine-Tune Your MP4 File Size and Visual Quality

Adjust the quality and resolution for the way you plan to share your video.

One-Click Quality Presets (High, Medium, Low)

High uses CRF 23, Medium uses CRF 30, and Low uses CRF 40. Each preset also sets the encoding speed and AAC audio bitrate.

Custom CRF Control (18–45)

Choose Customize to set the Constant Rate Factor (CRF) from 18 to 45. For the same clip and resolution, lower values generally retain more detail and higher values tend to produce smaller files.

Original Resolution and Presets

Choose Original to skip resizing, or select 1080p, 720p, 480p, or 360p. When the browser detects the source height, it disables presets above that height.

H.264 MP4 Export

The output is a widely compatible H.264 MP4 with AAC audio when present. Check your player or upload destination for its requirements.

MP4 Compression Guide: Custom CRF and Resolution Settings

Choose Customize and use these Custom CRF ranges and resolutions as starting points. Check the result before sharing.

Sharing GoalCustom CRFResolutionWhat to Prioritize
Website Hero Videos, Portfolios & YouTube18–22Original or 1080pFavor fine textures and readable text when detail matters.
WhatsApp, Slack, PowerPoint & LMS Portals23–281080p or 720pBalance file size and visual detail for everyday sharing.
Email Attachments & Discord29–35720p or 480pFavor a smaller file, then check it against the service's current limit.
Long Zoom Recordings & Quick Previews36–45480p or 360pFavor a smaller preview and check that slides and captions are readable.

Compare the original and output sizes after compression. The result can be larger or smaller than the source. If it exceeds your destination's limit, try a higher CRF or a lower available resolution.

How Does Local Browser MP4 Compression Work?

CompressFly uses WebAssembly to compress MP4 videos in your browser. It re-encodes the video as H.264 and any audio tracks as AAC, then saves the result as an .mp4 file. File size depends on the source video, its duration, and your quality and resolution settings.

Compressing MOV, MKV, WebM, AVI, or M4V files instead of MP4? Use our multi-format Video Compressor. To change formats, use MP4 to WebM for the web or MP4 to MOV for Apple workflows. To save just the audio, use MP4 to MP3 or MP4 to WAV.

What "processed locally" means

  • Your MP4 videos are never uploaded to a remote server
  • Compression time and the file size your browser can handle depend on the video and your device
  • Compressed MP4 files save straight from your browser with no watermarks

MP4 Compressor FAQ

How do I compress an MP4 video to a smaller file size online for free?

Add a .mp4 file. Pick High, Medium, or Low, or choose Customize to set a CRF from 18 to 45. Keep Original or choose an available resolution preset. Click Compress Video, compare the file sizes, and download the H.264 MP4.

How do I compress an MP4 for email or Discord?

Check the current limit for your email or Discord upload. Start with Custom CRF 29–35 and 720p or 480p if available. After compression, compare the output size with the limit. If it is still too large, try a higher CRF or a lower available resolution and check again.

What does Custom CRF 18–45 mean when compressing an MP4?

CRF stands for Constant Rate Factor. At the same resolution, lower values generally retain more detail and higher values tend to produce smaller files. Choose Customize to set a value from 18 to 45. High uses CRF 23, Medium uses 30, and Low uses 40. Each preset also sets the encoding speed and audio bitrate.

Why are some resolution options (like 1080p or 720p) disabled for my MP4?

When the browser detects the source video height, it disables presets above that height. Choose an available preset or select Original to skip resizing, including when the source height is unavailable.

What is the difference between MP4 Compressor and Video Compressor?

MP4 Compressor takes MP4 files and exports H.264 MP4 with AAC audio when present. Video Compressor also accepts MOV, WebM, AVI, MKV, and M4V. Both offer the same quality presets, Custom CRF 18–45, and resolution controls.

Can I batch compress multiple MP4 videos or import a folder at once?

No. The compressor handles one video at a time. The file size your browser can handle depends on the video and the memory available to your browser. Compression time depends on the video's resolution and duration, your compression settings, and your device's performance.

Are my private MP4 videos uploaded to a server, and is this compressor free?

No, your MP4 stays on your device, and yes, the compressor is free. Processing happens in your browser, with no watermarks, no daily limits, and no account required.