M3U8 Tools
Basics

What Is an M3U8 File?

An M3U8 file is a text playlist that tells a player where the pieces of a video live. It is not the video itself - which explains why it opens as text, why it is so small, and why your browser sometimes refuses to play it.

In detail

An .m3u8 file is a text file. That is the whole answer, and it explains almost every confusing thing about it: it is not a video, it is not a download, and it is not broken when your browser shows you a wall of lines instead of a picture.

What is inside an M3U8 file

Open one in any text editor and you see something like this:

#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:10
#EXTINF:9.98,
segment-0001.ts
#EXTINF:9.98,
segment-0002.ts

#EXTM3U marks the file as an extended M3U playlist. #EXT-X- lines are directives for the player. #EXTINF gives the duration of the segment on the next line. The segment itself is a normal HTTP address, either relative or absolute.

That is why the file is tiny (a few kilobytes) while the video is hundreds of megabytes: it is an index, not the content.

Where M3U8 files come from

The format belongs to HLS, HTTP Live Streaming, which Apple designed so a video can be delivered from ordinary web servers and CDNs. It became the default for live streams, IPTV, course platforms, some social video pipelines and most smart-TV apps. When a site plays a long video and you see the quality switch as bandwidth changes, that is HLS reading a master playlist and choosing a variant.

The three kinds of M3U8 you will meet

What you have How to recognise it What to do
Media playlist #EXTINF lines followed by .ts or .m4s Convert, download or play it directly
Master playlist #EXT-X-STREAM-INF with BANDWIDTH and a second playlist address Pick a variant, then handle that playlist
IPTV subscription list #EXTINF lines with channel names and logos Not a stream - open one channel address instead

Why browsers do not just play it

Safari does, natively, on macOS and iOS. Chrome, Firefox and Edge have no built-in HLS support because they pushed a different technology (MPEG-DASH and later fragmented MP4 over MSE). So an .m3u8 link in Chrome either downloads the text file or shows it as source, which is exactly what confuses most people the first time.

The fix is a JavaScript player that reads the playlist and feeds segments into a normal <video> element - that is what the M3U8 player on this site does.

M3U8 or MP4?

An MP4 is the finished file: one container, indexed, seekable, easy to copy. An M3U8 is a delivery instruction for a stream that may not even be finished yet. Converting one into the other means collecting the segments and repacking them, not re-encoding the picture - which is why the conversion is fast and lossless, and why our M3U8 to MP4 converter can do it inside your browser.

When it goes wrong

The failures are almost always about access, not format:

  • The address expires. Signed URLs are common; a link copied ten minutes ago may already be dead.
  • The server checks the referer or a cookie. Some hosts only answer requests that come from their own page.
  • The segments are encrypted. AES-128 needs a key that only the authorised player receives.
  • The stream uses DRM. FairPlay, Widevine and PlayReady exist precisely to stop copying.

Understanding that list saves a lot of time: if a link fails here, it will fail in every browser-based tool.

Do it now

Try it with your own link

Everything below runs in your browser — the stream link is never sent to us.

FAQ

Questions people ask

Is an M3U8 file a virus or a broken download?

No. It is a plain text playlist a few kilobytes in size. If it arrived as a download instead of playing, your browser simply has no HLS player attached.

Can I convert an M3U8 file to MP4?

Yes. Collect the segments the playlist points to, merge them in order and repackage them into an MP4 container. Because nothing is re-encoded, quality is unchanged. Our converter does this in the browser.

Why does the same link play on my phone but not on my laptop?

iPhone and iPad Safari support HLS natively. Desktop Chrome and Firefox do not, so they need a JavaScript player - and that player still has to be allowed to read the segments.

What is the difference between M3U and M3U8?

M3U is the older plain-text playlist, typically for local audio files. M3U8 is the same idea saved as UTF-8 so it can hold non-English channel names, and it is the version HLS streaming uses.

Where do I find the M3U8 address of a video?

In the site's network requests while the video plays, or in the IPTV portal behind a channel. If the site hides it behind a token, the address will not work outside that site even once you have it.

Questions from other users

Got a stream that refuses to convert? Post the error message here — it usually tells us what the host is blocking.

0