PLS / XSPF to M3U / TXT
Convert Shoutcast .pls & XML .xspf audio playlists to M3U or TXT — 100% private client-side processing.
Active Converter
PLS / XSPF to M3U / TXT: Converting Internet Radio & VLC XML Playlists
Technical Anatomy of .PLS (INI) and .XSPF (XML) Playlists
Two classic open-source playlist standards still circulate widely across internet radio portals and desktop media players: PLS (originating in Winamp and SHOUTcast) and XSPF (XML Shareable Playlist Format, maintained by the Xiph.Org Foundation and used as VLC's native save format).
A .pls file is an INI document opening with [playlist], pairing indexed keys like File1=http://..., Title1=Station Name, and Length1=-1 (where -1 denotes an infinite live stream), ending with NumberOfEntries=N and Version=2. By contrast, an .xspf file is an XML tree rooted at <playlist xmlns="http://xspf.org/ns/0/"> with <trackList><track><location> entries. Converting either format into universal #EXTM3U unlocks playback on modern mobile apps, car head units, and network audio streamers.
Raw .PLS Radio File vs. Universal #EXTM3U Output
# Input: SHOUTcast / SomaFM Station (groove.pls)
[playlist]
NumberOfEntries=2
File1=https://ice1.somafm.com/groovesalad-128-mp3
Title1=SomaFM: Groove Salad (#1)
Length1=-1
File2=https://ice2.somafm.com/groovesalad-128-mp3
Title2=SomaFM: Groove Salad (#2)
Length2=-1
Version=2
# Converted .M3U Output:
#EXTM3U
#EXTINF:-1,SomaFM: Groove Salad (#1)
https://ice1.somafm.com/groovesalad-128-mp3
#EXTINF:-1,SomaFM: Groove Salad (#2)
https://ice2.somafm.com/groovesalad-128-mp3
Real-World Software & Hardware Ecosystem
Audiophiles and home-automation tinkerers convert .pls and .xspf playlists exported from VLC, Winamp, SHOUTcast, Icecast, SomaFM, and Audacious for playback on Volumio, Moode Audio, Plexamp, Android Auto, Kodi, and MPD (Music Player Daemon).
Troubleshooting & Edge Cases
- Percent-Encoded
file:///Paths in XSPF: VLC saves local MP3 paths as RFC 3986 URIs likefile:///C:/Music/My%20Track.mp3. Check the converted paths if you move the.m3uacross Windows and Linux drives. - XML Entities (
&) in Station Titles: XSPF escapes ampersands in radio station names (e.g.,Jazz & Blues); our XML decoder unescapes entities cleanly when writing#EXTINFtitles. - Out-of-Order PLS Indices: Some hand-edited
.plsfiles skip numbers (File1,File3). Matching entries by index key rather than assuming contiguous numbering prevents mismatched titles and URLs.
Playlist Format Comparison: .PLS vs. .XSPF vs. .M3U
| Format | Syntax Family | Native Origin |
|---|---|---|
| .PLS | INI [playlist] numbered keys | Winamp, SHOUTcast, Icecast, SomaFM |
| .XSPF | XML <trackList><track> | VLC Media Player, Xiph.Org, Clementine |
| .M3U / .M3U8 | Line-paired #EXTINF directives | Universal (Kodi, Volumio, Android Auto, Smart TVs) |
Consolidating Multiple Radio Stations into One M3U File
Many radio portals force you to download one tiny .pls file per station. Select 20 downloaded .pls files at once using Batch ZIP mode—or paste their contents sequentially into the left editor—to produce one unified radio_favorites.m3u file ready for Volumio, Moode Audio, or Home Assistant media players.
Frequently Asked Questions
.PLS uses an INI-style [playlist] section with numbered File1=, Title1=, Length1= keys and a NumberOfEntries footer. .XSPF (XML Shareable Playlist Format) is an open XML schema wrapping
SHOUTcast and Icecast popularized .PLS in the Winamp era because it cleanly lists multiple fallback mirror streams (File1, File2, File3) for a single radio station. Converting to .M3U lets modern smart speakers, car stereos, and IPTV apps play those stations directly.
Yes. The parser reads both
Yes. Choose Export .TXT to dump every clean stream URL and station name without playlist directives—handy for pasting into Home Assistant, Sonos custom radio, or curl/FFmpeg scripts.