Updated March 2026

IPTV M3U & Xtream Codes

M3U playlists and Xtream Codes are the two methods IPTV apps use to connect to your subscription. M3U is a single URL containing your channel list. Xtream Codes is an API login with three fields. This guide explains both formats, when to use each, and how to troubleshoot connection issues.

DM
Daniel MitchellHead of Testing
Published June 1, 2025·Updated March 15, 2026

Key Takeaways

  • Xtream Codes (server URL + username + password) is recommended for most users — it enables EPG, catch-up, and favorites.
  • M3U (single URL) is best for simple players like VLC or devices that only accept a URL input.
  • Both methods are included with every subscription and connect to the same channel lineup.

What Is an M3U Playlist?

M3U (Moving Picture Experts Group Audio Layer 3 Uniform Resource Locator) is a plain-text file format originally designed for audio playlists. In the IPTV context, an M3U file contains a list of URLs, each pointing to a live TV stream. When you paste an M3U URL into an IPTV app, the app downloads this file, reads the channel list, and connects to each stream URL as you browse.

The M3U format is the universal standard — virtually every media player in existence can read M3U files, from VLC on a desktop to basic IPTV apps on Smart TVs. This universality is its greatest strength.

However, M3U is a simple format. It contains stream URLs and basic metadata (channel name, group) but does not natively support Electronic Program Guide (EPG) data, catch-up replay, or user favorites. These features require either a separate EPG URL or an API-based connection like Xtream Codes.

M3U Strengths

  • Works on any player that accepts URLs
  • Simple one-step setup — paste and play
  • Compatible with VLC, GSE, IPTV Pro, Kodi
  • Works on MAG boxes and Enigma2 receivers

M3U Limitations

  • No built-in EPG support (requires separate URL)
  • No catch-up or replay functionality
  • Slower to load large channel lists (20,000+)
  • URLs may need periodic refreshing

What Are Xtream Codes?

Xtream Codes is an API-based login system used by modern IPTV apps. Instead of a single URL, you enter three separate fields — Server URL, Username, and Password. The app then communicates with the IPTV server via API calls, enabling a full-featured experience with EPG data, catch-up replay, favorites management, and organized category browsing.

Server URL

The portal address provided by your IPTV service. Typically formatted as http://server.example.com:port

Also called: Portal URL, DNS, Host

Username

Your unique login identifier, generated upon subscription activation and sent to your email.

Also called: User, Login, ID

Password

Your secure password, delivered via email alongside your username. Case-sensitive.

Also called: Pass, Key, PIN

Why Xtream Codes Is Recommended

Xtream Codes communicates with the IPTV server bidirectionally. This allows the app to request channel categories, EPG data, catch-up archives, and VOD content dynamically. The result is a richer, cable-like experience with an interactive program guide, the ability to rewind 7 days of programming, and favorites that persist across sessions.

M3U vs Xtream Codes Comparison

FeatureXtream CodesM3U
EPG Program GuideFull 7-day EPGRequires separate URL
Catch-Up ReplayBuilt-in (7 days)Not supported
Favorites/BookmarksSynced across sessionsApp-dependent
Category BrowsingAuto-organized by genreFlat list or basic groups
VOD Library AccessFull VOD with searchLimited or none
Channel Loading SpeedFast (API requests)Slower (downloads full list)
Setup Difficulty3 fields to fill1 URL to paste
Best AppsTiviMate, Smarters, IBOVLC, GSE, most basic players
Credential PersistencePermanent until expiryURLs may change

How to Get Your Credentials

1

Subscribe to a Plan

Visit the IPTV USA Canada pricing page and choose Silver, Gold, or Diamond. Complete checkout using credit card or PayPal.

2

Check Your Email

Within minutes of payment, you receive an email with your Xtream Codes credentials (server URL, username, password) and your M3U playlist URL.

3

Save Your Credentials

Store these credentials securely. You will use them to set up every device. The same credentials work for both Xtream Codes and M3U — they represent the same subscription.

4

Choose Your Method

Use Xtream Codes for TiviMate, IPTV Smarters Pro, or IBO Player. Use M3U for VLC, GSE Smart IPTV, or devices that only accept a URL.

Setup Instructions by App

TiviMate

Method: Xtream Codes

  1. 1. Open TiviMate, tap Add Playlist
  2. 2. Select Xtream Codes
  3. 3. Enter server URL, username, and password
  4. 4. Tap Connect — EPG loads automatically
  5. 5. Customize channel groups in Settings > TV Guide

