YouTube to AVI Converter

Turn an MP4 saved from YouTube into an AVI file, without leaving your browser.

or drop files here

MP

MP4 Format

MPEG-4 Part 14

A container format defined in ISO/IEC 14496-14 that can hold video, audio, subtitles and metadata. H.264 video with AAC audio is the most common combination.

  • container for several codecs
  • H.264, H.265 and AV1 video
  • subtitles and chapters
AV

AVI Format

Audio Video Interleave

A container format introduced by Microsoft based on RIFF. It interleaves video and audio data and can hold many different codecs.

  • RIFF-based container
  • many codecs
  • limited support for modern features

How to convert YouTube to AVI

Follow these steps to convert MP4 to AVI online.

    1

    Choose your MP4 file, or several at once.

    2

    Wait while the converter turns each file into AVI.

    3

    Download each new AVI file. Your original file isn't changed.

Before converting YouTube to AVI

  • The page converts an MP4 file you choose; it does not fetch a YouTube link.
  • Video is re-encoded as MPEG-4 with an Xvid tag, and sound as MP3 at 96 kbps.
  • Larger frames are reduced to 1920 px, faster clips lose frames to reach 30 fps, and both sides are rounded down to even numbers.
  • An AVI plays only where the program supports the codecs inside it.

About YouTube and AVI

What is an MP4 file?

This page takes an MP4 file. YouTube itself is a service, not a file extension, so the thing you convert is a saved copy of the video. The MP4 format is MPEG-4 Part 14, numbered ISO/IEC 14496-14, and it dates from 2003. The design descends from Apple's QuickTime through the ISO Base Media File Format, so each file is a set of nested boxes, which QuickTime knew as atoms.

MP4 is a container, so what plays depends on the codecs inside. The usual pairing is H.264 (AVC) with AAC, yet an MP4 can also carry AV1, VP9, MP3 or Opus. Video files use .mp4 or .m4v, and every major browser plays MP4. Turning a saved copy into AVI changes its delivery format. It does not recover your camera original, restore detail removed during earlier processing, or make the clip an editing master.

Programs that open MP4 files

  • Windows, Mac and Linux: ffplay plays MP4.
  • Windows, Mac and Linux: mpv, the desktop player, lets you switch audio and subtitle streams while an MP4 plays.
  • Windows and Mac: Adobe Premiere takes MP4 in when the decoder it needs is present.
  • Web: Firefox plays supported media on its own, though the system's codecs may decide whether AAC and H.264 work. Chrome plays the MP4 combinations it supports; the codec inside still matters.
  • Mobile: VLC for Android is free and decodes what the container holds. VLC for iOS plays most movie formats, whether the file is on the phone or on a network share.

MP4 and AVI compared

Inside an AVI, a RIFF file, timed pictures and sound travel together. Windows 3.1 brought it in from Microsoft, with a first specification written in 1992. The streams and their codecs are named by FOURCC codes, while the header notes sizes and frame rate. An AVI can hold raw, lossless or lossy video, which makes the ending a poor guide to picture quality or program support. The usual ending is .avi, and video/x-msvideo is a common media-type label.

  • Container: MPEG-4 Part 14 for the MP4; a RIFF file for the AVI.
  • Codecs here: MPEG-4 Part 2 video and MP3 sound in the AVI.
  • Limits: the first AVI specification has size limits that the later OpenDML extension lifts, and software treats aspect-ratio and scan-type metadata unevenly.
  • Where it appears: archives of production video and older desktop editing setups are where AVI still turns up.

This page re-encodes the saved MP4, so it is a real conversion and not a relabeling. FFmpeg writes MPEG-4 video tagged Xvid and MP3 sound at 96 kbps. The long edge stops at 1920 px and the rate at 30 frames a second. Width and height are each rounded down to an even number, which can cost an odd side one pixel. Frames flagged as interlaced are deinterlaced with yadif. Your file keeps its name with .avi at the end, and the MP4 you chose stays as it was.

AVI is useful when a particular older program asks for it. For ordinary modern sharing, making an AVI only because it sounds more compatible can add an unnecessary encode. Keep the MP4 until you have checked the AVI in the program that asked for it.

Other ways to convert MP4 to AVI

  • FFmpeg (command line): ffmpeg -i upload.mp4 -c:v mpeg4 -c:a libmp3lame upload.avi encodes MPEG-4 video and MP3 audio into an AVI. FFmpeg lists both AVI and MPEG-4 part 2 as formats it can write.
  • yt-dlp: yt-dlp --recode-video avi URL downloads the video and then recodes it to AVI. It needs FFmpeg for the recode, and it runs on your computer.

Problems with MP4 files

A pasted link does nothing: this page takes a file, not a web address. Save the video as an MP4 first.

It will not play, or the AVI plays on one machine only: opening the container is not enough if a program has no decoder for its video or sound. Find out what the file holds, then what the target program reads.

The file is unfinished: an MP4 usually stores its packet metadata together, which means a copy that was cut off partway can refuse to play. Fetch or copy it again.

The copy looks soft: a re-encode cannot bring back detail the earlier compression removed. Convert your original file if you still have it.

Frequently Asked Questions

Everything you need to know about our converter

Can I paste a YouTube link into this converter?

How do I convert a YouTube video to AVI?

What video and audio codecs does the AVI use?

Will the AVI keep the resolution of a 4K upload?

Can I convert several YouTube MP4 files at once?

Why does my old editor reject the AVI?

Does the AVI look worse than the YouTube video?

Is YouTube a video file format?

Is my video uploaded to a server?

How can I download and convert in one step?