---
title: "AVI Compressor – Reduce AVI File Size to MP4 | CompressFly"
description: "Compress AVI to H.264 MP4 in your browser. Choose High, Medium, Low, or Custom CRF 18–45 and an optional resolution preset. Free, with no uploads."
canonical_url: "https://compressfly.com/video-tools/avi-compressor"
meta:
  "og:description": "Compress AVI to H.264 MP4 in your browser. Choose High, Medium, Low, or Custom CRF 18–45 and an optional resolution preset. Free, with no uploads."
  "og:image": "https://compressfly.com/img/en/social/video-tools/avi-compressor.png"
  "og:image:alt": "AVI Compressor – Reduce AVI File Size to MP4 | CompressFly"
  "og:image:height": "630"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "AVI Compressor – Reduce AVI File Size to MP4 | CompressFly"
  "twitter:description": "Compress AVI to H.264 MP4 in your browser. Choose High, Medium, Low, or Custom CRF 18–45 and an optional resolution preset. Free, with no uploads."
  "twitter:image": "https://compressfly.com/img/en/social/video-tools/avi-compressor.png"
  "twitter:image:alt": "AVI Compressor – Reduce AVI File Size to MP4 | CompressFly"
  "twitter:title": "AVI Compressor – Reduce AVI File Size to MP4 | CompressFly"
---

