IPTV Codes Explained: Logins, Device IDs and 'Free Code' Lists

Short answer: "IPTV code" isn't one thing. It can mean your login details, the device ID a player app shows, a short activation code for linking a TV to an account, a playlist address with a key built in, or the "free codes" posted on websites and forums. The first four are ordinary parts of how streaming works. The last is almost always someone else's paid access or a stolen credential, and using it carries real risks for you as well as being unlicensed.

At a glance

The five kinds of IPTV code

Login details Server, username, password
Device IDs MAC address or device key
Activation codes Link an app to your account
Playlist links An M3U address with a token
"Free code" lists Leaked or stolen access: avoid

Why the word is so confusing

People search for "IPTV codes" meaning very different things. A new subscriber might want to know what to type into an app. Someone else has seen a list of "codes" shared online. A third person is staring at a string of letters on a TV screen.

The confusion is partly historical. One of the most widely used pieces of server software for IPTV services was called Xtream Codes, and its login format became a de facto standard. "Codes" stuck as a general term for any access detail, even though most of what people now call codes are simply usernames, device identifiers or links.

The table below sorts them out.

Type Looks like Where it comes from Safe to share?
Xtream-style login Server URL + username + password Your provider, at sign-up No: it is your account
M3U playlist link A long web address, often with a token Your provider or broadcaster No: it acts as a password
Device ID / MAC 00:1A:79:xx:xx:xx or a device key The player app or set-top box Only with the app's developer or your provider
Activation code Six to eight characters on screen A streaming app, briefly Only on the official site
"Free code" list Portal URLs and MAC addresses in bulk Forums, websites, videos Don't use them

Logins in the Xtream format

The most common thing a provider sends is three items: a server address, a username and a password. Many player apps have a sign-in option labelled "Xtream Codes API" or simply "Xtream", which asks for exactly those three.

The name comes from the software. Xtream Codes was an Italian company whose panel software was used by legitimate and illegitimate services alike. In September 2019 Italian police raided it as part of a large anti-piracy operation, and its servers went offline. In 2022 an Italian court ruled that the company itself had acted lawfully and ordered seized assets returned, but by then the login format had long since outlived the company.

Today "Xtream login" just describes the three-part format. It says nothing about whether the service behind it is licensed. Our Xtream Codes login guide covers entering one correctly.

Playlist links

An M3U link is a web address that returns a list of channels. Many include your username and password inside the address itself, or a long random token that does the same job.

That makes the link a credential. Anyone who has it can usually use your account, and a provider that sees the same link used in many places at once may suspend it. Treat it as you would a password: don't post it in a forum when asking for help, and blank out the sensitive part in screenshots.

Device IDs and MAC addresses

Some codes identify a device rather than a person.

Player apps on smart TVs usually display a device ID or MAC-style address, sometimes with a device key. You use it on the developer's website to pay for the app licence or to upload your playlist, so you don't have to type long addresses with a remote.

Set-top boxes such as MAG models have a real hardware MAC address printed on a sticker. Services built for these boxes register that address against your account, and the box connects to a portal address. We cover this setup in our MAG box guide.

These identifiers aren't secret in the way a password is, but on portal-based services the MAC address effectively is the login. That's exactly why they turn up on "free code" lists.

Activation codes

Mainstream streaming apps use short, temporary codes to sign in on a television. You open the app, it shows a code, and you enter that code on the service's website on a phone or computer where you're already signed in.

These codes expire within minutes and only work on the service's own site. The main risk is not the code itself but lookalike websites that pose as the activation page and try to charge a "setup fee" or take your details. Activation for mainstream services is free. We explain the process in full in our separate guide to IPTV activation codes.

What "free IPTV codes" really are

Lists of "free codes" circulate widely: pages of portal addresses paired with MAC addresses, or bundles of Xtream logins, often with a promise that they're "tested today".

They are other people's access. A working MAC or login on a public list is either a paying customer's account that has leaked, one obtained by guessing or scanning, or a trial account being farmed. None of that is access the list's author has any right to hand out.

The services behind them are usually unlicensed. Legitimate providers don't publish shared credentials, and the portals that appear on these lists are overwhelmingly services that don't hold rights to the channels they carry.

They're a common route for scams and malware. Pages offering codes often push downloads, "code generator" tools or payment for a "premium list". Generators in particular don't work, because codes can't be generated for a service you don't control; they're a pretext for installing something unwanted.

Your own details become visible. Connecting to an unknown server exposes your IP address to whoever runs it.

The short version: if a code wasn't issued to you, by the service, for your account, don't use it.

Entering your details without errors

Most "my code doesn't work" problems are typing errors rather than faults. A few habits prevent nearly all of them.

Copy the server address exactly, including the port. Addresses often end with a colon and a number, such as :8080. Leaving it off, or adding a trailing slash the provider didn't include, is the most common mistake.

Check http versus https. Some servers use one and not the other, and apps don't always correct it for you.

Watch similar characters. A capital I and a lower-case l, a zero and a capital O, look identical in many fonts. If your provider sent the details by email, copy and paste them into the developer's website rather than typing them on a remote.

Mind the case. Usernames and passwords are usually case-sensitive; server addresses are not.

Confirm the account is active. A correct login on an expired account fails in the same way as a typo, so if everything looks right, check with the provider before reinstalling apps.

Keeping your own codes safe

Don't paste full logins or links when asking for help. Blank out the username, password or token.

Change the password if your provider allows it and you suspect a leak, or ask them to reissue the playlist link.

Watch your connection limit. If your service suddenly says too many devices are connected, someone else may be using your details. See our guide to IPTV multiple connections.

Use official apps and sites for payment and activation, never links sent in messages.

Quick answers

What is an IPTV code? It usually means the access details for a service: a server, username and password, a playlist link, a device ID, or a temporary activation code. Which one depends on the app and the service.

What are Xtream codes? A three-part login format (server address, username, password) named after Xtream Codes, server software used by many IPTV services. The format is still widely used by player apps.

Are free IPTV codes legal? No. Free code lists are almost always leaked or stolen access to services that are themselves usually unlicensed. Using them also exposes you to scams and malware.

Is it safe to share my MAC address? Only with the app developer or your provider, for activation. On portal-based services the MAC address effectively acts as your login, so don't post it publicly.

Do IPTV code generators work? No. Codes are issued by the service that controls the account, and cannot be generated by a third-party tool. These tools are typically a vehicle for malware or scams.

What should I do if my IPTV login is leaked? Ask your provider to change your password or reissue your playlist link, and stop posting unredacted screenshots or links.


Login formats, app activation methods and the scams built around them change over time. Checked September 2026.