Download M3U8

What Is an M3U8 File? A Complete Guide to M3U8 and HLS Streaming

An M3U8 file is a plain-text playlist used for streaming video over the internet. If you've ever watched a live stream or a video on a modern website, you've almost certainly used an M3U8 file without even knowing it.

In the simplest terms, an M3U8 file is not a video file. It is a playlist — a text file that tells a media player where to find the video and how to play it. The actual video is broken into many small pieces called segments, and the M3U8 file keeps a list of where each piece lives.

This design is what makes online streaming fast and reliable. Instead of downloading one huge video file before you can watch, your player loads the playlist first and then fetches segments one after another as you watch.

What Does M3U8 Stand For?

The name M3U8 comes from two parts. "M3U" refers to the original MP3 URL playlist format that was used for simple audio playlists, and the "8" signals that the file usesUTF-8 encoding. UTF-8 is a text encoding that supports characters from nearly every language, which is why M3U8 files can describe streams with titles in any language.

M3U8 files are most commonly associated with a few key use cases:

  • Live streaming — sports, news, and events
  • Online video platforms — on-demand movies and shows
  • IPTV — internet-based television
  • Video delivery systems — CDNs and streaming infrastructure

How Does an M3U8 File Work?

To understand how an M3U8 file works, it helps to follow the journey of a video from its source to your screen:

  1. 1Video source is prepared and split into small segments
  2. 2An M3U8 playlist lists those segments in order
  3. 3Video segments are stored as .ts or .m4s files
  4. 4An HLS-compatible player reads the playlist
  5. 5Video plays back seamlessly, segment by segment

The key idea is that an M3U8 playlist stores references to media segments rather than the complete video. This is the foundation of HLS streaming, the technology developed by Apple that powers a huge portion of the web's video.

M3U8 File Structure: What's Inside?