> Index of every page on this site: [llms.txt](https://compressfly.com/llms.txt)

# AVI Compressor Online

Compress .avi recordings to H.264 MP4 in your browser. Use a High, Medium, or Low preset, or set a custom CRF from 18 to 45. Keep the original resolution or choose an available preset, then compare file sizes and download your MP4 without a watermark. Your video stays on your device.

## How to Compress an AVI Video Online

Compress an AVI recording and export an MP4 directly from your browser in three steps.

1. **Select Your AVI Video File** — Choose a .avi file from your computer or phone, or drag and drop it directly into the browser workspace.
2. **Pick Quality (Preset or CRF 18–45) & Resolution** — Select High, Medium, or Low, or choose Customize and set the CRF slider to a value from 18 to 45. Keep Original or choose an available resolution preset.
3. **Compress Locally and Download MP4** — Start compression in your browser. When it finishes, compare the source and output file sizes and download the H.264 MP4.

## Fine-Tune Your AVI Compression Settings

Use a quality preset or adjust CRF and resolution to balance visual detail and file size.

### Quick 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 bitrate.

### Custom CRF Control (18–45)

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

### Original Resolution and Presets

Choose from 1080p, 720p, 480p, or 360p. When the browser detects the source video height, it disables higher presets. Choose Original to skip scaling, including when the source resolution is unavailable.

### H.264 MP4 Export

CompressFly encodes video as H.264 and any audio tracks as AAC in a widely supported MP4 file. The output size depends on the source video and your compression settings.

## AVI Compression Guide: Choosing a Custom CRF (18–45)

Use these ranges as starting points for the **Custom CRF** slider when compressing AVI screen captures, camcorder clips, or other recordings.

| Custom CRF Range | Visual Detail and File Size | AVI Use Cases | Suggested Resolution |
| --- | --- | --- | --- |
| **18–22** | Retains more fine detail and tends to produce larger files within the custom range | DV camcorder footage, game captures, or presentations with fine text | **Original** or **1080p** |
| **23–28** | A starting point for balancing visual detail and file size | Sharing AVI clips in chats, presentations, or cloud storage | **Original** or **720p** |
| **29–35** | Typically produces smaller files with some loss of fine detail | AVI clips for email attachments or uploads with a file-size limit | **720p** or **480p** |
| **36–45** | Prioritizes smaller files, though fine detail may soften further | Long static screen recordings, security camera clips, or reference copies | **480p** or **360p** |

Choose a resolution preset that's available for your clip, or keep Original. Compare the source and output sizes after compression.

## How Does Local Browser AVI Compression Work?

CompressFly uses WebAssembly to process **AVI videos** in your browser. It encodes the video as H.264 and any audio tracks as AAC in an MP4 file. Your AVI stays on your device.

For frame rate options of 24, 25, 30, 50, or 60 fps, audio sample rates of 22.05, 44.1, or 48 kHz, and Mono or Stereo output, use [AVI to MP4](https://compressfly.com/video-tools/avi-to-mp4). Use [AVI to MP3](https://compressfly.com/video-tools/avi-to-mp3) to extract the audio or [Video Compressor](https://compressfly.com/video-tools/video-compressor) to compress another video format.

### What "processed locally" means

- Your AVI file stays on your device throughout compression
- Encoding runs in your browser using your device's resources
- Compressed MP4 files save straight from your browser with no watermarks

## Related AVI and Video Compression Tools

- [AVI to MP4 (Frame Rate & Audio Controls)](https://compressfly.com/video-tools/avi-to-mp4)
- [AVI to MP3 (Extract Audio from AVI)](https://compressfly.com/video-tools/avi-to-mp3)
- [MP4 to AVI](https://compressfly.com/video-tools/mp4-to-avi)
- [Video Compressor (MP4, MOV, WebM, AVI, MKV, M4V)](https://compressfly.com/video-tools/video-compressor)
- [MP4 Compressor](https://compressfly.com/video-tools/mp4-compressor)
- [MOV Compressor](https://compressfly.com/video-tools/mov-compressor)
- [MKV Compressor](https://compressfly.com/video-tools/mkv-compressor)
- [WebM Compressor](https://compressfly.com/video-tools/webm-compressor)
- [Video to WebP](https://compressfly.com/video-tools/video-to-webp)
- [All Video Tools](https://compressfly.com/video-tools)

## AVI Compression FAQs

### How do I compress an AVI video online for free?

Select or drag and drop a .avi file into the browser workspace. Pick High, Medium, or Low, or choose Customize to set a CRF from 18 to 45. Keep Original or select an available resolution preset. Compress the video, compare the file sizes, and download the MP4.

### Why does CompressFly's AVI Compressor export an MP4 file instead of AVI?

Some older AVI recordings use codecs that modern browsers and phones have trouble playing. CompressFly exports H.264 video and AAC for any audio tracks in an MP4 for broader playback support. H.264 can also compress footage more efficiently than many older codecs. Depending on your source and settings, the MP4 can be larger or smaller than the original. Compare both file sizes before downloading.

### How do the High, Medium, and Low presets and custom CRF 18–45 settings work?

High uses CRF 23, Medium uses CRF 30, and Low uses CRF 40. The presets also set the encoding speed and audio bitrate. Choose Customize to set a Constant Rate Factor (CRF) from 18 to 45. With the same video and resolution, lower values generally retain more detail and higher values tend to produce smaller files.

### Can I lower the resolution of my AVI video, and why are some options disabled?

Yes. The presets are 1080p, 720p, 480p, and 360p. When the browser detects the source video height, it disables presets above that height. Choose Original to skip scaling, including when the source height is unavailable.

### What is the difference between AVI Compressor and AVI to MP4?

AVI Compressor lets you adjust quality with High, Medium, Low, or Custom CRF 18–45 and choose a resolution preset for MP4 output. [AVI to MP4](https://compressfly.com/video-tools/avi-to-mp4) offers frame rates of 24, 25, 30, 50, or 60 fps, audio sample rates of 22.05, 44.1, or 48 kHz, and Mono or Stereo channels.

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

No. CompressFly processes one video file per compression job. To compress several AVI videos from a folder, select and compress each file individually.

### Are my large AVI files uploaded to a server, and is this AVI compressor free?

No, your files are never uploaded, and yes, the compressor is free. AVI decoding and MP4 encoding run locally in your browser. There are no watermarks, daily limits, or account registration requirements.

## Sitemap

See the full [sitemap](https://compressfly.com/sitemap.md) for all pages.
