.XSPF

XSPF File

XSPF - XML Shareable Playlist Format (pronounced 'spiff')
Ask a question
QUICK ANSWER

An XSPF file is a plain-text XML playlist that lists the locations of songs or videos to play in order - it contains no audio itself. Open it in VLC media player to play the listed tracks. If songs are missing, the files they point to have moved or are not on this device.

Developer: Xiph.Org Foundation (XSPF working group) Category: Audio Files Open standard MIME: application/xspf+xml
OPENS ON Windows macOS Linux Android iOS
Related: .OPUS · .M3U · .M3U8 · .WFP

On this page

19k+ extensions indexed
Last reviewed Jul 2, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the XSPF file format?

.xspf (short for XML Shareable Playlist Format, pronounced "spiff") is a playlist file format developed by the Xiph.Org Foundation. .xspf files don't store actual audio data - only information related to the playlist in the form of XML markup that contains references to the audio files in the playlist.

The .xspf format is in many aspects similar to .M3U and .M3U8 formats. .xspf playlists are, however, more universal when it comes to mobility and compatibility across various computers and multimedia devices: track locations can be either local file paths or full HTTP/HTTPS URLs, so a playlist can point to remote streams as easily as local files. Each <track> entry inside the <trackList> element can also carry structured metadata - title, creator (artist), album, annotation, and duration - rather than just a bare file path.

Because the .xspf file structure is based on the XML text format, it can be easily viewed and edited using any text editor. Users can also manually search the playlist file for the referenced audio file locations. A valid .xspf file begins with the standard XML declaration followed by a <playlist version="1"> root element carrying the namespace xmlns="http://xspf.org/ns/0/".

Security & safety

RISK: LOW

The .xspf file itself is harmless plain-text XML. The only practical caution: entries are arbitrary file paths/URLs, so a playlist from an unknown source could point a player at unexpected remote content - open an unfamiliar .xspf in a text editor to see where it points before loading it. Keep your media player updated.

Format details

in a nutshell
FULL NAMEXSPF - XML Shareable Playlist Format (pronounced 'spiff')
DEVELOPERXiph.Org Foundation (XSPF working group)since XSPF 1.0, 2006
CATEGORYAudio Files
MIME TYPEapplication/xspf+xml
TYPEPlain-text XML playlist - a list of media locations/metadata; contains no media itself
STANDARDOpen · royalty-free

Programs that open XSPF files

Windows4 apps
VLC media player Open-source Media > Open File > select the .xspf to load and play the listed tracks. VLC also SAVES playlists as XSPF.
MediaMonkey Freemium Import the .xspf to manage/play it in a music-library manager.
Foobar2000 Free Open/import the .xspf (XSPF playlist support) to play the listed audio in a lightweight player.
Notepad / VS Code Open-source Open the .xspf as XML text to read, reorder or fix the <location> paths inside it.
macOS2 apps
VLC media player Open-source Open the .xspf to play the listed tracks; the standard cross-platform choice.
TextEdit Built-in Open as plain text (Format > Make Plain Text) to inspect/edit the XML entries.
Linux2 apps
VLC media player Open-source 'vlc playlist.xspf' to play the listed entries; in every distro repository.
Audacious Open-source Open the .xspf in this lightweight player; native XSPF support.
Android1 app
VLC for Android Open-source Open the .xspf from a file manager to play the listed tracks.
iOS1 app
VLC for iOS Open-source Add the .xspf via the Files app and play the list.

Technical details

deep spec
File categoryXML-based playlist (pointer file - contains no media data)
MIME typeapplication/xspf+xml
DeveloperXiph.Org Foundation (XSPF working group)
Pronunciation"spiff" (official, per the specification)
XML namespacehttp://xspf.org/ns/0/
Root element<playlist version="1"> with xmlns namespace attribute
Track structure<trackList> → <track> → <location> (one element per media item)
Location field<location> accepts any URI: local file:// paths or remote http:// / https:// URLs
Per-track metadatatitle, creator (artist), album, annotation, image, duration, identifier - all optional
Character encodingUTF-8 (inherits from XML; encoding may be declared in the XML prolog)
File signatureNo binary magic bytes; identified by XML declaration and xmlns="http://xspf.org/ns/0/" in root
Attribution elementOptional <attribution> block records provenance of tracks imported from another playlist
Cross-machine portabilityRemote URL locations are fully portable; relative file:// paths depend on a consistent directory layout
ReleasedXSPF 1.0, 2006
Open standardYes · royalty-free
Specificationwww.xspf.org

XSPF conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with XSPF files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about XSPF files.

Frequently asked questions

What is an XSPF file and how do I open it?
It's an open, XML-based playlist (pronounced 'spiff') that lists the locations of tracks to play - it holds no audio itself. Open it in VLC to play the tracks, or in a text editor to view/edit the entries.
How do you pronounce XSPF?
'Spiff'. It stands for XML Shareable Playlist Format, an open standard from the Xiph.Org Foundation.
Why won't the songs in my XSPF play?
An XSPF only points to files - it doesn't contain them. If the referenced songs were moved, renamed, or aren't on this device, the player can't find them. Fix the <location> paths in a text editor or rebuild the playlist where the files are.
Can I convert an XSPF to MP3?
No - an XSPF has no audio inside, only references. To get the songs, play the playlist in a player or locate the files it points to. You can convert XSPF to other playlist formats (M3U, PLS) though.
What's the difference between XSPF and M3U?
Both are playlists that only list track locations. XSPF is open XML with richer, structured metadata and clean Unicode support; M3U is a simpler line-based text list and far more widely supported by players/devices.
Which players support XSPF?
VLC is the most reliable (it even saves playlists as XSPF). Audacious and foobar2000 also support it, and it works on mobile via VLC. Many simpler players prefer M3U, so converting to M3U can help.

References

1Wikipedia - XSPFen.wikipedia.org
2XSPF - official specification (xspf.org)www.xspf.org

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.DATProgram Data File (generic)
4.PARTPartial Download File
5.RPMSGRestricted Permission Message
6.BINCD/DVD Disc Image (BIN/CUE)
7.EXEWindows Executable (Portable Executable)
8.JSONJavaScript Object Notation file
9.DLLDynamic Link Library
10.ICSiCalendar data file

Related extensions

.OPUSOpus Audio File (Ogg Opus)
.M3UM3U Media Playlist (MP3 URL)
.M3U8UTF-8 M3U Playlist / HLS (HTTP Live Streaming) Playlist
.WFPWaveFront Program file (Turtle Beach)
.AMRAdaptive Multi-Rate (AMR) audio
.MP3MPEG-1/2 Audio Layer III

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z