"Plex M3U playlist" means two unrelated things, and most of the frustration around it comes from following instructions written for the other one. One is a list of songs or videos already on your server that you want as a Plex playlist. The other is an IPTV channel list you want to watch as live TV. Same file extension, different jobs, completely different routes into Plex.
| Media playlist M3U | Live TV (IPTV) M3U | |
|---|---|---|
| What's inside | Paths to files: /music/Artist/Album/01.flac
|
Stream URLs: https://…/live/123.ts plus channel tags |
| Typical source | iTunes, foobar2000, MusicBee, an old MP3 player | A TV service, operator or tuner |
| Where it ends up in Plex | Playlists (and Plexamp) | Live TV & DVR guide |
| Plex UI import? | No; via an undocumented server endpoint or a tool | No; via a tuner-emulating bridge |
| Plex Pass needed? | No | Not to watch at home; yes to record |
| Read on | This page, below | Adding IPTV to Plex |
Short answer: Plex has no "Import playlist" button for either kind. For music, you upload the M3U to the server through a hidden API call (or a tool that makes it for you), and it only works if every file in the list is already in a Plex library at the path the M3U names. For live TV, Plex won't read the M3U at all; a bridge program turns it into a virtual tuner.
At a glance
Plex and M3U playlists
| Music M3U import | Hidden /playlists/upload endpoint |
| Requirement | Tracks must already be in a Plex library |
| Path rule | Paths as the server sees them |
| Export to M3U | No button; scripts or tools |
| Live TV M3U | Different route: tuner emulation |
| Cost | Free for media playlists |
How to tell which kind you have
Open the file in a text editor. Ten seconds settles it.
- Lines like
D:\Music\Radiohead\OK Computer\01 Airbag.mp3or../Radiohead/OK Computer/01 Airbag.flac: a media playlist. - Lines starting with
httpand#EXTINFlines containingtvg-id,tvg-logoorgroup-title: a live TV playlist. - A URL that downloads the file rather than a file you saved: almost certainly live TV.
The .m3u8 extension doesn't decide it either way. It just means the text is UTF-8, which matters for accented artist names. HLS video streams also use .m3u8, which adds to the confusion.
Importing a music M3U
Plex Media Server accepts playlist files through an endpoint that isn't in the Plex apps and isn't officially documented, but has been used by scripts for years. A December 2025 write-up called it "a working solution" for a feature users have asked for since 2018. The request looks like this:
POST http://SERVER-IP:32400/playlists/upload
?sectionID=LIBRARY-ID
&path=/full/path/on/server/roadtrip.m3u
&X-Plex-Token=YOUR-TOKEN
You'll need three things:
-
The M3U file saved somewhere the Plex server can read, with the full path URL-encoded in the request (slashes become
%2F). -
Your music library's section ID. Open the library in Plex Web; the number appears in the address bar. Or open
http://SERVER-IP:32400/library/sections?X-Plex-Token=…and read thekeyvalues. -
Your Plex token. Plex's support site explains how to find it: open any item's "Get Info", choose "View XML", and copy the
X-Plex-Tokenvalue from the URL. Treat it like a password.
A minimal working file looks like this. The #EXTINF lines are optional for music; Plex matches on the path lines.
#EXTM3U #EXTINF:281,Radiohead - Airbag /volume1/music/Radiohead/OK Computer/01 Airbag.flac #EXTINF:236,Radiohead - Paranoid Android /volume1/music/Radiohead/OK Computer/02 Paranoid Android.flac
Save it as UTF-8 (the .m3u8 extension is a good reminder) so names with accents survive. Send the request with curl, Postman or a short script. If it works, the playlist appears in Plex and Plexamp within seconds. Uploading a file with the same name again adds a second playlist rather than replacing the first, so delete the old one when you re-import.
The path problem
This is why most imports half-work. Plex matches each line of the M3U against files it already knows about, by path. A line that points anywhere else is skipped without an error.
| M3U line | Server sees music at | Result |
|---|---|---|
D:\Music\Artist\track.mp3 |
D:\Music\… (Windows server) |
Matches |
D:\Music\Artist\track.mp3 |
/volume1/music/… (NAS) |
Skipped: path doesn't exist |
../Artist/track.flac |
Relative to the M3U's own folder | Matches if the M3U sits inside the library tree |
/music/Artist/track.flac |
/data/music/… (Docker mapping) |
Skipped: container path differs |
| Correct path, file not yet scanned | File exists, Plex hasn't added it | Skipped until the library scans |
The fix is nearly always a find-and-replace on the path prefix so it matches how the server sees the files. If Plex runs in Docker, use the path inside the container, not the host's. And scan the library before importing.
Tools that do it for you
| Tool | Type | What it does | Notes |
|---|---|---|---|
| Soundiiz | Web service | Upload an M3U file, match tracks, create a Plex playlist | Free tier for imports; account linking required |
| plexPlaylistImporter | Python script | Reads an audio M3U and builds the playlist via the API | Matches on track metadata; reports unmatched tracks |
| Plex Playlist Pusher (PPP) | Python script | Two-way sync between a folder of .m3u files and Plex music playlists | Audio only; handy if you keep editing playlists elsewhere |
| Plex Playlist Importer | Mac/iOS app | Creates playlists from M3U directly on a server | Apple platforms only |
The metadata-matching tools are more forgiving about paths, since they look for "artist + title" rather than an exact file location. They're less precise with live albums and duplicate tracks, so check long playlists afterwards.
Video playlists
Plex supports video playlists in its apps: select items, "Add to playlist". Importing an M3U of video files is where things get thin. The public write-ups and tools for the upload endpoint focus on music, and reports for video libraries are inconsistent. For a small number of videos, building the playlist in the app is faster than debugging an import. For large sets, a script using the Plex API to add items by library search is more reliable than an M3U.
An M3U of video stream URLs (say, a few public news streams) is a live TV list in disguise. Plex won't play those from a playlist; see the last section.
Exporting Plex playlists to M3U
There's no export button. To take a Plex playlist to a car stereo, a DAP or another player:
- PlexPlaylistExport (Python) writes a Plex music playlist to M3U, with options to rewrite path prefixes so the file works on another device. It creates the list only; it doesn't copy the music.
- Web services such as Soundiiz and MusConv can transfer Plex playlists to other services or files, with paid tiers for bulk work.
- For one-off needs, the playlist's XML (open it, "View XML") lists every file path, which you can turn into an M3U with a little search and replace.
If it's actually a live TV list
If your file has #EXTINF lines with tvg- attributes and stream URLs, none of the above applies. Plex Live TV only talks to tuners, so the M3U has to go through a bridge such as Threadfin or Dispatcharr, which presents it as an HDHomeRun. Start here:
- What Plex accepts from an IPTV M3U, and why a raw file fails
- Step-by-step: IPTV into Plex with Threadfin
- Or just play it in VLC if you don't need Plex at all
Our general explainer, M3U playlists explained, covers both kinds of file in more detail.
Quick answers
Can I import an M3U playlist into Plex?
Yes for music, but not from the Plex apps. You upload it through the server's undocumented /playlists/upload endpoint or with a tool such as Soundiiz or plexPlaylistImporter, and the tracks must already be in a Plex library.
Why did only some songs from my M3U appear in Plex?
The missing lines point to paths Plex does not recognise, usually because the playlist was made on another computer or the server runs in Docker with different paths. Rewrite the path prefix to match how the server sees the files.
Can Plex export a playlist as an M3U?
Not from its apps. Scripts such as PlexPlaylistExport and web services such as Soundiiz or MusConv can export Plex playlists.
Is an IPTV M3U the same as a Plex playlist?
No. An IPTV M3U lists live stream URLs and must go into Plex Live TV & DVR through a tuner-emulating bridge such as Threadfin. It does not appear under Plex playlists.
Do I need Plex Pass to import playlists?
No. Playlist import works on a free Plex account. Plex Pass matters for recording live TV, not for media playlists.
Can I import a video M3U into Plex?
Results are inconsistent. Public tools and guides for the upload endpoint focus on music, so for video it is usually easier to build the playlist in the Plex app or script it with the Plex API.
The playlist upload endpoint is not officially documented by Plex and could change without notice. Third-party tool features and pricing also change. Checked October 2026.