AVI Compressor

Compress AVI video files by adjusting quality, resolution, and bitrate. Reduce legacy AVI footage for storage and sharing.

Initializing... drag & drop files here

Supports: AVI

OptionsAdvanced Options - Our defaults are optimized for the best results. We recommend you keeping the defaults unless you have a specific need.
Show All Options
File Compression
File size (%)
1
80
100
If your file is 10 MB, then selecting 80 will produce a 8 MB file. If you make the output file size too small, then output video quality may suffer.
Auto Scale
[Smart Scaling Active] We will automatically adjust the image dimensions to maximize quality while hitting your target file size. Manual resolution settings are hidden to prevent pixelation.
Trim

How to Compress AVI Files Online

  1. Upload Your AVI Files: Drag and drop or click "+ Add Files" to select AVI clips from your computer. Batch upload is supported — every file uses the same settings.
  2. Pick a Compression Method: Open Advanced Options and choose one of six modes — Target file size (%), Specific file size (MB), Constant Bitrate, Variable Bitrate, Constant Quality (CRF), or Constraint Quality. Defaults to Target file size (%) at 80, which is usually the safest first pass for legacy footage.
  3. Resize, Trim, or Re-encode (Optional): Pick a resolution preset (2160p down to 144p), scale by percentage, or set custom width/height. Use Trim → Time Range to drop unused leader/trailer. To keep the .avi extension change Video Codec under Advanced Options (Xvid, DivX, MPEG-4, MJPEG, H.264, MPEG-2, FLV, Theora). Leave Auto Scale on to keep aspect ratio.
  4. Compress and Download: Click "Compress". Files process in your browser session — no sign-up, no watermark, no quality cap pushed behind a paywall.

Why Compress AVI?

AVI (Audio Video Interleave) is Microsoft's RIFF-based container, first shipped with Video for Windows in November 1992. Two things make AVI files unusually large today: the container itself has more per-frame overhead than MP4 or MKV, and the codecs commonly bundled inside it — Xvid, DivX, MPEG-4 Part 2 (both released around 2001), MJPEG, and uncompressed RGB — are 2-3x less efficient than modern H.264 or H.265. Shrinking AVI is mostly about routing the same pixels through a smarter encoder, optionally trimming dead footage, and dropping resolution where it won't be missed.

  • Old camcorder transfers — MiniDV and Hi8 captures land as AVI at 13-25 Mbps. A 1-hour tape can run 11-25 GB on disk; re-encoding to H.264 at the same visual quality typically lands at 1.5-3 GB.
  • Screen recordings from older capture tools — Camtasia, OBS legacy presets, and Bandicam often default to AVI with MJPEG or uncompressed output. Compressing to a CRF-based codec cuts size by 80-95% with no perceptual loss for static UI footage.
  • Email and chat attachments — Gmail caps inline attachments at 25 MB, Outlook.com at 20 MB, and Discord's free tier at 10 MB (lowered from 25 MB in September 2024). A 2-minute AVI clip almost always needs compression before it goes in any message.
  • Archive consolidation — A drive of legacy AVI files from 2005-2012 can shrink 60-80% by re-encoding to H.264 inside the same AVI container, with the original bit-for-bit playable on the same software that opened the originals.
  • Editing pipelines that still want AVI — Some Windows-era NLEs (VirtualDub, older Premiere projects, AviSynth scripts) only handle AVI cleanly. Re-encoding to Xvid or MPEG-4 at a lower bitrate keeps compatibility while reducing footprint.
  • Older devices and players — Standalone DVD players, in-flight entertainment systems, and certain media boxes from the 2000s often play AVI only. Compress in place rather than converting, then sideload.

AVI Codec Efficiency Comparison

These figures are typical for 1080p at "watchable web" quality; exact numbers depend on motion complexity and your CRF/bitrate target.

Codec inside AVI Standard / era Typical 1-hour 1080p size Notes
Uncompressed RGB 600-900 GB Pristine; only used for editing intermediates
HuffYUV / FFV1 Lossless, late 1990s-2000s 30-80 GB Mathematically lossless; archival workflows
MJPEG ISO/IEC 10918, 1992 30-60 GB Each frame an independent JPEG; no inter-frame compression
MS-MPEG4 / WMV Microsoft, late 1990s 1.5-3 GB Common in older Windows screen captures
Xvid / DivX (MPEG-4 Part 2) 2001 1-2 GB The "classic" AVI codec from the 2000s
H.264 (MPEG-4 Part 10) 2003 0.6-1.2 GB Modern baseline; same quality at half the size of Xvid
H.265 / HEVC 2013 0.3-0.7 GB ~40-50% smaller than H.264 at the same CRF

