scratch storage

Playlists

Importing M3U and M3U8 playlists into rekordbox, Traktor Pro and VirtualDJ

How to import M3U8 playlists into rekordbox, Traktor Pro and VirtualDJ: what the file holds, relative vs absolute paths, encoding and fixes for missing tracks.

10 min read

In short

  • An M3U or M3U8 file is a plain text list of file paths; it holds no audio, cue points or analysis, so the music has to be where the paths say it is.
  • M3U8 is the same format saved as UTF-8 text, which keeps accented and non-Latin artist names intact; a plain .m3u has no fixed encoding.
  • In rekordbox, use File → Import → Import Playlist, which accepts .m3u and .m3u8 files.
  • In Traktor Pro, right-click Playlists in the Browser Tree and choose Import Playlist; in VirtualDJ, drag the file into the browser's sidelist or open the folder that holds it.
  • Almost every missing track comes down to a path that no longer matches the file, or a character the app decoded wrongly; relative paths and UTF-8 prevent most of it.
On this page10 sections

The short answer

All three apps can read an M3U playlist, but none of them treats it as a library. They open the text file, follow each path to an audio file, add the files they find to the collection, and build a playlist in the order listed. Anything the app can't find is skipped or marked missing. So importing a playlist is really two jobs: getting the audio somewhere stable, and making sure the paths in the file point at it.

That makes M3U8 the most portable playlist format a DJ has. It isn't tied to any one program, you can open it in a text editor, and every major desktop DJ app reads it. What it can't do is carry the things that make a prepared track prepared: beat grids, hot cues, loops, memory points and waveforms stay in each app's own database. Plan on analysing the tracks again after import, and set cues in the app you will play from.

What is inside an M3U8 file

Open one in any text editor and you will see something like this. The first line marks it as an extended M3U, each #EXTINF line gives a duration in seconds and a display name, and the line under it is the path that actually matters.

An extended M3U8 playlist with relative paths#EXTM3U
#EXTINF:412,Artist One - Opening Track
01 Artist One - Opening Track.flac
#EXTINF:385,Artist Two - Second Track
02 Artist Two - Second Track.aiff
#EXTINF:356,Artist Three - Closer
03 Artist Three - Closer.mp3

Apps vary in how much they use the #EXTINF lines. Most rely on the tags inside the audio file for title, artist, BPM and key, and use the playlist only for paths and order. Lines that start with # and aren't recognised are ignored, so a file with only paths, one per line, still imports.

M3U vs M3U8

The only real difference is the text encoding.
Feature.m3u.m3u8
ContentPaths, optionally with #EXTM3U and #EXTINF linesIdentical structure
Text encodingNot fixed; many apps assume the computer's legacy code pageUTF-8
Accented and non-Latin namesCan turn into garbage or fail to matchSurvive intact
Best useOlder software that refuses .m3u8Everything else

You will also see .m3u8 used for HTTP Live Streaming manifests, defined in RFC 8216. Those share the extension and the #EXT syntax but list video or audio segments on a server, and DJ software has no use for them. A music playlist from your own library is a different thing that happens to share the name. The M3U article on Wikipedia has a good summary of the format's history and variants.

Relative vs absolute paths

Each line in the playlist is either an absolute path, which spells out the whole location from the top of a drive, or a relative path, which is read from the folder the playlist file sits in. This one choice decides whether a playlist survives being moved.

Path typeExampleSurvives moving to another computer?
Absolute, macOS/Volumes/DJ_USB/Music/Set 1/01 Track.flacOnly if the drive mounts with the same name
Absolute, WindowsE:\Music\Set 1\01 Track.flacOnly if the drive gets the same letter
Relative, same folder01 Track.flacYes, as long as the playlist stays beside the files
Relative, subfolderSet 1/01 Track.flacYes, as long as the folder structure is kept

For anything that travels on a USB stick or between laptops, relative paths are the safer choice. Windows will happily mount the same stick as E: on one machine and F: on the next, and a macOS volume renamed from DJ_USB to DJ_USB 1 because of a clash breaks every absolute path that mentions it. Relative paths don't care about either.

Forward slashes are the safest separator in relative paths; most Windows software accepts them, while backslashes written on Windows often fail on a Mac. If you import a playlist that was written on the other operating system and nothing loads, check the slashes first.

Importing into rekordbox

rekordbox's manual lists M3U and M3U8 as the playlist formats it imports. The steps are the same in rekordbox 6 and 7.

  1. Put the audio and the playlist file where they will stay: your music drive, not your Downloads folder.
  2. Open rekordbox and choose File → Import → Import Playlist.
  3. Select the .m3u or .m3u8 file. rekordbox adds the tracks to the Collection and creates a playlist with the same name under Playlists.
  4. Let rekordbox analyse the new tracks (or right-click them and choose Analyze Track) so you get grids, waveforms and key.
  5. Play through the playlist once and check for tracks marked missing before you build cues on top of it.

If the playlist is headed for a CDJ, a rekordbox.xml import is usually the better route, because it can carry BPM, key and playlist structure in one file. M3U8 is the simple fallback when the XML isn't available or the playlist came from a media player.

