Quick answer: an M3U file is a plain-text playlist. Each line points to a media file or a stream, so a player knows what to play and in which order. In IPTV, an M3U playlist (usually a link ending in .m3u or get.php?...&type=m3u) lists every live channel of your subscription, so apps like TiviMate, IPTV Smarters or VLC can load them.
What is an M3U file?
M3U stands for “MP3 URL”. It started as a simple playlist format for music players, then became the standard way to share lists of video streams. An M3U file contains no video: it only contains the addresses of the streams and, optionally, their names, logos and groups.
The M3U file format, line by line
An extended M3U playlist for IPTV looks like this:
#EXTM3U
#EXTINF:-1 tvg-id="news.us" tvg-logo="https://example.com/logo.png" group-title="USA News",Example News HD
http://example-server.com:8080/username/password/12345
#EXTINF:-1 group-title="Sports",Example Sports 4K
http://example-server.com:8080/username/password/12346
- #EXTM3U: the header that says “this is an extended M3U playlist”.
- #EXTINF: the information line for one channel: duration (-1 means live), ID for the TV guide (tvg-id), logo (tvg-logo), category (group-title) and the channel name after the comma.
- The URL line: the address of the stream itself.
M3U vs M3U8: what is the difference?
M3U8 is the same format saved in UTF-8 text encoding, so it handles accents and non-Latin channel names correctly. M3U8 is also the playlist format used by HLS streaming: when you open an .m3u8 file in a browser, you usually see a list of short video segments. For IPTV playlists, both work the same way in almost every player.
M3U playlist vs Xtream Codes login
| M3U playlist | Xtream Codes | |
|---|---|---|
| What you enter | One long link | Username, password, server URL |
| Movies and series | Sometimes mixed into one list | Separate, organized menus |
| TV guide (EPG) | Needs an extra EPG link | Loads automatically |
| Best for | VLC, Smart IPTV, SS IPTV, IBO Player | TiviMate, IPTV Smarters, most modern apps |
If your app supports Xtream Codes, use it. Keep the M3U link for apps that only accept playlists.
How to open an M3U file
- VLC (Windows, Mac, Android, iPhone): Media > Open Network Stream, paste the M3U link. The fastest way to test a playlist.
- TiviMate (Android TV, Firestick): Add playlist > M3U playlist > enter the URL.
- IPTV Smarters Pro: Load your playlist or file/URL.
- Samsung and LG TVs: IBO Player, Smart IPTV or SS IPTV, with the playlist added from the app’s website. See our Samsung and LG guides.
Which app to choose? Read our guide to the best IPTV player for Android.
Common M3U problems and fixes
- The playlist does not load: copy the link again; a missing character breaks it. Some apps need the link to end with
type=m3u_plus. - Channels load but do not play: your subscription may have expired or your account is in use on too many screens.
- No TV guide: add the EPG (XMLTV) link from your provider, or switch to an Xtream Codes login.
- Channel names show strange characters: use the M3U8 (UTF-8) version of the playlist.
Are free M3U playlists safe?
Free M3U lists shared online often stop working within days, can expose your IP address to unknown servers, and may carry channels without the rights to broadcast them. A paid IPTV subscription with a real provider gives you a stable, private link and support when something breaks.
Lexon Stream TV gives every customer an M3U link and an Xtream Codes login. Ask for a free trial or see the plans from $15.
FAQ
What is an M3U file used for?
To store a playlist: a list of audio or video files or stream addresses that a player loads in order. In IPTV it lists the live channels of a subscription.
What is the M3U file format?
A plain-text format. It starts with #EXTM3U, then each entry has an #EXTINF information line and a URL line.
What is M3U8?
The UTF-8 version of M3U, also used by HLS video streaming.
Can I edit an M3U file?
Yes, with any text editor such as Notepad. You can rename channels, remove groups or reorder entries.
Ready to try Lexon Stream TV?
40,000+ live channels, 4K quality and 24/7 support. Plans from $15, save 15% with crypto.