This M3U playlist cleaner and deduplicator removes duplicate stream entries and broken lines with no URL, while preserving channel names, groups, and other #EXTINF metadata attached to each entry. Paste a playlist, clean it, and download the fixed file.
How to use it
Paste the full contents of an .m3u or .m3u8 file, click "Clean playlist", and review the before/after counts. The cleaned playlist appears below, ready to copy or download directly as a new .m3u file.
What gets removed
Entries whose stream URL exactly matches an earlier entry are dropped, keeping only the first occurrence and its metadata. Entries with a metadata line but no URL underneath — common after a bad export or manual edit — are dropped as broken. Everything else, including line order and #EXTINF attributes, is preserved exactly.
Why duplicates and broken entries accumulate
IPTV and media-center playlists are frequently merged from multiple sources or regenerated by scripts, both of which tend to introduce duplicate channel entries and orphaned metadata lines over time. A quick client-side pass keeps the playlist file small and avoids players showing the same channel twice.