What Is an M3U8 File? HLS Playlists vs M3U Explained
What an M3U8 file is, how HLS uses it to stream video in segments, how it differs from an IPTV M3U playlist, and how to open an M3U8 link in VLC.
By XCodes IPTV 4K Editorial TeamUpdated 2 min read
An M3U8 file is a playlist saved in UTF-8 text encoding. In streaming, it most often means an HLS playlist: the file a player reads to find the small video segments that make up a stream, and the different quality levels available. An IPTV M3U playlist is a list of channels; an HLS M3U8 describes one stream. Both use the #EXTM3U header, which is why they're easily confused.
M3U vs M3U8
| M3U (IPTV channel list) | M3U8 (HLS stream playlist) | |
|---|---|---|
| Encoding | Often UTF-8, sometimes other | Always UTF-8 |
| Lists | Channels, each with a stream URL | Video segments or quality variants |
| Typical tags | #EXTINF, tvg-id, group-title | #EXT-X-TARGETDURATION, #EXT-X-STREAM-INF |
| Changes | When channels change | Constantly, for live streams |
| Opened by | IPTV players (TiviMate, VLC) | Video players and browsers |
An IPTV channel list may be served as a .m3u8 file just for its encoding, and a channel URL inside an M3U playlist may point to an HLS .m3u8 stream. See what an M3U playlist is and what an M3U URL is.
Inside an HLS M3U8
A master playlist lists quality variants:
#EXTM3U
#EXT-X-STREAM-INF:BANDWIDTH=2500000,RESOLUTION=1280x720
720p.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=6000000,RESOLUTION=1920x1080
1080p.m3u8Each media playlist lists the segments:
#EXTM3U
#EXT-X-TARGETDURATION:6
#EXT-X-MEDIA-SEQUENCE:1024
#EXTINF:6.0,
segment1024.ts
#EXTINF:6.0,
segment1025.tsThe player picks a variant based on your connection and moves between them; that's adaptive bitrate. See HLS vs MPEG-TS.
How to open an M3U8 file
- VLC opens both channel lists and HLS streams.
- IPTV players load channel-list M3U8 files like any M3U.
- Safari plays HLS natively; other browsers use a web player.
- Opening a local HLS file usually won't work on its own, because the segments live on the server.
Troubleshooting
- Playlist won't load: check the URL, encoding and expiry. See IPTV playlist not loading.
- Special characters garbled: the file may not really be UTF-8.
- Plays briefly then stops: often segments failing to load; check your connection.
Frequently asked questions
Is M3U8 the same as M3U?
The same format family; M3U8 is always UTF-8 and is used by HLS.
Can I convert M3U8 to MP4?
Downloading streams can break service terms and copyright. Only save content you have the right to.
Is an M3U8 link safe?
The file is plain text, but only use links from licensed services. See how to choose an IPTV service.
Conclusion
M3U8 is a UTF-8 playlist, usually an HLS stream description rather than a channel list. For the wider picture, read IPTV technology explained. HLS is specified in IETF RFC 8216 (opens in a new tab).