Importing into Traktor Pro

  1. In the Browser Tree, find the Playlists node (or a playlist folder inside it).
  2. Right-click it and choose Import Playlist.
  3. Pick the playlist file. Traktor adds the tracks to the Track Collection and the playlist appears under the folder you clicked.
  4. Analyse the new tracks so Traktor writes grids and key into its collection.

Traktor's own playlist export writes M3U (for other software) or NML (Traktor's native format), and the Traktor Pro manual describes both directions. If the file dialog won't let you choose a .m3u8 file, make a copy and change the extension to .m3u. The contents don't need to change, but an .m3u may then be read in a different encoding, so check accented titles afterwards.

Traktor users have reported tracks with accented characters and curly apostrophes going missing from imported M3U files. If only the tracks with special characters fail, the encoding is the cause; see the fixes below.

Importing into VirtualDJ

VirtualDJ 2024 changed how it stores playlists: they became Lists, saved as .vdjfolder files, rather than the M3U files older versions used. It still reads M3U playlists, but how they show up depends on your version and settings, so treat these as the two routes to try.

  1. Drag and drop. Open the browser, open the sidelist or the Lists area, and drag the .m3u8 file onto it from Finder or Explorer. Save the result as a List so it lives in VirtualDJ's own database.
  2. Browse to it. In the browser's folder tree, navigate to the folder that holds the playlist file (adding it as a favourite folder makes this quicker). Select the playlist to see its tracks, then select them all and drag them into a new List.

VirtualDJ's settings include an option called browserShowLegacyM3UPlaylists for showing old-style M3U playlists in the browser. If you are upgrading from an older version and your M3U playlists disappeared, that is the setting to look at. Check the VirtualDJ manual for your version for the exact behaviour, as it has changed between releases.

Common problems and fixes

  • Every track is missing. The paths don't match where the files are. Open the playlist in a text editor and compare the first path with the real location. Usually a drive letter, volume name or parent folder changed. Fix the paths, or rewrite them as relative paths and put the playlist next to the music.
  • Only tracks with accents, umlauts or curly quotes are missing. An encoding mismatch. Re-save the file as UTF-8 with the .m3u8 extension. If the app only accepts .m3u, rename the paths and file names that use those characters, or replace curly quotes with straight ones.
  • The playlist imports but is empty. The app couldn't parse the file at all. Check that the first line is #EXTM3U or a path, that the file isn't a streaming manifest, and that the files it lists are formats the app plays.
  • Tracks import in the wrong order. Some apps sort imported playlists by a column. Sort by the playlist order (often a # column) rather than by title.
  • The file was made on Windows and fails on a Mac. Backslashes in the paths. Replace them with forward slashes.
  • A few tracks fail with very long names. Long folder and file names can exceed what an app or file system accepts. Shorten the folder structure; Music/Set name/01 Artist - Title.flac is plenty.
  • Tracks play but BPM and key are blank. The M3U only carried paths. Analyse in the app, or make sure BPM and key are written into the files' tags first; ID3 tags for DJs explains which fields each app reads.

When a playlist fails and you can't see why, make a test copy with two tracks whose names use only plain letters and numbers. If that imports, the problem is in the names or paths of the others, not in the app.

Writing playlists that import cleanly

  • Save as UTF-8 with the .m3u8 extension.
  • Use relative paths, and keep the playlist in the same folder as its tracks or one level above.
  • Name files in play order (01 Artist - Title.flac) so the folder still makes sense if the playlist is lost.
  • Avoid characters FAT32 rejects (\ / : * ? " < > |) if the music lives on a USB stick; How to format a USB stick for DJing covers the file system side.
  • Never move or rename files after importing. If you need to reorganise, do it first, as described in How to organise a DJ music library.

Scratch Storage's USB export writes a folder per playlist with an M3U8 alongside it, plus Serato crates and a rekordbox.xml, so the same stick can be imported into any of these apps. The USB export page shows the layout.

A practical recommendation

Treat M3U8 as the hand-off format between tools and keep the real preparation in the app you play from. Keep the music in one stable place, write playlists as UTF-8 with relative paths, import once, analyse, then set your cues. If you play on CDJs, go through rekordbox and export to USB from there. If something goes missing, open the file in a text editor: the answer is almost always visible in the path.

Questions, answered

Does an M3U8 playlist contain the music?
No. It is a text file listing where the audio files are. If the files aren't at those paths, the app has nothing to load.
Can I just rename .m3u8 to .m3u?
Yes, the structure is identical. The risk is that the app then reads the text in a different encoding, so check tracks with accented names after import.
Will my hot cues and beat grids come across in an M3U8?
No. M3U8 carries paths and, at most, a display name and duration. Cues and grids are stored by each app, or in the file's tags for some apps, never in the playlist.
Can a CDJ play an M3U8 playlist from USB?
No. Import it into rekordbox and export to USB from there, or browse the folders on the player in folder view.
Why do the tracks show as missing on another laptop?
The playlist or the app stored absolute paths, and the drive now has a different name or letter. Use relative paths in the playlist, or relocate the tracks in the app.

Put it into practice.

BPM and key on every track, DJ mode in the browser, and USB exports for Serato, rekordbox, CDJs and Engine OS.

Free to use. No card required.