M3U playlist checker

Paste an M3U playlist or open a .m3u or .m3u8 file, and get a report on what is wrong with it and what is in it. Your playlist never leaves this device.

Check your playlist

Your playlist never leaves this device. It is read and checked inside this browser tab. Nothing is uploaded, no request is made to the addresses in it, and this page runs no session recording.

The report holds counts and line numbers only. Stream addresses, host names, user names, passwords and tokens are never shown, so the copied report is safe to paste into a support request. A playlist from a URL cannot be opened here: browsers block most requests to playlist servers from another site, so save the file first or paste the text.

What this does

What does the M3U checker do?

This M3U checker reads a playlist you already have, as pasted text or a local file, and reports on its structure: the #EXTM3U header, entries with a missing address, malformed #EXTINF lines, duplicates, groups, guide ids, logos, catch-up attributes, stream types, encoding and line endings. It runs entirely in your browser and never contacts your streams.

The format

What a valid M3U playlist looks like

An M3U file is plain text. Three kinds of line matter.

  • The header. The first line is #EXTM3U. It can also carry the address of a programme guide in url-tvg or x-tvg-url.
  • The description line. Each entry starts with #EXTINF:, a duration (-1 for live channels), optional attributes in quotes, a comma, and the name shown in the channel list.
  • The address line. The next line that does not start with # is the address of the stream.
#EXTM3U url-tvg="http://example.com/guide.xml"
#EXTINF:-1 tvg-id="news.example" tvg-logo="http://example.com/news.png" group-title="News",News Channel
http://example.com/stream/1.m3u8
#EXTINF:-1 tvg-id="films.example" group-title="Films",Film Channel
http://example.com/stream/2.ts

A file with the extension .m3u8 is the same format saved as UTF-8. The attributes are optional, but they decide how well a player can present the list: tvg-id links a channel to its row in the guide, tvg-logo gives it a logo and group-title sorts it into a group.

To open a playlist on a PC, see M3U player for Windows. To choose a player, see the best M3U players compared. If your provider gave you a host, a user name and a password and no file, that is an Xtream Codes login: M3U vs Xtream Codes explains the difference.

The report

What the report covers

Each line is marked OK, Info, Warning or Problem, in words as well as colour.

CheckWhy it matters
#EXTM3U headerMany players reject a playlist whose first line is not the header.
#EXTINF without an address, and malformed #EXTINF linesThese entries are skipped or shown without a name. The report gives the line numbers.
Duplicate addresses and duplicate namesRepeated entries make a long list longer and split favourites and history.
Groups with countsShows how the list will be divided in a player.
Share of entries with tvg-id, tvg-logo and tvg-nameA low tvg-id share means the guide has to be matched by channel name.
Guide address in the headerShown as present or not present. The address itself is not displayed.
Catch-up attributesTells you whether the playlist declares catch-up for any channel.
Stream types by address shapeCounts of HLS (.m3u8), MPEG-TS (.ts) and other endings. This is read from the text of the address only.
Encoding, byte order mark and garbled charactersA file that is not UTF-8 shows broken accented letters in channel names.
Windows and Unix line endings, very long linesMixed endings and oversized lines are a common result of editing a playlist by hand.
Schemes other than http and httpsAddresses such as rtmp or udp do not play in every player.

The checker does not test whether a stream is online. It reads the file and nothing else. For the guide side, the XMLTV guide checker does the same job for an EPG file, and it can compare the tvg-id list from this report with the channel ids in your guide.

FAQ

Frequently asked questions

Is my playlist uploaded anywhere?

No. The checker reads the text inside your browser and builds the report on your device. The playlist is not sent to Nightmare TV or to anyone else, and this page runs no session recording.

Does it test whether the streams work?

No. It checks the structure of the file, not the streams. It never contacts the addresses in your playlist, so it cannot tell you whether a channel is online.

What makes an M3U playlist valid?

The first line is #EXTM3U. Each entry is an #EXTINF line with a duration, optional attributes and a name after a comma, followed by a line with the stream address. The file should be saved as UTF-8.

Why does the report hide stream addresses?

Playlist addresses often contain a user name, a password or a token. The report shows counts and line numbers only, so you can paste it into a forum post or a support email without giving your login away.

How large a playlist can it check?

The playlist is parsed in a background worker, so the page stays responsive. A playlist with 50,000 entries is checked in a few seconds on a typical computer. The practical limit is the memory of your browser.

What are tvg-id, tvg-logo and group-title?

They are optional attributes on the #EXTINF line. tvg-id links a channel to a programme guide, tvg-logo points to a channel logo and group-title sorts channels into groups. The report shows what share of your entries carry each one.

Can it open a playlist from a URL?

No. Browsers block most requests to playlist servers from another website, so a URL field would fail for most people. Save the playlist as a file and open it here, or paste the text.

Nightmare by name. A dream by nature.

A player for the playlist you just checked

Nightmare TV is an IPTV player for your own M3U or Xtream Codes playlist on Windows, Mac, Android, Android TV and Fire TV.

7 days, every feature, no card. Nightmare TV is a player: it provides no channels, streams or playlists.