Trim HLS (m3u8) to MP4

Paste an .m3u8 URL or drop a local playlist, set a start/end time, and download the clipped section as MP4. Fully client-side.

Frequently asked questions

Is the trim frame-accurate?

Yes — Mediabunny seeks to the keyframe just before start, decodes forward, and writes a precisely cut MP4.

Do I need to download the whole HLS stream first?

No. We only fetch segments overlapping the range you set, thanks to lazy loading.

What about live HLS?

Live VOD playlists work for the recorded portion. Use the HLS Live Recorder for live archiving.

How long can the source be?

Output writes to OPFS, so files larger than RAM still work. CPU-bound on long sources.

Are subtitles preserved?

Currently subtitle tracks are not muxed into the output.

Which browsers are supported?

Chrome 105+, Edge 105+, Safari 16.4+, Firefox 130+. WebCodecs is required.