M3U8 basics
What Is M3U8? HLS Playlist Files Explained
An M3U8 file is a UTF-8 playlist used by HTTP Live Streaming. It describes where a player can find media segments, alternate renditions, subtitles, and other stream metadata.
What an M3U8 file contains
M3U8 is a text-based playlist format encoded as UTF-8. In HLS workflows, the playlist usually starts with #EXTM3U and then lists tags that describe segment duration, media sequence numbers, variant streams, subtitles, encryption information, and segment URLs.
A master playlist points to one or more media playlists. A media playlist points to the actual media segments, often MPEG-TS or fragmented MP4 files. The player follows those URLs in order and keeps requesting new entries for live streams.
Why M3U8 is common on the web
HLS works over ordinary HTTP, so it can be delivered through common web servers and CDNs. The playlist lets the player adapt to changing network conditions by switching between variants with different bitrates or resolutions.
Safari and iOS support HLS natively. Other modern browsers usually use a JavaScript player such as HLS.js when MediaSource Extensions are available.
Testing an M3U8 URL safely
Use a browser-based player only with streams you own or are authorized to access. A player cannot bypass DRM, signed URLs, cookies, referrers, paywalls, login checks, or source server access rules.
If a playlist is reachable but playback fails, inspect CORS headers, authorization requirements, codecs, and media segment structure before assuming the URL is broken.