M3U merger: combine and clean playlists

Open two or more M3U playlists to combine them into one file, remove duplicate channels by stream URL or tvg-id, and leave out the groups you never watch. Then download the merged playlist. Free, no sign-up.

Runs entirely in your browser. Your playlists are never uploaded, and stream addresses are not shown.

Add more files at any time; they go to the end of the list.

Remove duplicates

Open two or more playlists to start.

How merging works

An M3U playlist is a text file: an #EXTM3U line, then one entry per channel, film or episode. Each entry is an #EXTINF line with the name and attributes such as tvg-id, tvg-logo and group-title, sometimes option lines like #EXTVLCOPT, and then the stream address. Merging takes the entries of every file in the order you set and writes them one after another under a single header. Nothing inside an entry is rewritten, so options, logos and catch-up attributes survive.

The header matters for the TV guide. Many playlists name their guide in the first line with url-tvg or x-tvg-url. The merged file keeps the first file's header and adds the guide addresses that only the later files name, separated by commas, which is how most players read more than one guide.

Choosing how to remove duplicates

OptionTwo entries are duplicates when…Use it for
Same stream URLthey play the same address (letter case ignored)Two exports of the same list, or a list with repeats
Same tvg-idthey carry the same guide id; entries without one are keptOne stream per channel when several lists or qualities overlap
URL or tvg-ideither of the aboveThe smallest result
Keep everythingneverJoining files without changing what is in them

The first copy always wins, so the order of the files is your priority list. If one provider's streams are more reliable, put that playlist first and its entries are kept when the same channel turns up again later. Group filtering runs before the duplicate check: an entry in a group you leave out never blocks a copy of it in a group you keep.

Leaving out groups

Large playlists often have hundreds of groups: countries, sports packages, film collections. Untick the ones you never watch and they are not written to the merged file. The list counts entries across every file, largest group first, and the search box with "Keep shown" and "Drop shown" handles many at once, such as every group with a country prefix you do not need. Entries with no group-title are listed as "(no group)".

Before and after

  • Run the M3U checker on the merged file to see broken entries and the tvg-id coverage.
  • To rename groups or remove single channels by hand, open the result in the M3U editor.
  • If the guide stops matching after a merge, the EPG mapper suggests tvg-ids from a guide file.
  • For a spreadsheet of what you kept, convert it with M3U to CSV.

A merged file lives on your computer. A player that only takes a playlist link needs the file hosted somewhere you control. Players that accept several playlists do not need a merge at all: in IPFlix, for example, more than one playlist can be added and managed in Settings.

Questions

Are my playlists uploaded?
No. The files are read and combined by JavaScript in your browser, and the merged file is made on your computer. Nothing from them is sent to IPFlix or anyone else.
Which copy of a duplicate is kept?
The first one, in the order of the list. Put the playlist you trust most at the top with the arrow buttons, and its entries win over the same channels in later files.
Should I remove duplicates by URL or by tvg-id?
By URL removes entries that play exactly the same stream, which is always safe. By tvg-id also removes different streams of the same channel, for example an HD and an FHD version, keeping only the first. Entries without a tvg-id are never removed by tvg-id.
What happens to the EPG links in the files?
The merged file keeps the first file's #EXTM3U line and adds every guide address (url-tvg or x-tvg-url) that only the other files have, so players can still find each guide.
Will a merged playlist work in my player?
It is a normal M3U file, and every entry keeps its own lines, including #EXTVLCOPT and #KODIPROP options. Players that only accept one link need it hosted somewhere you control; players such as IPFlix also take more than one playlist, which avoids merging.
How big can the playlists be?
Hundreds of thousands of entries in total. Each file is read once, and duplicates are found with a lookup table, so merging takes seconds even for very large lists.

Watch it on your TV

IPFlix Pro Player for Android TV, Google TV and Fire TV plays your provider's M3U link or Xtream login, with a TV Guide grid and playlists of 180,000+ channels.

  1. Install IPFlix on the TV and open Add Playlist.
  2. Scan the QR code on the TV with your phone.
  3. On the phone, paste your provider's M3U link or type the Xtream login.

Free. No ads. Live TV and the TV guide are free. Pro unlocks movies, series, more playlists and profiles. IPFlix does not provide channels or content.