Rekordbox XML: Export It, Find the File, Import It Back
Updated 2026-11-28 · 7 min read
The rekordbox XML is the one door rekordbox leaves open to other software. Set planners, library tools, converters and practice apps read it, and rekordbox can read XML files written by them. It is also the source of most confusion: people cannot find the file, cannot see the playlists they imported, or open an XML on another computer and get nothing. This guide covers what the file is, how to export it, where it goes, how to get one back into rekordbox and what to check when it does not work.
What the rekordbox XML actually is
It is a plain-text snapshot of your collection, written in XML. You can open it in any text editor. The root element is DJ_PLAYLISTS, and inside it there are two parts:
- COLLECTION: one TRACK entry per track, with the file path, title, artist, album, genre, label, BPM, key, length, rating, play count, comments and date added. Each track can also carry its beat grid (TEMPO entries) and its cue points and loops (POSITION_MARK entries, with hot cues numbered).
- PLAYLISTS: your playlist tree. Folders and playlists are nested NODE entries, and each playlist lists its tracks by ID.
Two things are not in it. There is no audio: the file only stores where each track lives on your disk. And there are no waveforms. It is a description of your library, not a copy of it.
It is also a snapshot, not a live link. The moment you change a cue, a rating or a playlist in rekordbox, the XML you exported earlier is out of date. Other software sees what was true when you exported.
How to export your collection as XML
- Open rekordbox on the computer that has your library.
- Open the File menu and choose Export Collection in xml format.
- Pick a folder and a name, for example collection.xml on your Desktop, and save.
The export covers the whole collection and all your playlists. For a large library it can take a little while, and the file can be big; that is normal.
rekordbox 7 can also export automatically each time it closes. Pioneer documents this in the rekordbox FAQ as part of the Tribe XR integration: in Preferences → Advanced → Others, turn on XML Auto Export and choose where the file should be saved. If you use another tool that reads the XML, this saves you from forgetting to re-export.
Where is the rekordbox XML file?
Wherever you saved it. rekordbox does not keep the exported XML in a hidden folder of its own: the file goes to the folder you chose in the save dialog (or, with auto export, the location set in Preferences). If you cannot remember where that was, search your computer for the file name, or simply export again. Since the XML is a snapshot, a fresh export is usually what you want anyway.
Do not confuse it with rekordbox's own library database, which is a different file. rekordbox 6 and 7 keep the library in an encrypted database called master.db, by default in ~/Library/Pioneer/rekordbox/ on a Mac and in %APPDATA%\Pioneer\rekordbox\ on Windows. That file is not meant to be opened or edited by hand; the XML export is the documented way to hand your library to other software.
How to load an XML back into rekordbox
Importing works in the other direction: you point rekordbox at an XML file, it shows that file's contents in its own section of the browser, and you choose what to bring into your collection.
- In rekordbox 6 and 7, open Preferences → Advanced → Database, find rekordbox xml and set Imported Library to the XML file. (Older versions put this setting under Preferences → Bridge.)
- In Preferences → View → Layout, tick rekordbox xml so the section appears in the tree view on the left.
- Open rekordbox xml in the tree view. You will see the tracks and playlists from the file.
- Right-click a playlist and choose Import Playlist, or select tracks and choose Import To Collection.
Before you import, export a fresh XML of your own library as a backup. Importing can overwrite the beat grids, cues, tags and playlists of tracks that are already in your collection with whatever the XML says.
Common problems and fixes
- "rekordbox xml" does not show in the tree view. The Imported Library path is not set, or the Layout tick box is off. Set both, then reopen the section.
- Tracks import but show as missing. The XML stores absolute file paths (as file://localhost/... addresses). If the music moved, or the XML came from another computer with a different user name or drive letter, the paths point nowhere. Keep the same folder structure on both machines, or relocate the missing files in rekordbox after the import.
- The file "cannot be read properly". Pioneer's developer notes say the file must start with the standard XML declaration (<?xml version="1.0" encoding="UTF-8" ?>) and follow the format rekordbox supports. Files edited by hand often break on an unescaped & in a track or playlist name. If another tool wrote the file, export again from that tool rather than fixing it by hand.
- A playlist will not import. Two playlists or folders with the same name cannot sit at the same level. Rename one of them in the source app and export again.
- Changes do not show up. You are looking at an old snapshot. Export again, and in rekordbox re-import the playlist from the rekordbox xml section.
Doing this with Beatweave
Beatweave works with your rekordbox library in both directions:
- Mac app: no export needed. It reads rekordbox's library directly (tracks, ratings, playlists, folders and smart playlists), without changing rekordbox's database. Click Resync after you change things in rekordbox.
- Web app: import your XML. Export your collection as above, then use Import XML in the toolbar. Tracks, keys, BPMs, cue points and playlists come in; re-importing later does not overwrite the sets you built in Beatweave.
- Getting sets back into rekordbox. The Mac app keeps the playlists you make in Beatweave in one file, ~/Documents/Beatweave/beatweave.xml. Point rekordbox's Imported Library at it once, then import playlists from the rekordbox xml section as described above. Any single set can also be exported as Rekordbox XML or Traktor NML (Pro), or as M3U8 and CSV.
Exports carry only what DJ software can read back: title, artist, album, genre, BPM, key, duration and file paths. Beatweave's own energy, mood and tags stay in Beatweave. For what to do with your library once it is in, see our guides to planning a DJ set and harmonic mixing.
FAQ
What is the rekordbox XML file?
A plain-text export of your rekordbox collection: every track's file path, tags, BPM, key, beat grid and cue points, plus your playlist tree. It holds no audio, only references to your files.
How do I export my rekordbox library to XML?
In rekordbox, open the File menu, choose Export Collection in xml format, and save the file wherever you like. It includes the whole collection and all playlists.
Where does rekordbox save the XML file?
In the folder you choose when you export, or in the location set for XML Auto Export in Preferences. rekordbox's own library database is a separate file called master.db.
Why can't I see rekordbox xml in the tree view?
Set the Imported Library file in Preferences (Advanced, Database, rekordbox xml) and tick rekordbox xml under Preferences, View, Layout. Both are needed.
Does the XML update automatically when I change my library?
No. It is a snapshot from the moment you exported. Export again after changes, or turn on XML Auto Export so rekordbox writes a new one each time it closes.
Can I use a rekordbox XML on another computer?
Yes, but the file paths inside it must match where the music lives on that computer. Keep the same folder structure, or relocate the missing files after importing.