Free · Fast · Privacy-first

Compress MP4 Online

MP4 is the universal video container, but a fresh export from a phone, drone, screen recorder, or editing app is often far larger than the situation calls for.

Compresses MP4 without format conversion

🔒

Adjustable resolution and bitrate

No watermark

Free browser-based compression

Cost
Free forever
Sign-up
Not required
Processing
In your browser
Privacy
Files stay local
FreeNo signupWhite-label

Add this Video Compressor to your website

Drop the Video Compressor into any page — blog post, product docs, intranet, school portal — with a single line of HTML. Your visitors get the full tool, processed entirely in their browser. No backend, no uploads, no signup.

  • Files stay 100% in the visitor's browser
  • Responsive — adapts to any container width
  • Free forever, no API key needed

Embed code

<iframe
  src="https://www.fixtools.io/video-tools/video-compressor?embed=1"
  width="100%"
  height="780"
  frameborder="0"
  style="border:0;border-radius:16px;max-width:900px;"
  title="Video Compressor by FixTools"
  loading="lazy"
  allow="clipboard-write"
></iframe>

Attribution-friendly: a small "Powered by FixTools" link appears in the embed footer.

How MP4 Compression Works: Codecs, Bitrates, and Resolution Explained

MP4 is best understood as a container format, which is to say it is a wrapper around video, audio, subtitle, and metadata streams rather than a codec in its own right. The actual compression work happens at the codec level inside the container. The overwhelming majority of MP4 files in circulation use the H.264 codec, also known as AVC, which has been the dominant standard for online video since the mid 2000s and is supported by essentially every device and browser shipped in the last fifteen years. H.264 achieves its impressive size reductions by combining temporal compression, which stores only the differences between consecutive frames rather than each frame in full, with spatial compression, which discards high frequency detail that the human visual system is poor at noticing. The combination is so effective that a 1080p 60fps recording requiring hundreds of gigabytes raw fits into a few gigabytes once encoded.

Bitrate is the primary lever for controlling MP4 compression and the easiest concept to reason about. Bitrate, measured in kilobits or megabits per second, determines how much data is allowed per second of video. Higher bitrate means better quality and larger files; lower bitrate means smaller files and lower quality. For reference, YouTube's upload recommendations sit at 8 Mbps for 1080p60, 5 Mbps for 1080p30, 2.5 Mbps for 720p30, and around 1 Mbps for 480p30. Almost every social platform transcodes uploaded video into its own internal bitrate targets anyway, which means uploading at very high bitrates rarely pays off in final display quality. Compressing locally to roughly the platform's target before uploading saves bandwidth and upload time without any visible cost.

The Constant Rate Factor, almost always abbreviated CRF, is a more sophisticated approach to compression that decouples quality from bitrate. Instead of telling the encoder to use a specific number of bits per second, you tell it to maintain a target perceptual quality level and let it use whatever bitrate is needed to achieve that. CRF values in H.264 range from 0, which is mathematically lossless, to 51, which is essentially unwatchable, with the practical range sitting between 18 and 28. CRF 23 is the H.264 default and produces good quality for general use; CRF 18 is widely considered visually lossless for typical content; CRF 28 to 32 with reduced resolution is where you go when file size is the binding constraint, such as for email or messaging app attachments.

When you compress an MP4, you have a few additional choices that affect quality at a given file size. Two pass encoding analyses the video once to build a bitrate allocation map, then encodes it for real on the second pass spending more bits on complex scenes and fewer on simple ones, which produces noticeably better quality at the same average bitrate than single pass. Audio bitrate is worth holding firm on, because audio typically accounts for under ten percent of total file size and reducing it has a disproportionate impact on perceived quality. Frame rate reduction is a powerful but visually obvious lever: dropping from 60fps to 30fps cuts file size by up to half on motion heavy content but makes panning shots noticeably less smooth.

How to use this tool

💡

Upload your MP4 file, choose your target quality level (Low / Medium / High compression), and click Compress. The tool preserves MP4 format.

How It Works

