← Blog.backToBlog

What Is an M3U8 File? HLS Playlist Format Explained

7 min read

What Is an M3U8 File?

An M3U8 file is a UTF-8 text playlist used by the HLS (HTTP Live Streaming) protocol. Despite people calling it a "video file," it contains no video data. It is a small text file that lists where video segments live and how a player should play them.

The name comes from "MP3 URL" (M3U was originally for MP3 playlists). The "8" means UTF-8 encoding, so international characters are supported. You can open any M3U8 file in Notepad, VS Code, or another text editor — it is just readable text.

What Does an M3U8 File Look Like?

A simple VOD playlist looks like this:

#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:10
#EXTINF:10.000,
video-001.ts
#EXTINF:10.000,
video-002.ts
#EXTINF:10.000,
video-003.ts
#EXT-X-ENDLIST

Lines starting with #EXT are tags (metadata). Lines without that prefix are URLs or paths to segments. See the full structure in our M3U8 format explained guide.

M3U8 vs Regular Video Files

AspectM3U8MP4
ContentText playlistBinary video data
SizeA few KBMB to GB
Playable aloneNoYes
Contains videoNoYes
EditableAny text editorVideo editor

More detail: M3U8 vs MP4.

How to View or Play an M3U8 File

  • See the text: open the URL or file in a browser or text editor.
  • Play the video: use our free online M3U8 player — paste the URL and click Play.
  • Desktop: VLC can open network streams or local .m3u8 files.

Step-by-step: how to open M3U8 files.

Common Uses of M3U8 Files

  • HLS web streaming — the main use case for video on the internet.
  • IPTV — channel playlists for internet TV.
  • Live events — real-time broadcasts that update the playlist.
  • VOD with adaptive bitrate — multiple qualities for different connections.
  • Audio-only HLS — some podcasts and radio streams use M3U8 too.

Anatomy of a Real Playlist

An M3U8 file is a UTF-8 text playlist for HLS. It does not contain the video pixels. Typical tags include #EXTM3U, #EXT-X-VERSION, #EXTINF duration lines, segment URIs, and optionally #EXT-X-STREAM-INF for master playlists that point at multiple quality ladders. Media playlists list the actual .ts or fMP4 segments; master playlists list other playlists.

Because it is text, you can open M3U8 in any editor. That is useful for debugging relative paths and key URIs — not for “watching” inside Notepad.

M3U8 vs MP4 vs M3U

FormatWhat it storesStreaming role
M3U8Playlist text (HLS)Adaptive streaming index
M3UOlder playlist textOften IPTV lists; not full HLS semantics
MP4Media containerProgressive download / file delivery
TS segmentsMPEG-TS chunksPayload referenced by M3U8

People say “send me the M3U8” when they mean the entry URL to a stream. Without reachable segments (and keys if encrypted), the playlist alone is useless.

How to Use One Today

Play it in an HLS-aware online player, archive authorized VOD with a downloader, or package MP4 via a converter. Developers parse playlists to build custom players; operators generate them with packagers and CDNs. Related: M3U8 vs M3U, format explained, what is HLS.

Bottom Line

An M3U8 file is the map, not the territory: a text index that tells players which segments to fetch next. Learn to read it, test it in a real HLS player, and keep rights in mind before downloading what it points to.

Frequently Asked Questions

Is an M3U8 file a video?
No — it is a playlist that points to video segments.

Can I open M3U8 in Notepad?
Yes — it is plain UTF-8 text.

How do I play an M3U8 URL?
Paste it into an online player or open it in VLC.

What is the difference between M3U and M3U8?
Encoding and HLS tags — see M3U8 vs M3U.