Convert mp4 to m3u

Convert MP4 to M3U

Create an M3U or M3U8 playlist that points to local or hosted MP4 videos.

Convert MP4 files online

We don’t have a dedicated online converter for MP4 to M3U yet, but you can convert MP4 files online to these and more formats:

How to convert mp4 to m3u file

  • Video

IPTV players, signage software, and media players may require an .m3u playlist to load local or hosted videos in a specified order. The process creates a small text file that points to existing MP4 files; it does not convert the video data.

MP4 and M3U formats

MP4 is an ISO Base Media File Format container, normally using the .mp4 extension. It can hold video such as H.264, H.265/HEVC, AV1, or MPEG-4 Visual; audio such as AAC, MP3, or AC-3; subtitles, chapters, and metadata. Phones, cameras, screen recorders, editors, streaming downloads, web browsers, and players such as VLC, QuickTime Player, and Windows Media Player commonly use MP4.

M3U is a plain-text playlist format saved as .m3u; .m3u8 conventionally identifies a UTF-8 playlist and is also used by HLS streaming. Each playlist entry is a local path, a file URI, or an HTTP/HTTPS URL. An M3U file can list media in playback order and add optional titles with #EXTINF, but it does not contain video, reduce file size, or change codecs.

Create a playlist manually

Create a UTF-8 plain-text file in Notepad, Notepad++, VS Code, TextEdit in plain-text mode, or another text editor. Save it as videos.m3u, not videos.m3u.txt.

For a portable local playlist, place the M3U file beside a media folder and use relative paths:

#EXTM3U
media/intro.mp4
media/main.mp4
media/outro.mp4

Use forward slashes for relative paths. Most players resolve them from the playlist's own folder, although behavior varies in older software.

For an absolute local reference, use a file URI. Spaces and other reserved URI characters must be percent-encoded:

#EXTM3U
file:///C:/Videos/movie%20clip.mp4
file:///home/alex/Videos/movie.mp4

Some devices accept operating-system paths instead, such as C:\Videos\movie.mp4, but file URIs are less ambiguous. Check the target application's documentation if it rejects one form.

A hosted MP4 requires a direct, publicly reachable media URL:

#EXTM3U
#EXTINF:-1,Product demonstration
https://media.example.com/videos/demo.mp4

The #EXTINF line is optional. Do not use a web page URL, cloud-storage sharing page, or login-protected URL unless the receiving player supports that service's authentication method.

Create and save a playlist in VLC

VLC can assemble and export playlists without modifying the videos. Open the MP4 files with Media → Open Multiple Files, select Add, choose the files, and select Play. In the playlist view, arrange entries as needed, then use Media → Save Playlist to File. Choose M3U playlist or M3U8 playlist, select a destination, and save.

Use .m3u8 when the target specifically requires UTF-8 or HLS-style playlist naming; a normal local-file playlist does not become an HLS stream merely by changing its extension.

Compatibility and quality limits

Creating an M3U file leaves the MP4 unchanged: quality, resolution, bitrate, codec, and media-file size remain identical. The target player must still support the codecs, audio format, subtitle format, and network access required by every referenced MP4.

Absolute local paths fail on another computer unless its drive letter, directories, and filenames match. Relative paths work only when the playlist and its media folder are moved together. Test the final playlist in the intended application or device.

Many IPTV platforms expect an HLS master or media playlist containing #EXT-X- tags and stream segment URLs, not a list of local MP4 files. An M3U file cannot publish a local MP4 as an IPTV channel; the video must be hosted or packaged as a compatible stream first.

No online converter is needed or useful for this task, because no media transcoding occurs. Avoid sites that request an MP4 upload solely to create an M3U file; create the playlist locally with a text editor or VLC.

Simply put, it is impossible to convert MP4 to M3U directly.
Thus, there is no so-called mp4 to m3u converter or a free online .mp4 to .m3u conversion tool.

MP4 vs M3U: format comparison

How the MP4 and M3U formats compare on the properties that matter most for this conversion.

Comparison of the MP4 and M3U file formats
Property .MP4 MPEG-4 Part 14 .M3U M3U playlist
Open standard Yes Partly open
Compression Both Uncompressed
Typical file size Small Very small
Opens in a web browser Yes, natively Partial
Further editing Limited Easy
Metadata support Extensive Basic
Plain-text readable No Yes
Best used for Sharing and distribution Music
Introduced 2001 1996
Developer Moving Picture Experts Group (ISO/IEC)
MIME type video/mp4 audio/x-mpegurl

Additional formats for
mp4 file conversion

Reverse conversion

Convert to m3u from
other formats

Share on social media: