rekordbox-key-tool
Converts track keys in a rekordbox.xml library file from standard musical notation
(as exported by Mixed In Key / MIK) to Camelot Wheel notation used by rekordbox.
The problem
When Mixed In Key analyzes your tracks and writes key data back to rekordbox,
it sometimes writes keys in standard notation (Am, C, F#m) rather than
the Camelot wheel format that rekordbox uses natively (8A, 8B, 2B).
This tool fixes that — in bulk, across your whole library.
Quick start — no coding needed
-
Download the latest version for your computer from Releases:
- Windows:
rekordbox-key-tool-windows.exe - macOS (Apple Silicon):
rekordbox-key-tool-macos-arm64.zip
- Windows:
-
Export your library from rekordbox: File → Export Collection in xml format.
-
Convert it
- Windows: drag
rekordbox.xmlontorekordbox-key-tool-windows.exe. - macOS: unzip, then in Terminal run
./rekordbox-key-tool ~/path/to/rekordbox.xml.
You get
rekordbox_fixed.xmlnext to the original. The original is never touched. - Windows: drag
-
Import
rekordbox_fixed.xmlback into rekordbox (see Importing).
The downloads aren't code-signed yet. Windows SmartScreen may say "Windows protected your PC": click More info → Run anyway. On macOS, if it's blocked, right-click → Open, or run
xattr -d com.apple.quarantine rekordbox-key-toolonce.
With Python
Requires Python 3.9+. No dependencies outside the standard library.
# Run straight from PyPI with uv, no install step
uvx rekordbox-key-tool rekordbox.xml
# Or install it
pip install rekordbox-key-tool
Usage
# Just the file: writes rekordbox_fixed.xml, original untouched
rekordbox-key-tool rekordbox.xml
# Preview changes without modifying anything
rekordbox-key-tool --input rekordbox.xml --dry-run
# Show every track that changes
rekordbox-key-tool --input rekordbox.xml --dry-run --verbose
# Convert and write to a named file
rekordbox-key-tool --input rekordbox.xml --output rekordbox_fixed.xml
# Convert in place (backs up to rekordbox.xml.bak first; an existing backup is never overwritten)
rekordbox-key-tool --input rekordbox.xml --inplace
Recognised key formats
| Format | Examples | Result |
|---|---|---|
| Standard / MIK | Am, F#m, Bbm, C, Eb |
8A, 11A, 3A, 8B, 5B |
| Long form | F# minor, Ab Major, A min, C maj |
11A, 4B, 8A, 8B |
| Unicode accidentals | A♭m, F♯ |
1A, 2B |
| Camelot, odd casing / zero-padded | 8a, 08A |
8A |
| Open Key (Traktor, Beatport) | 1m, 1d, 6m |
8A, 8B, 1A |
| Combined | Am/8A, 8A - Am |
8A |
Keys already in Camelot are left as they are. Anything not recognised is left unchanged and listed at the end of the run. Please report those as an issue.
Where is rekordbox.xml?
Export it from rekordbox: File → Export Collection in xml format
Default locations:
- Windows:
C:\Users\<user>\Documents\Pioneer\rekordbox\rekordbox.xml - macOS:
~/Library/Pioneer/rekordbox/rekordbox.xml
Importing into rekordbox
Back up your rekordbox library first (File → Library → Backup Library).
- Preferences → Advanced → Database → rekordbox xml → Imported Library: choose
rekordbox_fixed.xml. - Make sure rekordbox xml is ticked under Preferences → View → Layout, so it shows in the tree view.
- In the tree view, open rekordbox xml, right-click All Tracks → Import to Collection.
Key format mapping
| Standard (MIK) | Camelot |
|---|---|
| Ab minor / G# minor | 1A |
| B major | 1B |
| Eb minor / D# minor | 2A |
| F# major / Gb major | 2B |
| Bb minor / A# minor | 3A |
| Db major / C# major | 3B |
| F minor | 4A |
| Ab major / G# major | 4B |
| C minor | 5A |
| Eb major / D# major | 5B |
| G minor | 6A |
| Bb major / A# major | 6B |
| D minor | 7A |
| F major | 7B |
| A minor | 8A |
| C major | 8B |
| E minor | 9A |
| G major | 9B |
| B minor | 10A |
| D major | 10B |
| F# minor / Gb minor | 11A |
| A major | 11B |
| C# minor / Db minor | 12A |
| E major | 12B |
Development
python -m unittest discover -s tests -v
Releases are built by GitHub Actions when a v* tag is pushed: Windows .exe, macOS binary,
PyPI package and the GitHub Release page.
License
MIT — see LICENSE.
Part of squelch303
Metadata
Release files for rekordbox-key-tool 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rekordbox_key_tool-1.1.0.tar.gz | 9.3 kB | With provenance | Details for rekordbox_key_tool-1.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rekordbox_key_tool-1.1.0-py3-none-any.whl | Python 3 | none | any | Details for rekordbox_key_tool-1.1.0-py3-none-any.whl |
Total release size: 17.7 kB
Release files / rekordbox_key_tool-1.1.0.tar.gz
| Download URL | rekordbox_key_tool-1.1.0.tar.gz |
|---|---|
| Size | 9.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c9bbc1af7bc6c05fb347e31e8ec7b8f027914697ac834d0e64a6ff24b3d9f798
|
|
BLAKE2b-256 checksum How to use checksums |
948f298cb170a11e7d2c035b0d2f0ac425ff7c413d842801beadd371faa0baea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.
Transparency logRelease files / rekordbox_key_tool-1.1.0-py3-none-any.whl
| Download URL | rekordbox_key_tool-1.1.0-py3-none-any.whl |
|---|---|
| Size | 8.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6b608fc9bf025aa00197c7b3589cc59ca8c0dad9562cfa8645b083f5d71f9e7f
|
|
BLAKE2b-256 checksum How to use checksums |
d2c1b8f2d6dfbc62c2d3730dbcba22ac6a183b68162c05afc1ccc1ab7939a9e4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.
Transparency logSecurity for rekordbox-key-tool 1.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for rekordbox_key_tool-1.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.