Skip to content
IPTV Subscription 8K - 8K TV Subscription

Logins and portals

Turn an Xtream Codes login into an M3U link

Some apps and devices only accept an M3U link, but your provider gave you a server, username and password. On most servers that use the Xtream Codes format, you can build the playlist link from those three details in a minute. Here’s how, and how to check it works.

Updated · 2 min read

Also available in Dansk · Norsk · Svenska

What you need

From your provider’s welcome message or app settings:

  • Server address, for example http://example-server.tv:8080 (with the port, if there is one),
  • Username,
  • Password.

On servers that follow the Xtream Codes format, the playlist address is the server followed by /get.php and your details (apps that use the login directly talk to the Xtream Codes API instead):

http://example-server.tv:8080/get.php?username=YOURNAME&password=YOURPASS&type=m3u_plus&output=ts

Replace:

  • http://example-server.tv:8080 with your server address, exactly as given, including http or https and the port,
  • YOURNAME and YOURPASS with your username and password, keeping capital letters as they are.

Keep type=m3u_plus so the list includes channel groups, logos and TV guide IDs. Choose the output:

  • output=ts for MPEG-TS streams,
  • output=m3u8 for HLS streams.

If channels buffer or won’t start with one output, try the other. Our M3U URL guide explains each option.

If your username or password contains special characters such as &, # or +, they may need encoding before they work in a link. Ask your provider for the link directly if the result doesn’t load.

Build the TV guide address

The matching guide address usually follows the same pattern with xmltv.php:

http://example-server.tv:8080/xmltv.php?username=YOURNAME&password=YOURPASS

Add it in your app wherever it asks for an EPG, XMLTV or TV guide URL. Our guide to EPG URLs covers where to put it in popular apps.

Check that it works

  1. Open the playlist link in a web browser on a computer or phone.
  2. It should download a file, or show text beginning with #EXTM3U followed by channel lines.
  3. If you see an error or a blank page, check each detail again, or ask your provider whether playlist links are enabled for your account.

Keep it private

The link contains your password in plain text. Anyone with it can use your account, so don’t post it in forums or share screenshots of it. When you ask for help, blank out the username and password.

FAQ

Conversion questions

Does this work with every IPTV provider?

It works with most providers whose servers use the Xtream Codes format, because that format includes a standard playlist address. Some providers disable it, or use a different system. If the link returns an error, ask your provider for the M3U link directly.

Is building the link myself allowed?

You’re only using your own login in a different format. The link gives the same access as the login and uses the same connections. Keep it private, because it contains your password.

Why does the TV guide not load with my new M3U link?

An M3U link carries the channels, not the guide. Add the TV guide address separately in your app, using the xmltv.php address shown on this page.

Start watching on your own screen

Plans from £5.83 a month on the 12-month plan, no contract and no auto-renewal. Test it first with a 24-hour free trial.