By Shamir
Stalker Portal to M3U: How to Convert It (or Skip Conversion and Play It Directly) in 2026
If you've landed here, you were probably handed a Stalker portal — a URL that ends in something like /c/ or /stalker_portal/, plus a MAC address — and the player you're trying to use only accepts an M3U playlist. So you did the sensible thing and searched for how to convert one into the other.
Here's the honest, up-front answer: you can convert a Stalker portal into an M3U file, but it's fiddly, it breaks often, and in 2026 you usually don't need to. This post covers both paths: the manual conversion, and the much simpler option of using a player that just reads the portal directly, including Tuneline, which is the one we build.
First, What Even Is a Stalker Portal?
Stalker (and its close relative Ministra) is a middleware system. Instead of handing you a plain list of stream links like an M3U file does, it hands your player a portal address and expects the player to log in the way a set-top box would: perform a handshake, request an authorization token, register a MAC address as the "device," then ask the portal for the channel list on demand.
That's the key difference. An M3U is a static text file — open it and you can read every stream URL inside. A Stalker portal is a live conversation with a server. Nothing is stored in a file; the channel list is fetched fresh each session and tied to your MAC.
That design is exactly why "converting" is awkward. You're not reformatting a document. You're impersonating a set-top box, walking through the login, and scraping the URLs it returns.
Path 1: Converting a Stalker Portal to M3U Manually
If your player genuinely only accepts M3U, here's the shape of the process. You'll need three things:
- The portal URL (e.g.
http://example.com:8080/c/) - The MAC address you were given (e.g.
00:1A:79:XX:XX:XX) - Sometimes a username/password, though many portals authenticate on MAC alone
The conversion itself follows the same steps the portal expects from a real device:
- Handshake. Call the portal's
handshakeendpoint to get a temporary authorization token. - Authorize the profile. Send the MAC and token back to register the session.
- Pull the genre/channel list. Request the
itv(live) ordered list, page by page. - Resolve each stream link. Stalker doesn't return final URLs in the list — you have to ask it to "create link" for each channel, which returns a temporary playable URL.
- Write it all into M3U format, wrapping each resolved URL with an
#EXTINFline.
There are community tools and scripts that automate this (search for "stalker portal to m3u" converters), and on a Mac people often reach for a small Python script or a command-line utility to do the handshake-and-scrape loop.
Why the Converted File Usually Stops Working
The catch is in step 4. Those "create link" URLs are temporary. They're issued for your session and frequently expire within hours, sometimes minutes. So the M3U you painstakingly generated works this afternoon and is dead by tomorrow morning. You end up re-running the conversion constantly.
On top of that:
- MAC binding means the links only work from the device MAC that authenticated. Move the file to another machine and it can fail.
- Token expiry means a long channel list can start failing partway through the scrape.
- Portal changes — providers rotate endpoints and tighten anti-scraping, and your converter breaks with no warning.
If you've ever asked "why does my IPTV file cannot be played" a day after it worked, expired Stalker links are a very common culprit.
Path 2: Skip Conversion — Play the Portal Directly
Here's the part most "how to convert" guides won't tell you: the reason you're converting is that your current player can't speak Stalker. Change the player and the whole problem disappears.
Tuneline reads three source types natively:
- M3U / M3U8 playlists (URL or file)
- Xtream Codes (host + username + password)
- Stalker Portal (portal URL + MAC)
Because Tuneline performs the handshake, token refresh, and per-channel link resolution live — exactly like a set-top box — there's no static file to expire. You add the portal once and every session re-authenticates itself.
How to Add a Stalker Portal to Tuneline
- Open Tuneline and go to Add Playlist.
- Choose Stalker Portal as the source type.
- Paste your portal URL (the full address, including the
/c/or/stalker_portal/path). - Enter the MAC address you were given.
- Add the username/password if your provider requires them; otherwise leave them blank.
- Save. Tuneline handshakes, pulls your channel list, and you're watching.
No conversion, no expiring M3U, no re-scraping every morning. When you switch devices, you add the same portal on the new device instead of copying a file that's bound to the old MAC.
When You Should Still Convert
Converting to M3U isn't useless. It makes sense when:
- You need to feed the streams into a tool that genuinely only accepts M3U (some recorders, some legacy hardware).
- You want a snapshot of the lineup for a one-off task and don't care that links expire.
- You're combining sources and your merge tool works on flat playlists. (If that's you, see our guide on merging multiple M3U playlists into one.)
For everyday watching on a phone, computer, or TV, though, playing the portal directly is less work and far more reliable.
A Note on the MAC Address
The MAC you were given is the identity your portal recognizes. Treat it like a credential:
- Don't post it publicly. Anyone with your portal URL and MAC can use your line.
- If a provider ever asks you to share it in a public forum, that's a red flag — see our guide on spotting IPTV scam red flags.
- Only enter it into software you trust. A player that quietly ships your portal credentials off-device is a privacy problem; Tuneline keeps your sources on your device.
The Short Version
- A Stalker portal is a live login, not a file — which is why converting it to M3U is fragile and the links expire fast.
- You can convert it (handshake → authorize → pull list → resolve links → write M3U), but you'll likely re-do it constantly.
- The cleaner 2026 answer is to use a player that reads the portal directly. Tuneline supports Stalker portals, M3U, and Xtream Codes on Windows, macOS, Linux, Android, Android TV, Fire TV, iPhone, iPad, and Apple TV.
If your only reason for converting was "my player won't take a portal," you can stop converting today.
Download Tuneline and add your portal directly — no conversion required.
Related reading: What Is a Stalker Portal? · M3U vs Xtream Codes vs Stalker Portal · The Best Stalker Portal Player in 2026
Get Tuneline free
A clean, no-account media player for macOS, Windows, Linux, Android, TV, and iOS. Bring your own playlist.
Download free