Compress in AVI vs Convert to MP4 — Decision Guide

If you need… Choose Why
Maximum file size reduction Convert AVI to MP4 with H.264/H.265 Modern container + modern codec compounds savings
Drop-in replacement for legacy software Compress AVI (this page) Keeps .avi extension and RIFF structure
Smallest possible archive Convert AVI to MKV with H.265 MKV has lower container overhead than AVI; H.265 has lower codec overhead than H.264
Apple ecosystem playback Convert AVI to MOV Native QuickTime / Final Cut support
Web embedding (HTML5 video) Convert AVI to MP4 Browsers don't play AVI; MP4/H.264 is universal
Trim only, no re-encode Trim AVI Stream-copy cut preserves quality and finishes in seconds

CRF Quick Reference

CRF (Constant Rate Factor) targets a constant perceptual quality and lets the encoder pick the bitrate frame by frame. Lower CRF = higher quality and larger files.

Codec (CRF mode) Visually lossless Good quality Web-quality Aggressive
H.264 17-18 19-23 24-27 28-32
H.265 20-22 23-26 27-30 31-34
Xvid / MPEG-4 (qscale) 2-3 4-6 7-10 11-15
MJPEG (qscale) 2-3 4-7 8-12 13-20

A rule of thumb: H.265 CRF roughly equals H.264 CRF + 4 at similar perceived quality, and produces files ~40-50% smaller.

Frequently Asked Questions

Why is my AVI so much larger than an MP4 of the same video?

Two reasons stack. First, AVI's container overhead is higher than MP4's — index tables and per-chunk headers cost more bytes per second. Second, AVI files are usually encoded with Xvid, DivX, or MPEG-4 Part 2, which are roughly half as efficient as H.264 and a third as efficient as H.265 at equal visual quality. Re-encoding the same source to H.264 inside an MP4 container typically cuts size by 50-70%.

Should I compress in AVI or just convert to MP4?

If any downstream tool (legacy editor, hardware DVD player, AviSynth script) specifically requires .avi, compress in AVI. Otherwise convert to MP4 with H.264 — you'll get a smaller file, broader playback support, and proper B-frame compression. AVI's spec doesn't reliably handle B-frames, which is one reason it can't match MP4 efficiency even with the same codec.

Will compression damage the original file?

No. Your source file is never modified. Compression produces a new output file; the original AVI sits on your disk untouched. If the new file looks worse than you want, re-run with a higher quality setting (lower CRF or higher target size %).

What CRF should I pick for AVI compression?

If you're keeping H.264 inside AVI, start at CRF 20-22 — that's slightly above default and gives meaningful savings without visible artifacts. For Xvid the equivalent is qscale 4-5. Drop CRF (or qscale) by 2 if you see blockiness on dark gradients or fast motion; raise it by 2 if you need a much smaller file and the content is mostly static.

My AVI is from a MiniDV camcorder — what settings work best?

DV-AVI runs 13 Mbps interlaced 720x480 (NTSC) or 720x576 (PAL). De-interlace during compression if your encoder supports it, then target H.264 CRF 20 at the original resolution. A 60-minute tape (13 GB) typically lands at 1-1.5 GB with no perceptible quality loss. Many users move to MP4 at this point — see Convert AVI to MP4.

Can I compress without re-encoding the video?

Partially. If you only need to trim length, use Trim AVI — it does a stream copy with no quality loss. To shrink the file without trimming you must re-encode; AVI has no other "lossless shrink" path because it doesn't support modern features like B-frames that more efficient codecs rely on.

Does this tool support AVI with MJPEG, Xvid, DivX, or uncompressed RGB?

Yes. The compressor accepts AVI files regardless of which codec is inside — Xvid, DivX, MPEG-4 Part 2, MJPEG, MS-MPEG4 (Microsoft's WMV variants inside AVI), HuffYUV, and uncompressed RGB are all supported. You can keep the source codec or switch to a more efficient one in Advanced Options → Video Codec.

Will subtitles or chapter markers survive?

AVI's specification doesn't support attached subtitles, embedded fonts, or chapter markers — those have to live in a sidecar .srt file or be hardcoded into the video stream. If your AVI was made with hardcoded subtitles, they'll remain (they're pixels in the video). For a container that does carry soft subtitles natively, compress into MKV instead via Convert AVI to MKV.

Are there file size or count limits?

Files process in your browser session, so the practical ceiling is your device's available RAM and storage. There's no per-file watermark, no sign-up requirement, and no daily count cap on this page.

Rate AVI Compressor Tool

Rating: 4.7 / 5 - 57 reviews