What Is M3U8? HLS Streams Explained, and How to Play an M3U8 Link
An M3U8 file is the playlist behind HLS streaming. Learn how master and media playlists work, why M3U8 is not a video file, and how to play an M3U8 link in your browser.
สารบัญ
01M3U8 in one sentence02How HLS uses M3U8 playlists03Why streams use M3U8 and HLS04Is an M3U8 file a video?05How to play an M3U8 link in your browser06Why an M3U8 link does not play07M3U8 vs MPD08Only play streams you are allowed to watchIf you have seen a link ending in .m3u8, you have met the format behind most video streaming on the web. An M3U8 file is not a video. It is a small text playlist that tells a player where to find the video, piece by piece, and in which qualities. Understanding that makes it much easier to see why an M3U8 link plays, buffers or fails.
M3U8 in one sentence
M3U8 is an M3U playlist saved in UTF-8, and it is the playlist format of HLS (HTTP Live Streaming). HLS was created by Apple and is published as an open specification (RFC 8216). Today nearly every streaming platform, phone and smart TV supports it.
M3U8 also has a general meaning: any UTF-8 M3U playlist, such as a list of channels. Our guide what is an M3U file covers that use. This article is about the HLS kind.
How HLS uses M3U8 playlists
HLS cuts a video into short segments, usually a few seconds each, and describes them in playlists. There are two levels:

The master playlist
The first M3U8 you open lists the available qualities (renditions):
#EXTM3U
#EXT-X-STREAM-INF:BANDWIDTH=800000,RESOLUTION=640x360
360p/index.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=2800000,RESOLUTION=1280x720
720p/index.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=5000000,RESOLUTION=1920x1080
1080p/index.m3u8
The media playlist
Each quality has its own M3U8 listing the segments in order:
#EXTM3U
#EXT-X-TARGETDURATION:6
#EXT-X-MEDIA-SEQUENCE:120
#EXTINF:6.0,
segment120.ts
#EXTINF:6.0,
segment121.ts
For a live stream, the player reloads this list every few seconds to find new segments. For a video on demand, the list ends with #EXT-X-ENDLIST.
Why streams use M3U8 and HLS
- Adaptive quality. The player measures your connection and switches between 360p, 720p and 1080p on the fly, so playback continues instead of stopping.
- Works over normal web servers. Segments are ordinary files, easy to cache and deliver worldwide.
- Live and on demand use the same mechanism.
Is an M3U8 file a video?
No. Downloading the .m3u8 file gives you a few lines of text. The video lives in the segment files it lists, often .ts or .m4s. That is why opening an M3U8 file in a text editor shows addresses instead of pictures.
How to play an M3U8 link in your browser
Desktop Chrome, Edge, Brave and Opera cannot open an M3U8 address directly in a tab. You need a player that understands HLS:
- Add the free BetterStream extension to your browser.
- Open it, go to Plugins, choose Add plugin and paste the M3U8 address.
- Press play. BetterStream picks the best quality for your connection; you can choose one yourself from the quality menu.
You also get subtitles, audio track selection, picture-in-picture and resume. If you have a whole playlist of channels, see our M3U player guide.
Why an M3U8 link does not play
- The link has expired. Many M3U8 addresses contain a token that works for a limited time.
- The server only accepts its own website. Some streams check where the request comes from.
- DRM protection. Encrypted streams that need a licence from a service generally will not play outside that service.
- Region limits. The stream may only be available in certain countries.
- The stream is offline, which is common for live channels.
M3U8 vs MPD
HLS uses M3U8 playlists; the other big streaming format, MPEG-DASH, uses .mpd manifests. They solve the same problem in different ways. Read HLS vs DASH for the comparison. BetterStream plays both.
Only play streams you are allowed to watch
M3U8 is a neutral technology used by broadcasters, schools, businesses and creators. Use it with streams you have the right to watch; BetterStream does not provide or recommend any.
Frequently asked questions
What does M3U8 mean?
It is an M3U playlist encoded in UTF-8. The "8" refers to UTF-8.
What program opens M3U8 files?
Any player with HLS support. In a browser, the BetterStream extension plays M3U8 links in Chrome, Edge, Brave and Opera.
Can I convert M3U8 to MP4?
The segments can be joined into a single file with video tools, but only do that with content you own or are allowed to save. Streaming services' terms usually forbid it.
Why does my M3U8 stream keep buffering?
Your connection may be slower than the chosen quality. Pick a lower quality from the player menu, or let the player choose automatically.
More help in the help center.