Free online XSPF to ASX converter
Convert XSPF playlist references to an ASX file for legacy Windows Media software and devices.
Convert XSPF to ASX online - free
Your file is processed instantly and never stored on our servers.
Import a file from a URL
Paste a direct link to the file. We download it to our server and it is converted exactly like an upload.
How it works
-
1/3
Upload your .xspf file
Click to browse to select your file you want to convert or simply drag & drop your file into selected area.
-
2/3
Perform .xspf to .asx conversion
After successful file upload, click to convert when you are ready.
-
3/3
Download converted .asx file
Conversion result is ready to download.
How to convert xspf to asx file
- Audio
- No ratings yet.
A legacy Windows Media player, embedded Windows Media component, or device may require an .asx playlist instead of an .xspf file. This conversion changes playlist XML and media references; it does not convert, resize, or compress the audio and video files listed in the playlist.
What the XSPF format is
XSPF (XML Shareable Playlist Format) is an open, XML-based playlist format used by VLC media player, Clementine, Audacious, and other media applications. A typical .xspf file contains a <trackList> with one <track> element per item. Each track can include a <location> URI and optional metadata such as <title>, <creator>, <album>, and <duration>.
XSPF stores an ordered list of references rather than the media itself. A location may be a local file URI, a relative path, or a network URL, so the playlist can fail if the referenced files are moved or are unavailable.
What the ASX format is
ASX (Advanced Stream Redirector) is an XML playlist and redirector format associated with Windows Media Player and Windows Media Services. A standard ASX 3.0 file uses an <asx version="3.0"> root element, an <entry> for each item, and a <ref href="..." /> element containing the media file or stream reference.
ASX is useful for legacy Windows software or hardware that specifically expects the .asx extension. It can reference local media and network streams, but support depends on the player. ASX has fewer commonly portable metadata options than XSPF and is generally a compatibility format rather than a modern archival format.
How to convert an XSPF playlist
For a one-off conversion, use the free converter on 101convert.com without installing software. Upload the .xspf file, select ASX as the output format, run the conversion, and download the resulting .asx file. Before using it elsewhere, open the output in a text editor and verify every href reference.
The conversion should preserve track order, locations, and commonly the title of each track. It may discard XSPF fields such as album, creator, artwork, duration, extensions, and multiple locations because they do not map directly to a basic ASX entry.
Convert with a local Python script
For private or repeatable conversions, this script uses Python’s standard library and writes one ASX entry for the first location in each XSPF track:
import sys
from pathlib import Path
from xml.etree import ElementTree as ET
from xml.sax.saxutils import escape, quoteattr
source = Path(sys.argv[1])
target = source.with_suffix(".asx")
namespace = "{http://xspf.org/ns/0/}"
root = ET.parse(source).getroot()
with target.open("w", encoding="utf-8", newline="\n") as output:
output.write('<?xml version="1.0" encoding="UTF-8"?>\n')
output.write('<asx version="3.0">\n')
for track in root.findall(f".//{namespace}track"):
locations = track.findall(f"{namespace}location")
if not locations or not locations[0].text:
continue
location = locations[0].text.strip()
title = track.findtext(f"{namespace}title") or ""
output.write(" <entry>\n")
if title:
output.write(f" <title>{escape(title)}</title>\n")
output.write(f" <ref href={quoteattr(location)} />\n")
output.write(" </entry>\n")
output.write("</asx>\n")
print(f"Wrote {target}")
Save it as xspf_to_asx.py and run python xspf_to_asx.py playlist.xspf. The script expects the normal XSPF namespace, escapes XML characters in titles, preserves the original location URI, and creates playlist.asx beside the source file. Preserving the URI avoids incorrectly converting Windows drive-letter paths or network shares; adjust paths manually if the destination player requires a different local-path syntax.
Compatibility limits
The ASX file contains references, not media data. Move the referenced files with the playlist, or use URLs that remain reachable. Relative paths depend on the player’s handling of the ASX file location; absolute paths and stable URLs are usually more predictable.
Remote references must be supported by the target player. A legacy Windows Media component may reject HTTPS, authentication-protected streams, adaptive-streaming manifests, or protocols outside its supported media stack. XSPF file:// URIs may also need conversion to ordinary Windows paths for older software.
VLC can open and save XSPF playlists, but its Media → Convert/Save function is primarily a media transcoder and should not be treated as a dependable XSPF-to-ASX playlist exporter. Test the generated ASX file in the software or device that requires it.
XSPF vs ASX: format comparison
How the XSPF and ASX formats compare on the properties that matter most for this conversion.
| Property | .XSPF XML Shareable Playlist Format | .ASX Advanced Stream Redirector |
|---|---|---|
| Compression | Uncompressed | Uncompressed |
| Metadata support | Extensive | Basic |
| Streaming | Partial | Yes |
| DRM protection | No DRM | — |
| Opens in a web browser | Partial | No |
| Typical file size | Very small | Very small |
| Open standard | Yes | No |
| Best used for | Music | Streaming |
| Introduced | 2004 | — |
| Developer | XSPF Project | Microsoft |
| MIME type | application/xspf+xml | video/x-ms-asf |
The database currently does not contain any direct xspf file converter links.
Frequently asked questions
Is the XSPF to ASX converter free?
Yes, converting XSPF to ASX on 101convert.com is completely free. No registration, email address or installation is required. If you need a higher file size limit or want to convert more files at once, see our plans.
How large can my XSPF file be?
You can upload XSPF files up to 2 MB and convert up to 100 files at once in a single batch.
What happens to my uploaded files?
Files are processed automatically and deleted from our servers within a few minutes after conversion. We never view or share your files.
Do I need to install any software to convert XSPF to ASX?
No. The XSPF to ASX conversion runs entirely online in your browser and works on Windows, Mac, Linux, Android and iPhone.
Did the conversion fail?
In most cases, the cause is an incorrect file format. Please upload a valid XSPF file for this XSPF to ASX conversion. Occasionally, the issue may be on our side. We analyze recurring conversion failures and disable or fix the converter if we detect a defect.