Skip to content
XCodes IPTV
IPTV Basics & Technology

What Is an M3U URL? How to Use an M3U Link in IPTV Apps

What an M3U URL is, how it differs from an M3U file, how to add an M3U link to VLC, TiviMate and Smart TV apps, and how to keep your playlist link private.

By XCodes IPTV 4K Editorial TeamUpdated 4 min read

An M3U URL (or M3U link) is a web address that returns an M3U playlist when an app opens it. Instead of downloading a playlist file and copying it to each device, you paste the link into your player, and the app fetches the current channel list from the server, including any line-up changes. IPTV services usually give you an M3U URL alongside, or instead of, an Xtream Codes login.

This guide explains what's inside an M3U URL, how it differs from a file, how to add it to common apps, and how to keep it private.

M3U URL vs M3U file

M3U URL (link)M3U file
What it isA web address that returns the playlistA saved .m3u text file
UpdatesAutomatically, each time the app refreshesOnly when you download a new file
How you add itPaste into the app's "M3U URL" fieldOpen or upload the file
Best forEveryday IPTV useOffline testing, editing

Both contain the same format; see what an M3U playlist is.

What an IPTV M3U URL looks like

Many IPTV services generate links in a pattern like this (example values only):

http://example-server.com:8080/get.php?username=jsmith2847&password=Kq7xP2mz&type=m3u_plus&output=ts
PartMeaning
http://example-server.com:8080The server address and port
get.phpThe script that builds the playlist
username=…&password=…Your login, embedded in the link
type=m3u_plusAn extended playlist with logos, groups and guide IDs
output=ts or output=m3u8The stream format: MPEG-TS or HLS

Because the link contains your username and password, you can usually derive your Xtream Codes login from it, and you must treat it like a password. See what Xtream Codes is.

If streams stutter, some players work better with output=m3u8 (HLS) instead of output=ts, or the other way round. See HLS vs MPEG-TS.

VLC (Windows, Mac, Android, iPhone)

Install VLC from videolan.org (opens in a new tab). On a computer, use Media → Open Network Stream (Windows) or File → Open Network (Mac) and paste the link. Full steps for every platform are in how to watch IPTV in VLC.

TiviMate (Android TV, Fire OS)

Select Add playlist → M3U playlist, then enter the URL. If your service also provides Xtream Codes details, choose those instead for better film and series menus. See how to use TiviMate.

Smart TV apps (Samsung, LG)

Many TV players don't accept typed links on the TV. You add the M3U URL on the developer's website using your TV's MAC address. See how to upload a playlist to Smart IPTV.

Other players

Look for Add playlist → M3U URL or Playlist URL. Our guide to the best M3U player apps compares options by device.

Typing tip: long links are hard to type with a remote. Many apps let you enter the link from a phone, through a QR code or the developer's website. Some services also offer a short link.

How to keep your M3U URL private

  • Don't post it in forums, social media or group chats.
  • Don't share it with friends: anyone with the link can use your connections, and many services suspend shared accounts.
  • Use HTTPS links if your service offers them, so the link isn't sent in plain text.
  • Ask for new credentials if you think your link has leaked.

Common M3U URL problems

ProblemLikely cause
"Failed to load playlist"Typo, expired account, or a missing part of the URL
Loads but no channelsServer error or an empty response; test the link in VLC
No TV guideAdd your service's EPG URL separately; see what EPG is
App freezes while loadingPlaylist too large for the device

See IPTV playlist not loading for step-by-step fixes.

Frequently asked questions

What is an M3U URL in IPTV?

It's a web link that returns your channel playlist in M3U format. You paste it into a player app instead of loading a file.

Where do I find my M3U URL?

In your IPTV service's activation email or account area. Never use M3U links shared publicly online: they're typically unlicensed and often stop working.

Can I open an M3U URL in a browser?

A browser will usually download the playlist as a text file rather than play it. Use a media player such as VLC to play it.

Not quite. An IPTV M3U URL returns a channel list. An M3U8 link usually points to a single HLS stream. See what an M3U8 file is.

Conclusion

An M3U URL is the easiest way to load an IPTV playlist: paste it once and it stays up to date. Use Xtream Codes when your app supports it, keep the link private, and only use links from a service that's licensed in your country. For the wider picture, see IPTV technology explained.

Need a hand with setup?

Tell us your device and app — we'll walk you through it.