[M3U Validator](https://codoplayer.com/tools/validator)

# Free M3U Playlist Validator

Reads every line of an M3U / M3U8 playlist the way TV apps do, explains each problem in plain words with its line numbers, and writes a clean, standard file for you.

## How it works

1. Paste the playlist link, use an Xtream login, or choose the file.
2. Every line is checked: header, #EXTINF, quotes, links, duplicates, guide IDs.
3. Read what’s wrong and where, then download the fixed playlist.

## What the results mean

Each problem is listed with the line number in your original file. Errors can stop a player from opening the file, warnings make some channels misbehave (no name, no guide), and notes are harmless on most players. The fixed file keeps your channels, groups, logos and guide IDs.

## Common problems

Typical findings are a missing #EXTM3U header, an #EXTINF line with unquoted attributes, an entry without a link, duplicate entries and channels without a tvg-id. A playlist that opens here but shows no programme guide usually needs the EPG Matcher next. Names with wrong letters mean the file was saved in an older encoding: when you choose the file, pick its text encoding and the browser converts it to UTF-8 before sending it.

Step-by-step guide: [IPTV playlist will not load: how to find the cause](https://codoplayer.com/guides/playlist-will-not-load).

## Example input

A small M3U file, with placeholder values (replace USER, PASS and example.tv with your own):

```
#EXTM3U
#EXTINF:-1 tvg-id="news.example" tvg-logo="http://example.tv/logo.png" group-title="News",Example News
http://example.tv:8080/live/USER/PASS/101.m3u8
```

**You get:** Each problem with its line number, and a corrected file when the problems can be fixed safely.

## Example result

Produced by this tool's own code from a small invented example. The tool's own count of channels and its list of problems with line numbers.

**Example input** (invented, example.com addresses):

```
#EXTM3U x-tvg-url="http://example.com/guide.xml"
#EXTINF:-1 tvg-id="news.one" tvg-logo="http://example.com/logos/news-one.png" group-title="News",UK: News One HD
http://example.com/live/user/pass/1001.m3u8
#EXTINF:-1 tvg-id="Sports.Two" group-title="Sports",Sports Two [FHD]
http://example.com/live/user/pass/1002.m3u8
#EXTINF:-1 group-title="Kids",Kids Three
http://example.com/live/user/pass/1003.m3u8
#EXTINF:-1 group-title="News",News One
http://example.com/live/user/pass/1001.m3u8
#EXTINF:-1 tvg-id="film.nine" group-title="Movies",Example Film (2020)
http://example.com/movie/user/pass/2001.mp4
#EXTINF:-1 group-title="Music",Music Four
http://example.com/live/user/pass/1004.m3u8
#EXTINF:-1 group-title="Music",
not-a-link
```

**Result**

```
Entries: 7 (live 6, films 1, series 0)
Groups: News, Sports, Kids, Movies, Music
Problems found: 5
  [error] A stream link that isn’t a valid address (spaces, or no http://) - 1x, first at line 15
  [warn] A live channel with no tvg-id, so the TV guide can’t find it - 4x, first at line 6
  [warn] The same stream link more than once - 1x, first at line 8
  [warn] A channel with no name - 1x, first at line 14
  [info] A live channel with no logo (tvg-logo) - 5x, first at line 4
```

## Messages this tool can show

| Message | What it means | What to do |
| --- | --- | --- |
| Paste the playlist link. | The playlist field was empty. | Paste the link, or choose an Xtream login or a file. |
| The link must start with http:// or https:// | The address is not a web link. | Copy the whole link from your provider, including the first part. |
| That server address isn’t right — it looks like http://example.tv:8080 | The Xtream server address could not be read. | Type the address with its port, as your provider gave it. |
| The provider says this username or password is wrong, or the line has been cancelled. | The provider refused the login. | Check the details with your provider; the line may have expired. |
| That server didn’t answer like an Xtream panel — check the server address (and its port) with your provider. | The address answered, but not as an Xtream server. | Ask your provider for the right address and port. |
| This provider has been refusing our server, so we’re giving it a break — try again in N minutes. | The provider keeps refusing requests, so the tool stops asking for a while. | Wait, and do not keep retrying. The provider may block some networks. |
| That file isn’t a playlist we can read. | The file is not M3U, M3U8, Enigma2, Neutrino WebTV, XSPF, PLS or WPL. | Check that you chose the playlist file. |
| This playlist has more than the most entries our tools read. | The playlist is too large for the tools. | Use a smaller list, for example live channels only. |
| This playlist is no longer loaded on our server (we keep a loaded playlist for 4 hours) — load it again. | The loaded copy has expired. | Load the playlist again. |

## Questions about the M3U Validator

### What does “fixed” change?

It writes a standard file: an #EXTM3U header, one #EXTINF line per entry with its attributes properly quoted, tidy names, and no entries without a valid link. Your channels, groups, logos and guide IDs stay as they are.

### What are the line numbers?

The lines in your original file, so you can find them in a text editor.

### Is a warning a problem?

Errors stop some players from opening the file. Warnings make some channels misbehave (no name, no guide). Notes are harmless on most players.

## More playlist tools

- [Playlist Checker](https://codoplayer.com/tools/checker): Is your line working? Account, expiry, channel counts and which channels answer.
- [M3U8 Player and HLS Inspector](https://codoplayer.com/tools/m3u8-player): Read an HLS manifest and play one .m3u8 stream, in your browser.
- [Playlist Cleaner](https://codoplayer.com/tools/cleaner): Remove duplicates and tidy names: country prefixes, HD tags, symbols, ALL CAPS.
- [Playlist Compare](https://codoplayer.com/tools/playlist-compare): Compare two M3U files: same, renamed, moved, added and removed channels.
- [EPG Matcher](https://codoplayer.com/tools/epg-matcher): Match your channels to the TV guide and fix wrong or missing tvg-id.
- [Stream Tester](https://codoplayer.com/tools/stream-test): Speed, codec, resolution and buffering risk of one channel or video.

### Related

- [IPTV invalid stream URL or address](https://codoplayer.com/errors/invalid)
- [IPTV guide shows "No information": fix tvg-id mismatches](https://codoplayer.com/guides/epg-no-information)

Source: https://codoplayer.com/tools/validator