Step-by-step guide to compress mp4 online:

  1. 1

    Upload Your MP4 File

    Drag your MP4 into the FixTools upload area or click to pick it from your file system. The tool keeps the MP4 container intact so the output extension stays .mp4, which means every player, website, social platform, and editing app that accepted the original will accept the compressed version without complaint. There is no need to convert beforehand or worry about codec mismatches.

  2. 2

    Select Your Quality Level

    Pick Low, Medium, or High compression depending on the trade off you want. Low compression preserves more detail at the cost of less file size reduction, useful when quality matters more than size. Medium is the balanced default and works well for general web sharing, sitting at roughly CRF 26 to 28 in H.264 terms. High compression produces the smallest files for messaging apps, email attachments, and storage savings.

  3. 3

    Download the Compressed MP4

    Hit Compress and download the result once encoding finishes. The output is a standard MP4 file with the same playback compatibility as the original, just smaller. Upload it to a website, attach it to a message, archive it to a backup drive, or move it onto your phone. Nothing about the file demands special handling or new player software.

Real-world examples

Common situations where this approach makes a real difference:

Uploading to a website with file size limits

A content management system or hosted website builder limits video uploads to 50MB per file, but the marketing team has a 200MB MP4 export from After Effects that needs to go live. Compressing the file to 45MB at 720p keeps it under the upload ceiling, plays smoothly on the site for both desktop and mobile visitors, and avoids the extra cost and complexity of routing video through a third party hosting service like Wistia or Vimeo.

Reducing storage costs on cloud backup

A video archive containing 500 MP4 files totalling 200GB is sitting in cloud storage and slowly costing real money in monthly fees. Batch compressing the collection at moderate settings brings it down to 40 to 60GB, cuts the storage bill by roughly 75 percent, and preserves every clip in a watchable format. The originals can be moved to cold storage or a local hard drive as a safety net.

Sharing project files with a remote collaborator

A freelance editor needs to send a rough cut MP4 to a client for review without forcing them to log into a heavy review platform. Compressing the 800MB cut to 80MB makes it fast to upload, fast for the client to download, and watchable enough to review pacing and structure. Final delivery can still happen at full quality through a dedicated transfer service once the cut is approved.

Preparing footage for mobile dataset training

A computer vision team has hundreds of hours of recorded MP4 footage that needs to be processed on edge devices with limited storage. Compressing the corpus to a consistent 480p moderate bitrate setting makes it possible to fit much more footage on each device, reduces transfer time across the deployment pipeline, and standardises the input format so downstream models see uniform resolution.

When to use this guide

Use when you need to reduce an MP4 file size for sharing, uploading, or storage without converting to a different format.

Pro tips

Get better results with these expert suggestions:

1

Use CRF 23–28 for the best quality/size balance

CRF (Constant Rate Factor) encodes at variable bitrate to maintain a target quality level. CRF 23 is the H.264 default (good quality). CRF 28 produces files roughly 50% smaller with slightly reduced quality. CRF 18 is visually lossless. For WhatsApp and email, CRF 28–32 at 720p is the sweet spot.

2

Match the output resolution to the viewing context

A video watched full-screen on a 27" monitor benefits from 1080p. A video in a social media feed shown at 640px wide does not. Match resolution to the largest display it will be viewed on. Over-encoding for context wastes bandwidth and storage.

3

Re-encode to H.265 for 40% smaller files

H.265 (HEVC) produces files 40–50% smaller than H.264 at equivalent visual quality. Modern devices (iOS 11+, Android 5+, Windows 10+) support H.265 playback. Use H.265 when you control the playback environment and file size is critical.

4

Maintain the original audio track unless size-critical

Audio typically accounts for only 5–10% of video file size. AAC audio at 128 kbps is transparent for most content. Only reduce audio bitrate when every kilobyte matters (e.g., compressing to under 1MB). Reducing audio quality unnecessarily degrades perceived video quality disproportionately.

5

MP4 is a container, H.264 is the codec

When people say compress MP4, they mean re-encode the H.264 (or H.265) video stream inside the MP4 container at a lower bitrate. The output is still an MP4 file, just with a smaller video stream.

6

Target a bitrate, not just a file size

For consistent quality, target a specific bitrate: 1 Mbps for 480p social sharing, 2.5 Mbps for 720p general use, 5 Mbps for 1080p presentation quality. File size = bitrate × duration.

7

Two-pass encoding gives better quality at same size

Two-pass encoding analyses the video first, then encodes it optimally. It produces better quality at a given bitrate than single-pass. Use it when quality matters more than compression speed.

FAQ

Frequently asked questions

