How to Test an M3U8 HLS Stream in Your Browser: Variants, Segments and CORS
Paste an .m3u8 link, read its variants and segments, find the spec errors that make players stall, check CORS and play the stream with hls.js.

When a video stream refuses to start, the error on screen is rarely helpful. "Playback failed" could mean the address is wrong, the server blocks other websites, the encoder wrote broken playlists, or the viewer's phone cannot decode the codec. HLS streams keep most of the answers in plain text files, and reading those files is the quickest way to find out which problem you have. The M3U8 HLS Stream Player and Tester reads them for you and then plays the stream so you can watch the player's behaviour as well.
What an HLS stream is made of
An HLS address usually ends in .m3u8 and points to a master playlist. That file lists variants: the same video at several bitrates and sizes, each with a line giving its bandwidth, resolution and codecs. Each variant is itself a playlist that lists short media segments, often six seconds long, plus a target duration that tells the player how long a segment may be. Live streams keep adding segments to the end and dropping old ones; on-demand streams end with an ENDLIST tag. Audio tracks in other languages and subtitles are separate renditions referenced by group names.
Because all of this is text, small mistakes are common. A missing CODECS value means a phone may pick a variant it cannot decode. A segment that runs longer than the target duration upsets the player's buffer plan. An audio group named in a variant but never defined leaves the player without sound.
Running a test
Paste the full https address into the box and press Test stream. The tool downloads the master playlist from your browser and shows a table of variants with bitrate, average bitrate, resolution, frame rate and the codecs written out in words. It then fetches up to eight variant playlists, starting with the lowest bitrate, and summarises each: target duration, segment count, length or live window, the longest segment and any encryption method.
The checks list follows. Errors are things the HLS specification forbids, such as a segment that is longer than the target duration after rounding, or a missing target duration line. Warnings are things that usually cause trouble, such as missing resolution on a video variant or a very long target duration. Information lines tell you whether the stream is live or on demand, and whether there is only one variant, which leaves viewers on poor connections with nothing lower to switch to.
Finally the tool downloads the first segment and times it. That number is one sample from your own connection, so treat it as a sanity check rather than a benchmark. If a 400 KB segment takes eight seconds, though, something is clearly wrong with the origin or the CDN region.
Playing the stream
Press Play and the page loads hls.js, a widely used open-source player, from a pinned address on jsDelivr. The stream starts in the built-in video player. A quality menu lets you lock a variant or leave it on automatic switching, and a small panel shows the level being played, the bandwidth estimate, how many seconds are buffered ahead and how many frames were dropped. The log records every level switch and every error with its type and detail, which is exactly what you need when a stream plays for twenty seconds and then dies.
CORS: the most common surprise
A web page can only read a stream if the stream's server sends an Access-Control-Allow-Origin header that allows it. Many commercial streams allow only their own website, so they play there and fail everywhere else. The tester tells you when that is the likely cause rather than pretending the stream is broken. It does not use a proxy and does not change headers, so it cannot work around the rule, and it does not handle DRM systems such as Widevine or FairPlay. That keeps it honest and keeps it suitable for its real job: checking streams you run or are allowed to watch.
If the download is blocked but you can get the playlist text another way, for example from your encoder's output folder, paste it into the box at the bottom. The same checks run on the pasted text without any network access.
Saving what you found
The report can be saved as plain text for a ticket or an email, or as JSON if you want to compare runs with a script. Saved links stay in your browser, so a list of test streams for your platform is always one tap away. Nothing about the streams you test is sent to shobfree.com.



