M3U8 Lab

m3u8 to MP4

Turn an m3u8 playlist or a folder of .ts segments into one MP4 without re-encoding. The remux runs in your browser and nothing is uploaded.

Segments
-
Input
-
State
idle

Nothing is uploaded. The stream is opened directly from your browser, and the address you paste is never sent to our server.

Instant playback

Live and VOD HLS streams open right in the tab.

Browser-local privacy

No upload, no proxy server, no account needed.

Live telemetry

Inspect resolution, buffer health, bitrate and segments.

Diagram of HLS playlist segments streaming from a server into a browser video player

Built for real HLS & m3u8 streams

  • Adaptive bitrate & live windows

    Switches cleanly across master playlist renditions via hls.js or native Safari HLS.

  • Clear diagnostics when links fail

    Separates CORS blocks, expired segments, encryption tags and unsupported codecs.

  • End-to-end playlist toolkit

    Move seamlessly from playback to playlist inspection, editing or lossless MP4 remuxing.

Private by architecture, local by default

  • Zero server uploads

    Playlist URLs, local .ts chunks and MP4 files stay inside your browser memory.

  • Fast lossless remuxing

    Re-wraps H.264 and AAC tracks directly without slow server queues or re-encoding.

  • No install, no sign-up

    Works across desktop and mobile browsers whenever you need to test or verify a stream.

Illustration of browser-local video playback protected by a privacy shield with zero uploads

Three-step workflow

  1. 1

    Paste a link or drop files

    Use an .m3u8 URL, a direct .mp4 address, or local .ts segments from your device.

  2. 2

    Play or inspect telemetry

    Check resolution, buffer seconds, bitrate switching, or list every segment and tag.

  3. 3

    Remux or export cleanly

    Join segments into a playable MP4 or clean and export your .m3u8 playlist locally.

Three-step visual workflow from playlist link to browser player to finished MP4 video

What this tool does

It takes a playlist that points at MPEG-TS segments — the .m3u8 you were given, or the .ts files already sitting in a folder — and writes one MP4 you can keep, move and open in any player.

The work happens in your browser. There is no upload, no queue, no account and no server-side copy of anything you load.

Remux, not re-encode

This is the part that decides how long it takes and what quality you get.

A stream delivered as HLS is usually H.264 video and AAC audio, split into two-to-ten second pieces and wrapped in an MPEG-TS shell. An MP4 file holds the same two tracks inside a different shell. Re-wrapping them — remuxing — means reading the packet headers, writing a new index, and copying the media bytes untouched.

Nothing is decoded and nothing is compressed a second time. A one-hour recording finishes in seconds because the browser is copying bytes, not recomputing pictures. The output is bit-for-bit the quality of the source, which is more than a re-encoder could promise at any speed.

The cost is that the container cannot be changed. If the source is HEVC, or its audio is AC-3 or E-AC-3, there is no legal way to carry those tracks into a standard MP4 without re-encoding — so this tool does not pretend to. Sources like that either stop or come out silent, and that is a property of the format, not a bug we can fix later.

Two ways to load material

From a playlist address

Paste a .m3u8 address and press Load. The tool reads the playlist, follows a master playlist down to its first variant, counts the segments and lists them. It also checks for an EXT-X-KEY tag before anything else, because an encrypted playlist cannot be handled here.

This route depends on the source server. Many hosts send no cross-origin header, which means the browser will play their stream but will not let a page read the same files. When that happens the tool says so in plain words instead of showing a progress bar that never moves.

From files you already have

Pick one or more .ts files and they are queued in filename order, so segment-1, segment-2, segment-10 line up correctly rather than alphabetically. This route has no cross-origin problem at all: the bytes are already on your machine.

What to expect when it stops

Five outcomes cover almost every failure, and each one is reported as itself rather than as a generic error:

  • Cross-origin refusal. The source will not let a page read its files. Nothing on our side can change that.
  • Encrypted playlist. An EXT-X-KEY tag was present. The tool does not request keys or decrypt.
  • Memory ceiling. Input passed roughly 400 MB on a desktop browser, or far less on a phone.
  • Unsupported codec. HEVC video or AC-3 audio, which cannot be carried into MP4 without re-encoding.
  • Not a playlist. The address returned HTML, a redirect page or an empty body.

What this tool will not do

It does not decrypt anything, it does not bypass a paywall, a login or a geographic restriction, and it does not crawl a site to find playlists you have not opened. It processes a playlist you give it and the files you select — nothing else.

That limit is deliberate. A tool that only re-wraps what you already have access to stays a tool; one that fetches and unlocks what you do not is a different kind of site entirely. See the notice procedure for how rights holders reach us.

When this is the wrong tool

If the link plays but nothing appears, you want the player, not a converter — the problem is playback, and converting will not fix it. If you only want to look at what is inside a playlist before committing to a download, load it in the player first: the segment count and duration are shown there, and you can decide afterwards whether the file is worth building.

Every tool on this site follows the same rule: it runs on your device, it uploads nothing, and it refuses to handle protected streams. The full list shows what exists and what is next.

Questions

Is the output re-encoded or just re-wrapped?

Re-wrapped. The H.264 video and AAC audio tracks are copied into an MP4 container exactly as they arrived — no decoding, no second compression pass. That is why a one-hour stream finishes in seconds and why the output has the same quality as the source. The trade-off is that the format cannot change: HEVC, AC-3 and E-AC-3 audio cannot be carried this way, and those sources either fail or come out silent.

Why does it say the source refused the page?

That is the source server's cross-origin policy. A player can open the playlist because the browser treats it as a media request, but browser JavaScript is not allowed to read the same bytes. Nothing on our side can lift that restriction, so the tool stops and tells you instead of hanging. Saving the segments locally and using the file picker is the workaround.

Does it work with encrypted playlists?

No. If the playlist carries an EXT-X-KEY tag the tool stops at once and says so. It does not request keys, does not decrypt segments and does not touch DRM.

Where is my file stored?

Nowhere. The segments are read by your browser, remuxed in memory and handed straight to your download folder. There is no upload step and no copy on our servers; close the tab and the working memory is gone.

How large a file can it handle?

About 400 MB of input in a desktop browser. Beyond that a tab starts to run out of memory and the build stops with a message rather than a frozen page. Phones handle noticeably less, roughly 100 to 150 MB, so longer material is better done on a computer.

Which player opens the result?

VLC, Chrome, Firefox and QuickTime all do. The container is fragmented MP4, which some older editors refuse; remuxing it once in a desktop tool fixes that. Duration metadata sometimes reports as unknown until the file has been played through once.

Ready to test your stream?

Paste an .m3u8 link or drop local segments directly in your browser.