HLS to MP4 converter

M3U8 to MP4 Converter

M3U8 to MP4 conversion downloads the HLS video segments behind an .m3u8 playlist and remuxes them into a single MP4 file. This converter runs entirely in your browser with FFmpeg WebAssembly — no upload, no software, and optional start/end trimming.

智能 CORS 代理

遇到跨域失败时可通过 Cloudflare Worker 代理 manifest、key 和切片。

Video preview

链接健康度体检

解析全部分辨率轨道、统计码率与分片时长,并抽样检测分片死链。死链检测受浏览器跨域限制, 建议先开启 CORS 代理以获得准确结果。

How to use the m3u8 to mp4 converter

  1. 1

    Paste the M3U8 URL

    Paste a valid .m3u8 link into the input and press Play to confirm the stream loads.

  2. 2

    Set an optional time range

    Enter a start and end time if you only want to export a clip instead of the full stream.

  3. 3

    Click Download MP4

    The browser fetches the HLS segments, remuxes them into MP4 with FFmpeg, and saves the file locally.

Fast remux, not re-encode

MP4 export uses FFmpeg's stream-copy mode (-c copy), so the original H.264/H.265 video and AAC audio are repackaged without re-encoding. That keeps conversion fast and lossless. Because copy mode cuts on keyframes, a custom start time may snap to the nearest keyframe a second or two away.

Encrypted and protected streams

AES-128 encrypted HLS is supported — the converter fetches the key referenced by #EXT-X-KEY and decrypts during the FFmpeg step. For streams behind hotlink protection, enable the CORS proxy and set a custom Referer so the origin serves the segments.

Frequently asked questions

Is the M3U8 to MP4 converter free?

Yes. It is completely free with no ads, no sign-up, and no watermark, and runs entirely in your browser.

Is my video uploaded to a server?

No. The browser fetches the HLS segments directly and FFmpeg WebAssembly remuxes them on your device. Nothing is uploaded.

Why is my start time slightly off in the MP4?

MP4 export uses fast stream-copy, which can only cut on keyframes. The start may snap to the nearest keyframe a second or two before your exact time.

Can it convert an encrypted (AES-128) M3U8 to MP4?

Yes. The converter fetches the encryption key from the manifest and decrypts the segments during conversion.