Load your M3U playlist, assign EPG IDs from country sources or a custom list, then export.
Click to choose or drag & drop
.m3u, .m3u8, .txtClick to choose or drag & drop
.txt — one ID per lineHold Ctrl / Cmd to select multiple countries
This URL is embedded in your exported M3U as url-tvg
Only needed when using the dropdown country sources
This tool assigns EPG IDs (tvg-id) to your M3U channels so that your IPTV player can match each channel to the correct TV guide data. Without a tvg-id, the player has no way to know which schedule belongs to which channel — even if your playlist has an EPG URL set. This page lets you auto-match, manually assign, and export a corrected M3U file.
1. Load files
Upload your M3U or M3U8 playlist file — this is the file whose channels you want to assign EPG IDs to. Then, optionally, provide a list of EPG IDs to match against. You have two ways to do this:
If you skip the custom ID file/paste entirely, that's fine — you can use the country sources in Step 2 instead. The Strip all existing tvg-ids button (visible after loading) removes every existing tvg-id from all channels so you can start fresh with clean assignments.
2. Select country EPG source IDs
Instead of (or in addition to) a custom ID file, you can pull EPG IDs directly from pre-built country sources. Select one or more countries or providers from the list — hold Ctrl / Cmd to select multiple — then click Load selected country IDs. This fetches all known EPG IDs for those regions and makes them available for matching.
3. Process & assign
Click Process M3U file to parse your playlist and display all channels. Then click Auto-assign EPG IDs to let the tool attempt fuzzy-matching each channel name against the loaded ID list. After auto-assign runs:
4. Export
Set a filename (no need to add .m3u) and click Generate M3U to build the output. The preview area shows the raw playlist text. Use Download to save it as a file, or Copy to copy it to your clipboard. The exported file preserves all your original channel data and replaces only the tvg-id values with your new assignments.