An M3U8 file is a plain-text playlist that uses specific tags to describe a stream. Every line is either a tag (starting with #) or a URL pointing to a media segment or another playlist. Here is a simple example:

#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:10
#EXT-X-MEDIA-SEQUENCE:0
#EXTINF:10.0,
segment-001.ts
#EXTINF:10.0,
segment-002.ts
#EXTINF:10.0,
segment-003.ts
#EXT-X-ENDLIST

Key tags explained:

  • #EXTM3U — marks this as an extended M3U playlist
  • #EXT-X-VERSION:3 — the HLS protocol version in use
  • #EXT-X-TARGETDURATION:10 — the maximum segment duration in seconds
  • #EXTINF:10.0, — the duration of the next segment that follows it
  • #EXT-X-ENDLIST — signals the end of a video-on-demand stream

Master Playlist vs Media Playlist

In HLS there are actually two types of M3U8 files:

Master Playlist

Also called a Variant Playlist, it lists multiple versions of the same content at different quality levels using #EXT-X-STREAM-INF tags. The player picks the best quality based on available bandwidth.

Media Playlist

Contains the actual list of TS segment URLs the player fetches and plays in sequence. A master playlist references one or more media playlists.

What Are TS Segments?

TS stands for MPEG Transport Stream. Each .ts file is a short chunk of video (typically 2–10 seconds) containing multiplexed audio and video data. The player downloads these segments in order and plays them seamlessly as a continuous stream.

Because segments are independent, they can be cached by CDNs, delivered over standard HTTP, and played back before the entire video has finished downloading. This is a big reason why HLS is the dominant protocol for live streaming and on-demand video delivery.

M3U8 vs MP4 vs DASH: What Is the Difference?

People often compare M3U8, MP4, and DASH because all three are connected to online video, but they serve very different purposes. M3U8 is a playlist format used by HLS, while MP4 is acontainer format for complete media files.

FeatureM3U8 (HLS)MP4DASH
TypePlaylist formatComplete video fileStreaming protocol
PurposeStreamingLocal storage & playbackAdaptive streaming
ContentReferences to TS segmentsSelf-contained videoSegments + manifest
CodecsH.264 / H.265 / AACAny common codecH.264 / HEVC / VP9 / AV1
Best forApple & web streamingOffline playback & downloadsAndroid & web streaming

In short, M3U8 is designed for streaming, while MP4 is designed as acomplete media file you can save and play anywhere. DASH is an alternative streaming standard that plays a similar role to HLS but is more common on Android devices.

Why Do Websites Use M3U8 Streaming?

M3U8 streaming offers several important advantages that make it the standard for modern video delivery:

  • Adaptive bitrate streaming — the player automatically switches video quality based on your connection, so playback stays smooth on both fast and slow networks.
  • Better performance — because content is delivered in small chunks, streams start quickly and buffer less.
  • Works across devices — the same stream can play on phones, tablets, desktops, and TVs.
  • Supports live video — HLS is one of the most reliable ways to deliver live broadcasts.
  • Handles different network conditions — viewers on weak connections get lower quality instead of a frozen video.

You'll see M3U8 in action with live sports, online courses, video platforms, and live broadcasts of all kinds.

Adaptive Bitrate Streaming Explained

Adaptive bitrate streaming is the technology that lets a video keep playing smoothly when your internet speed changes. When a video is published with HLS, it is encoded into several quality levels — for example 360p, 720p, and 1080p — and the master playlist points to all of them.

  • Slow network? The player switches to a lower-quality stream so playback never stutters.
  • Fast network? The player upgrades to a higher-quality stream automatically.
  • Seamless switching — quality changes happen at segment boundaries, so you never notice the switch.

This is why M3U8 streams feel so much more reliable than watching a single large file: the player always picks the best quality your connection can handle.

How to Play an M3U8 File

Because an M3U8 file is just a playlist, it needs a player that understands the HLS format. You have a few options:

  • HLS-compatible players — apps like VLC can open M3U8 URLs directly.
  • Online M3U8 players — paste a URL and watch in your browser, no installation needed.
  • Supported browsers — Safari plays HLS natively, and modern browsers support it through playback libraries.

The easiest option is an online player. You can play M3U8 online with our free browser-based M3U8 Player Online — just paste a URL and press play.

How to Download an M3U8 Video

Downloading an M3U8 video is different from downloading a normal file, because the video isn't stored in one place. The process typically involves:

  1. Reading the playlist to find the segment list
  2. Retrieving each media segment
  3. Processing and combining the stream into a playable file

Rather than doing all of that manually, you can use our M3U8 Downloader to download M3U8 videos directly in your browser.

How to Convert M3U8 to MP4

M3U8 streams can sometimes be converted into MP4 files when the stream is accessible and supported. This is useful if you want a single video file you can save, share, or play on any device.

You can convert M3U8 to MP4 with our online M3U8 to MP4 Converter — paste an M3U8 URL and save the result as a standard MP4.

Common M3U8 File Problems

M3U8 streams sometimes fail to play. Here are the most common reasons and what they mean:

  • Expired URL — many streams use temporary links that stop working after a short time.
  • CORS restrictions — the server blocks requests coming from other websites.
  • Authentication required — the stream needs a login or token.
  • Encrypted streams — some content is protected with DRM.
  • Unsupported browser — the browser lacks HLS playback support.
  • Unavailable segments — some referenced segments may have been removed.

If you hit one of these issues, trying a different stream or an online player with proxy support can often help.

Frequently Asked Questions

Is M3U8 a video file?
No. M3U8 is a playlist file that contains references to video segments.
What is an M3U8 URL?
An M3U8 URL is a web address pointing to an M3U8 playlist used for streaming video content.
Can Chrome play M3U8 files?
Chrome can play compatible HLS streams through supported playback technologies.
How do I open an M3U8 file?
You can open an M3U8 file using an HLS-compatible player or an online M3U8 player.
Can I convert M3U8 to MP4?
Yes, supported M3U8 streams can be converted into MP4 format.
What is the difference between M3U8 and MP4?
M3U8 is a playlist format that references video segments for streaming, while MP4 is a complete video file you can save and play locally. M3U8 enables adaptive bitrate streaming; MP4 is a single self-contained file.
What are TS segments in HLS?
TS segments are short MPEG transport stream video chunks (usually 2 to 10 seconds) that an M3U8 playlist references. Players download these segments in sequence and play them back as a continuous video.