IPTV Smarters Pro

Method: Xtream Codes API

  1. 1. Open app, tap Load Your Playlist or Login
  2. 2. Select Xtream Codes API
  3. 3. Enter your three credentials from email
  4. 4. Tap Add User to connect
  5. 5. Navigate to Live TV to start watching

VLC Media Player

Method: M3U URL

  1. 1. Open VLC on PC or Mac
  2. 2. Go to Media > Open Network Stream
  3. 3. Paste your M3U playlist URL
  4. 4. Click Play — channels load as a playlist
  5. 5. Use Ctrl+L to open the playlist sidebar

IBO Player

Method: Xtream Codes

  1. 1. Launch IBO Player on your Smart TV
  2. 2. Select Add Playlist > Xtream Codes
  3. 3. Enter credentials from subscription email
  4. 4. Channels and EPG populate automatically
  5. 5. Access the guide via the Guide button on remote

Connection Troubleshooting

Invalid login or authentication failed

Double-check all three Xtream Codes fields for typos, extra spaces, or incorrect capitalization. The password is case-sensitive. Try copying credentials fresh from your email rather than typing manually.

M3U URL shows error or will not load

Verify the URL starts with http:// or https://. Try opening it in a web browser — it should download a text file. If the URL has expired, log into your dashboard or contact support for a fresh link.

Channels load but will not play

Check your internet connection speed (minimum 10 Mbps for HD). Try a different channel. Clear the app cache and restart. If only some channels fail, the issue may be temporary server-side.

EPG not showing with Xtream Codes

EPG data can take up to 24 hours to fully populate on first setup. Go to your app settings and force an EPG refresh. Ensure your device clock and time zone are set correctly.

Playlist loads but shows 0 channels

Your subscription may have expired. Check your account status. If active, try switching between Xtream Codes and M3U methods. Contact support if the issue persists.

Connection works on one app but not another

Different apps implement Xtream Codes slightly differently. Ensure you are entering the server URL exactly as provided — some apps require the port number, others do not. Try removing or adding the port.

Advanced Tips

Multi-Playlist Setup

TiviMate Premium supports multiple playlists. You can add credentials from different services and switch between them. This is useful if you have backup IPTV subscriptions.

Custom EPG with M3U

If using M3U, you can add a separate EPG URL in your app settings. The XMLTV EPG URL is provided in your subscription email alongside the M3U URL.

Xtream Codes on Kodi

Install the PVR IPTV Simple Client add-on in Kodi. Enter your Xtream Codes server URL in the format: http://server:port/get.php?username=USER&password=PASS&type=m3u_plus

URL Format Conversion

You can convert Xtream Codes credentials to an M3U URL format: http://server:port/get.php?username=USER&password=PASS&type=m3u_plus&output=ts — useful for players that only accept URLs.

Related Guides

FAQ

An M3U playlist is a text file containing URLs for live TV streams. IPTV USA Canada provides your personal M3U link after signup, giving you access to 20,000+ channels on any compatible app.

Xtream Codes is an API login method (server URL, username, password) used by apps like TiviMate and IPTV Smarters Pro. It enables EPG, catch-up, and favorites — features M3U alone cannot provide.

We recommend Xtream Codes for most users because it supports EPG guides, catch-up TV, and channel favorites. M3U is best for simple players like VLC or devices that only accept URL input.

After subscribing to IPTV USA Canada, your credentials are emailed instantly. You can also find them in your customer dashboard. Plans start at $49.99/year.

Yes, depending on your plan. The Silver plan supports 1 device, Gold supports 2, and Diamond supports 3 simultaneous connections. All use the same credentials.

Verify the URL is entered correctly with no extra spaces. Check your internet connection. Try opening the M3U URL in a web browser — it should download a text file. If the URL has expired, contact support for a refresh.

Yes. Your subscription provides both an M3U URL and Xtream Codes credentials. You can use Xtream Codes on TiviMate (Fire Stick) and M3U on VLC (PC) simultaneously — they share the same concurrent connection limit.

Xtream Codes credentials remain valid for the duration of your subscription and do not need refreshing. M3U URLs occasionally update — if your playlist stops loading, check your email or dashboard for a new URL.

Get Your Credentials Now

30-day money-back guarantee. M3U and Xtream Codes included with every plan.