What editing a playlist actually involves
An M3U file is a list of entries. Each entry is two parts: an #EXTINF line carrying the duration and a display name, and the line after it carrying the address. They belong together. Delete the address and the #EXTINF line is orphaned; delete the #EXTINF and the entry loses its name, its channel number and whatever attributes were packed into it.
That pairing is the whole reason a plain text editor is the wrong tool for this job. A file with four hundred channels has eight hundred lines, and the two that belong together are rarely adjacent after someone has been dragging things around.
This editor works on entries, not lines. It reads the pairs, shows you one row per entry, and writes the pairs back out when you export.
The four things people actually come to do
Remove entries that no longer work. Paste the list, look down it, tick the dead channels, remove them. What you keep is the rest, in order, with the header lines untouched.
Drop duplicates. Merging two lists usually leaves the same channel twice, sometimes with a different name and the same address. The deduplicate button keeps the first occurrence of each address and reports how many it dropped — by address, because that is the only field two copies reliably share.
Fix the order. One entry selected, one step up or down at a time. Slow by design: keeping the #EXTINF attached while moving is exactly where hand-editing goes wrong.
Strip a list down to addresses. Select everything you do not want and remove it — what remains can be exported as a bare list a player will still accept, since the format tolerates entries without #EXTINF.
What is preserved, and why it matters
The header is copied through verbatim: #EXTM3U, #EXT-X-VERSION, #EXT-X-TARGETDURATION, and any #EXT-X- tag the file carried. Those lines describe the list itself, not a single entry, and losing them can change how a player treats the file — a media playlist without its target duration is a guess.
#EXT-X-ENDLIST is preserved at the end when present. Its absence means "this is live", so quietly dropping it turns a finished recording into something that looks like a broken live stream.
Duplicate detection works on the address as written. Two entries pointing at the same file through different URLs — one absolute, one relative, or differing only in a query string — are not the same string and will both survive. That is a limitation, not an oversight: normalising URLs would mean deciding which of two different addresses is "the same" channel, and getting that wrong deletes something you wanted.
What this editor does not do
It does not check whether the addresses still work. A dead channel stays in the list until you remove it, because testing four hundred URLs would mean four hundred requests from your browser and would turn a local editor into a scanner.
It does not repair a broken file. If the input was missing #EXTM3U, half a list, or a truncated download, the output is the same content tidied up — not a fixed file.
It does not decrypt, does not fetch segments, and does not turn a playlist into video. To see what a list contains — variants, durations, encryption tags — read it with the playlist reader. To play it, use the m3u8 player. To join its segments into one file, the m3u8 to MP4 converter is the tool.
The practical check before you export
Look at the entry count before and after. If you removed five entries and the count dropped by five, the structure was read correctly. If it dropped by ten, an entry's second line was probably being counted as its own entry, which happens with lists that use absolute paths on one line and comments on the next.
Then check the total duration. It is the sum of every #EXTINF value, so a recording that should run an hour and reports four minutes is telling you the list is a sample rather than the whole thing.
Export writes a plain .m3u8 straight from browser memory. Nothing is uploaded, nothing is stored, and the file appears in your downloads folder with today's date in its name.
Rights holders can reach us through the notice procedure.