The History and Evolution of M3U8
A sourced guide to how HLS uses UTF-8 M3U playlists, what the format does, and where encryption and adaptive playback actually fit.
Introduction
HLS is widely used for live and on-demand video, but a playlist extension is not itself a streaming protocol. A .m3u8 file is a UTF-8 text playlist commonly used by HLS to describe media and the resources a compatible player should request. This guide separates the playlist format from the HLS protocol and corrects several common historical and technical oversimplifications.
This guide focuses on the practical distinction between a playlist file and the HLS protocol that uses it.
Today, let's trace the history and evolution of M3U8.
1. Origins: From M3U (1990s)
HLS playlists use the extended M3U syntax. M3U was already used for text-based media playlists before HLS; available primary references do not establish a single creator or a definitive origin story, so this article does not attribute its invention to a particular player.
1.1 Winamp and the Birth of M3U
Winamp is one familiar player that supported M3U playlists; that does not establish that it invented the format. M3U files are plain-text lists that can contain local paths or URLs, with optional metadata such as #EXTINF. The expansion of the name “M3U” is not defined by RFC 8216, so we avoid presenting one etymology as settled fact.
A basic M3U file looks like this:
#EXTM3U
#EXTINF:233,Artist - Song Title
D:\Music\song.mp3
#EXTINF:257,Artist - Another Song
D:\Music\another.mp3
Simple as can be: one line for duration and title metadata, the next line for the file path. This humble design laid the foundation for a massive ecosystem.
1.2 Limitations of M3U
Generic M3U files have appeared with different encodings and conventions. HLS is stricter: RFC 8216 requires playlist files to use UTF-8 and forbids a byte-order mark. The .m3u8 extension is commonly used for UTF-8 playlists, but a playlist does not itself carry the media or provide a network transport.
An M3U playlist can reference remote resources as well as local files. HLS adds defined tags and playlist relationships for media segments, variant streams, encryption signaling, and related playback metadata. The player and delivery service—not the filename—provide playback, adaptation, and transport behavior.
These limitations weren't a big deal in the era of local music playback, but everything changed with the arrival of internet video.
2. The Turning Point: Apple and HLS (2009)
Apple introduced HTTP Live Streaming in 2009. HLS uses an extended M3U playlist format, with UTF-8 encoding and protocol-specific tags defined by the HLS specification.
2.1 The iPhone's Demand
In 2007, the original iPhone was released. Steve Jobs famously refused to support Adobe Flash on the iPhone — and Flash was the primary vehicle for web video at the time. This meant Apple needed a Flash-free streaming solution for video playback in Safari and iOS devices.
2.2 Birth of HTTP Live Streaming (HLS)
In 2009, Apple officially introduced HTTP Live Streaming (HLS) at WWDC. HLS's core design philosophy was elegant:
Don't invent a new transport protocol — reuse HTTP.
Specifically, the HLS workflow is:
- Segment the video into many short clips (typically 2-10 second
.tsfiles) - Generate an index file listing each segment's address and duration
- The player downloads and plays segments sequentially
The playlist is still a text document. Its .m3u8 filename convention is associated with UTF-8 text; it is more precise to describe HLS playlists as extended M3U than to treat “M3U8” as a separate media codec or transport protocol.
2.3 Why M3U?
The HLS specification builds on the extended M3U playlist structure. In practical terms, this means:
- Simple enough — plain text, openable with any editor
- Readable structure — playlist files are text and can be inspected with an editor
- Defined extensions — HLS assigns specific meanings to tags such as
#EXT-X-STREAM-INFand#EXT-X-KEY - HTTP delivery — an HLS client requests playlists and media resources over HTTP(S); server configuration, CORS, MIME types, caching, and authorization still matter
3. Key Design Features: Why M3U8 Succeeded
HLS uses playlists to describe resources. The playlist alone does not perform these playback decisions; compatible clients and media services do.
3.1 Adaptive Bitrate (ABR)
An HLS multivariant playlist can list variant streams at different bitrates and resolutions:
#EXTM3U
#EXT-X-STREAM-INF:BANDWIDTH=800000,RESOLUTION=640x360
360p/playlist.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=1400000,RESOLUTION=854x480
480p/playlist.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=2800000,RESOLUTION=1280x720
720p/playlist.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=5000000,RESOLUTION=1920x1080
1080p/playlist.m3u8
The multivariant playlist advertises available renditions. A capable player may select or switch among them based on its adaptation logic, measured delivery conditions, and configured limits. The playlist does not guarantee a particular quality or a switch.
3.2 HTTP-Based Transport
HLS playlists and media resources are delivered over HTTP or HTTPS. This allows common web servers and CDNs to deliver the files, but a working service still needs correctly packaged media, appropriate response headers, reachable URLs, and suitable caching and authorization rules:
- No HLS-specific transport connection — clients use ordinary HTTP requests
- Often compatible with existing delivery infrastructure — subject to the origin and CDN configuration
- HTTPS can protect transport in transit — it does not make a stream public or remove authorization requirements
- Caching is configurable — live and on-demand playlists and segments may need different cache policies
3.3 Media Segment Design
HLS can use MPEG-2 Transport Stream or fragmented MP4 media, among other specification-supported formats. Segment boundaries, timestamps, and keyframes affect seeking and continuity; a segment is not necessarily a convenient standalone video file. Check the playlist and media format rather than assuming every HLS segment is .ts:
- Incremental delivery — clients can request media resources as playback advances
- Playlist-guided access — sequence, duration, byte-range, and initialization metadata can affect which resources are needed
- Seeking depends on available media and keyframes — a playlist entry alone does not guarantee an arbitrary seek will work
3.4 HLS encryption signaling is not the same as DRM
RFC 8216 defines HLS playlist signaling for AES-128-encrypted media segments through #EXT-X-KEY. The playlist tells a compatible client how the media is protected; the M3U8 text itself is not the encryption mechanism:
#EXT-X-KEY:METHOD=AES-128,URI="https://example.com/key.php",IV=0x1234567890abcdef
#EXTINF:10.0,
encrypted_segment_001.ts
Key delivery and access control must be configured by the service. HTTPS protects a request in transit but does not, by itself, make a key private. AES-128 HLS encryption should not be described as equivalent to a multi-DRM system such as FairPlay or Widevine; those systems have separate platform and key-management requirements.
4. Reading HLS version numbers correctly
M3U8 has continuously evolved with the needs of the internet video industry:
#EXT-X-VERSION is a playlist compatibility value, not a sequence of product releases named “HLS v1” through “HLS v8.” Apple's archived HLS feature history relates Internet-Draft revisions and client releases to compatibility values. The distinction matters when deciding which tags a client must support.
| Reference | What it is | What not to infer |
|---|---|---|
#EXT-X-VERSION | Compatibility version declared by a playlist | It is not an HLS product-generation number or a release date |
| RFC 8216 (2017) | Published HLS specification for protocol version 7 | It does not establish market share or universal client support |
| Apple's feature history | Historical mapping of draft revisions, compatibility values, and Apple client releases | It should not be simplified into a fabricated annual “HLS v1–v8” timeline |
4.2 Competition
MPEG-DASH is another adaptive streaming system, with its own manifest and client ecosystem. Comparing HLS and DASH requires a specific target-device and service context; broad statements about market dominance or universal native support need dated evidence.
| Question | HLS | MPEG-DASH |
|---|---|---|
| Playlist/manifest | Extended M3U text playlists | XML Media Presentation Description (MPD) |
| What determines playback support? | Device, OS, browser, player, media packaging, and DRM | Device, OS, browser, player, media packaging, and DRM |
| Good comparison method | Test the exact target clients and streams | Test the exact target clients and streams |
5. Modern Applications
5.1 Video on Demand (VOD)
An HLS VOD workflow can package a source at multiple renditions and describe them in playlists. A compatible player's adaptation logic may switch renditions during playback; the exact workflow depends on the service and client.
5.2 Live Streaming
For live HLS, the server updates the media playlist according to the protocol's live-playlist rules. Depending on the playlist type, older entries can leave the sliding window as new media becomes available. The client reloads the playlist according to its timing and playback logic.
5.3 Low Latency (LL-HLS)
Low-Latency HLS adds mechanisms intended to reduce live latency, including partial segments, blocking playlist reloads, and preload hints. The achievable end-to-end latency depends on encoder, packager, origin/CDN, player, and network configuration; no fixed “2–5 second” result is guaranteed.
- Partial segments — make media available before a full segment is complete
- Blocking reloads — allow a playlist request to wait for a requested update
- Preload hints — tell a client about a resource that may be requested soon
6. The Future of M3U8
6.1 CMAF: Unified Container Format
Common Media Application Format (CMAF) allows HLS and DASH to share the same video segment format (fMP4). Apple already supports fMP4 containers in HLS, gradually replacing traditional TS containers.
6.2 Even Lower Latency
Do not assume unrelated transport technologies such as WebTransport or QUIC are part of HLS. Evaluate latency claims against published HLS specifications and the actual encoder, packager, delivery path, and player implementation.
6.3 AI & Intelligent Streaming
Future adaptive algorithms may combine AI to predict user network conditions, proactively adjusting bitrate and buffering strategies.
6.4 New Codec Support
Codec support is determined by the published HLS specification and the device, operating system, browser, and player in use. Confirm that a specific codec is supported across the target playback chain rather than assuming that an .m3u8 playlist makes it compatible.
7. Summary
Looking back at M3U8's evolution:
M3U (1997 Local Playlist)
→ M3U8 (2009 Apple HLS Streaming Index)
→ Adaptive Bitrate, Encryption, Multi-track
→ Low-Latency HLS
→ CMAF Unified Format
→ Future: AI-Driven, Ultra-Low Latency
M3U is a text playlist format; HLS is a streaming protocol that uses extended M3U playlists and defines how clients interpret media resources. Keeping that distinction clear helps when inspecting a file, evaluating encryption, or comparing playback support. There is no substantiated universal market-share figure in the references below, so this article makes no percentage claim.
References
- RFC 8216: HTTP Live Streaming — UTF-8 playlist requirements,
#EXT-X-VERSION, and HLS key signaling. - Apple: About HTTP Live Streaming — HLS workflow and current developer resources.
- Apple archive: HLS feature release history — historical draft revisions and compatibility values.
Substantively reviewed: 2026-10-04