m3u8 inspector: see what's inside a playlist

Paste an .m3u8 link or the playlist text to see its qualities, tracks, pieces and length, plus warnings about anything unusual. It runs in your browser.

What the inspector shows

An .m3u8 file is a playlist for HLS (HTTP Live Streaming): a short text file of tags, each starting with #EXT, plus links to other playlists or to the pieces of video. There are two kinds. A master playlist lists the qualities on offer. A media playlist lists the pieces (segments) of one quality. The inspector reads either kind and shows:

Qualities
Each version of the video with its resolution, bitrate and codecs, from the EXT-X-STREAM-INF tags. Bitrate is how much data the stream uses per second. Codecs are the formats the video and audio are compressed with, written as codes such as avc1 (H.264), hvc1 (H.265) and mp4a (AAC).
Audio and subtitle tracks
Extra languages, commentary and subtitles, from the EXT-X-MEDIA tags.
Pieces and durations
Every piece with its length in seconds, from the EXTINF tags.
Total length
The durations of all the pieces added together.
Live or on demand
Whether the playlist is finished, marked by EXT-X-ENDLIST, or still growing, as a live stream does. EXT-X-PLAYLIST-TYPE can also mark it as VOD (video on demand) or EVENT.
Encryption and DRM
Whether the pieces are encrypted with AES-128 or SAMPLE-AES, or protected by DRM (digital rights management) such as Widevine, FairPlay or PlayReady, from the EXT-X-KEY tags.
Tags and warnings
The tags in the playlist, and warnings about anything unusual.

What the warnings mean

Missing ENDLIST

The playlist has no EXT-X-ENDLIST tag, so players treat it as live: they reload it and wait for more pieces. That is normal for a live stream. For a recording that has finished, it can mean the playlist was never closed, and players or downloaders may keep waiting.

Uneven piece durations

Some pieces are much longer or shorter than the rest. Players usually cope, but it often points to a problem in how the video was encoded or cut.

Target duration exceeded

The EXT-X-TARGETDURATION tag sets the longest a piece may be. RFC 8216, the HLS standard, says each piece's duration, rounded to the nearest whole second, must not be longer than that. When a piece is, some players stall or reload the playlist at the wrong pace, especially on live streams.

How to read the results

  1. Check the playlist kind. A master playlist shows a list of qualities. A media playlist shows a list of pieces.
  2. Compare qualities. Higher resolution and bitrate mean a sharper picture and a bigger file. Bitrate times length gives a rough size: 5 Mbps (megabits per second) for one hour is about 2.25 GB.
  3. Check live or on demand. A live playlist keeps growing. An on-demand playlist has a fixed length.
  4. Check encryption. If the stream uses AES-128, SAMPLE-AES or DRM, m3u8.cloud won't save it.
  5. Read the warnings. Most are harmless for saving a video, but they explain many playback problems.

For the full meaning of any tag, see the HLS tag reference.

Links and pasted text

The inspector loads the playlist from your browser, so it needs direct access to it. The stream's server has to allow other websites to read it, a permission called CORS (cross-origin resource sharing). If it doesn't, or if the link has expired, the inspector can't load the link.

In that case, paste the playlist text instead. Open the .m3u8 link in a new browser tab; some browsers show the text and others download the file, which you can open in a text editor. With pasted text, the inspector can only read what you pasted. A master playlist's qualities are separate files, so paste one of those to see its pieces.

If you don't have the link yet, the guide to finding the m3u8 link shows how. To watch the stream, use the m3u8 player. To save it as a video file, paste the link on the home page.

Questions

What is the difference between a master playlist and a media playlist?

A master playlist lists the qualities of a stream, each with its own link. A media playlist lists the pieces of one quality, with their durations. Players start with the master playlist, pick a quality, then load its media playlist.

Why can't the inspector load my link?

Usually either the stream's server doesn't allow other websites to read it (CORS), or the link has expired. Paste the playlist text instead, or get a fresh link from the page you watch the video on. See fixing 403 errors.

Can the inspector tell me whether m3u8.cloud can save a stream?

Partly. If it shows AES-128, SAMPLE-AES or DRM, m3u8.cloud won't save the stream. Whether the server allows direct downloads shows up when you paste the link on the home page.

Is the playlist uploaded anywhere?

No. The inspector reads the playlist in your browser. Text you paste stays on your device.