Mathematically lossless compression of an MP4 video stream that is already H.264 or H.265 encoded is not realistic at significantly smaller sizes, because lossy codecs have already discarded the redundant data that lossless compression depends on. What is very achievable is perceptual lossless compression, where the quality reduction is so small that it falls below the threshold of normal human vision. Re encoding with CRF 18 in H.264 produces a file 20 to 40 percent smaller than a typical source with no visible difference, and switching the codec to H.265 at equivalent visual quality cuts the size by roughly another 40 percent on top.
The right bitrate depends almost entirely on the output resolution and the kind of content you are encoding. For 1080p, a range of 3 to 5 Mbps produces good general quality and 1.5 to 2 Mbps is workable for web sharing where mild softness is acceptable. For 720p, 1.5 to 2.5 Mbps is the sweet spot for good quality and 800 kbps suffices for size critical contexts. For 480p, 800 kbps to 1.2 Mbps covers most cases cleanly. As a rough rule, file size in megabytes equals bitrate in megabits divided by eight and multiplied by duration in seconds, so a five minute clip at 2 Mbps lands around 75MB.
Yes, both iOS and Android have built in options for reducing video file size, although they expose less control than desktop or browser based tools. On iOS, the Photos app offers a compress option in the share sheet when sending video over email or messaging, and apps such as Compress Videos & Resize Video provide more granular settings. On Android, Google Photos has a compression workflow during share, and apps like Video Compressor expose bitrate and resolution controls. For predictable results targeting a specific file size or quality level, a browser based tool like FixTools running in mobile Safari or Chrome gives more reliable output than the native app shortcuts.
There are four common reasons an MP4 ends up larger than expected. First, the video was shot in 4K or at a high frame rate like 60 or 120fps when 1080p 30 would have been sufficient for the intended use. Second, screen recordings tend to produce very high bitrates because every pixel change is captured at full quality, especially with text and UI elements that compress poorly. Third, exports from editing software often default to maximum quality settings without considering the delivery context. Fourth, some older AVI or MPEG 2 content has been re wrapped in an MP4 container without any actual re encoding to a more efficient codec.
No, compression alone never alters the aspect ratio of a video. Compression reduces the bitrate spent per second and optionally reduces the resolution while keeping the aspect ratio identical to the source, so a 16:9 video stays 16:9, a 9:16 vertical video stays 9:16, and a 1:1 square stays 1:1. If you see black bars appearing in playback after compression, they are being added by your player to fit the compressed video into a display area with a different aspect ratio, not by the compression itself. The video pixels still match the source ratio exactly.
Compression duration depends on input length, resolution, the chosen quality settings, and the processing capability of the device running the encoder. A one minute 1080p video typically takes between 30 and 120 seconds in a software encoder on a modern laptop, and similar timings in a browser using WebAssembly. Hardware accelerated encoders that tap into the GPU via NVENC, Intel QuickSync, or Apple VideoToolbox can run three to five times faster but require installed desktop software. Browser based compression is slower than native but avoids the install and works across operating systems with no setup cost.
Technically yes, but it is strongly discouraged because each compression cycle introduces additional quality loss on top of any previous passes. Re encoding an already compressed MP4 means the codec is now encoding artefacts from the first pass as if they were intended detail, which compounds blockiness and softness. The right workflow when you need a video in multiple delivery sizes, such as one for WhatsApp, one for email, and one for a website, is to compress each variant from the original high quality source separately, not to derive smaller versions from a previously compressed file.
Yes, provided you stick with H.264 video and AAC audio inside the MP4 container, which is the default for browser based compressors including FixTools at the standard quality levels. H.264 MP4 plays on essentially every device made in the last fifteen years, including older Android phones, Windows 7 era PCs, iPads going back to the original model, and embedded devices like smart TVs and digital signage. The compatibility risk arises only if you opt into H.265 for smaller files, which limits playback to roughly 2017 and newer devices. When playback environment is uncertain, choose H.264.
No, compression preserves the audio track by default and re encodes it alongside the video, typically using AAC at a sensible bitrate such as 128 kbps which is transparent for most content. If you specifically want to drop the audio to save additional space, most compression tools including FixTools offer an option to mute or strip the audio stream entirely. That is useful for silent loop backgrounds, animation reference, or anything where the visuals carry the entire message, but for ordinary video sharing keeping the audio in place is almost always the right default.
When the compression runs entirely in your browser using WebAssembly, as it does in FixTools, the original file and the compressed output stay on your own device throughout the process. Nothing is uploaded to a remote server, nothing is stored in a third party database, and nothing is scanned by an external system. That makes browser compression a strong fit for sensitive content such as internal corporate footage, legal evidence, personal family video, or anything else where you would prefer the file never leave your machine. The moment you close the tab the working files are released from memory.

Ready to get started?

Open the full Video Compressor — free, no account needed, works on any device.

Open Video Compressor →

Free · No account needed · Works on any device