Library
ID3 tags for DJs: the BPM, key, comment and artwork fields apps read
ID3 tags for DJs: which fields DJ apps read for BPM, key, comments, grouping and artwork, ID3v2.3 vs v2.4, FLAC and AIFF tags, and how to keep them consistent.
11 min read
In short
- BPM lives in the
TBPMframe and key inTKEYfor MP3 and AIFF; FLAC uses the Vorbis commentsBPMandINITIALKEY. - Write MP3 and AIFF tags as ID3v2.3 with UTF-16 text: every DJ application and player reads it, while ID3v2.4 support is still patchy in places.
- Put the key in classic notation (
Am,F#m) inTKEY, because the standard limits it to three characters and expects a musical key, not a Camelot code. - Comments, grouping and embedded JPEG artwork travel with the file; ratings, colours, cues and most custom labels live in each program's own database.
- WAV is the weak link: its tag support is inconsistent across applications, so convert to AIFF or FLAC if the tags matter to you.
On this page10 sections
The short answer: the fields that matter
A DJ application reads a small set of standard tag fields when it imports a track, and fills its own database from them. Get those fields right in the file and every program you use, now or in five years, starts from the same artist, title, BPM and key. Everything else a DJ program knows about a track (beat grid, cues, loops, play count, colour) is stored in its own database or in private data it adds to the file, and doesn't carry across to another program.
| What it holds | ID3v2 frame (MP3, AIFF) | Vorbis comment (FLAC) | MP4 atom (M4A, ALAC) |
|---|---|---|---|
| Title | TIT2 | TITLE | ©nam |
| Artist | TPE1 | ARTIST | ©ART |
| Album | TALB | ALBUM | ©alb |
| Genre | TCON | GENRE | ©gen |
| BPM | TBPM | BPM | tmpo (whole numbers only) |
| Musical key | TKEY | INITIALKEY (some apps use KEY) | A freeform field; naming varies by tagger |
| Comment | COMM | COMMENT or DESCRIPTION | ©cmt |
| Grouping | TIT1, or Apple's GRP1 | GROUPING | ©grp |
| Year / date | TYER (v2.3) or TDRC (v2.4) | DATE | ©day |
| Label | TPUB | LABEL or ORGANIZATION | A freeform field |
| Artwork | APIC | A PICTURE block | covr |
You rarely type these names yourself. A tag editor such as Mp3tag or Kid3 shows friendly labels ("BPM", "Initial key") and maps them to the right frame for each format. Knowing the real names helps when two applications disagree, because you can open the file and see which field each one wrote.
BPM and key: TBPM, TKEY and INITIALKEY
BPM. The ID3 standard defines TBPM as the tempo of the main part of the track, as a whole number stored as text. In practice many DJ applications write decimals such as 124.00 or 127.98, and most readers accept them, but a strict reader may round or ignore them. If a value looks wrong on one machine and right on another, check whether the tag holds a decimal. In M4A files the tmpo atom is a whole number by design, so a 127.98 BPM track is stored as 128.
Key. TKEY is limited to three characters: a letter from A to G, an optional b or #, and an optional m for minor, so Am, F#m, Bb and Ebm are all valid, plus the single letter o for music with no key. A Camelot code such as 8A or an Open Key code such as 1m is not what the standard describes, and some readers will show it as text without understanding it as a key. Classic notation is the safe value to write; let each application display it as Camelot or Open Key on screen.
FLAC. Vorbis comments are free-form name and value pairs, so there is no official key field. BPM and INITIALKEY are by far the most common names and are what most DJ applications look for; a few programs and taggers use KEY instead. If a FLAC shows a key in one application and a blank in another, the two are probably reading different field names, and writing the value to both does no harm.
For what the numbers mean on the decks, and how Camelot and Open Key map to classic notation, see BPM, Camelot keys and harmonic mixing explained.
ID3v2.3 vs ID3v2.4: which to write
ID3v2.4 arrived in 2000 as a revision of v2.3. The main differences that affect DJs are text encoding and dates: v2.4 added UTF-8 as a text encoding, and replaced the separate year, date and time frames (TYER, TDAT, TIME) with a single TDRC timestamp. It also changed some low-level details of how frames are stored. The official list of changes is short if you want the detail.
| Feature | ID3v2.3 | ID3v2.4 |
|---|---|---|
| Text encodings | ISO-8859-1 or UTF-16 | ISO-8859-1, UTF-16 or UTF-8 |
| Year | TYER (plus TDAT, TIME) | TDRC timestamp |
| Support in DJ software and hardware | Universal | Good in current desktop software; less certain on older players and some tools |
| Safe default for a DJ library | Yes | Only if every application and player you use reads it |
The practical answer is to write ID3v2.3 with UTF-16 text. It handles accented and non-Latin artist names, and it is the version every application and player has read for twenty years. DJs regularly report problems that disappear after resaving as v2.3, the most common being embedded artwork that shows in one program but not in another. Mp3tag offers "ID3v2.3 UTF-16" as a write option under its MPEG tag settings; most other tag editors have an equivalent.
Don't write UTF-8 into a v2.3 tag. Some tools allow it, but it is outside the standard, and strict readers show garbled characters. Also consider removing old ID3v1 and APE tags when you resave: they add a second, often outdated, copy of the same information that a few readers prefer over the ID3v2 tag.
Comments, grouping and your own labels
Comment and grouping are the two standard fields DJs bend to their own use: energy ratings, set positions, "vocal", "tool", "peak". Both are written into the file, so they survive a move to new software, which ratings and colours mostly don't. The trade-off is that each has quirks.
- Comment (`COMM`). An ID3 comment frame carries a language code and a short description as well as the text, so one file can hold several comments. Most DJ software shows only one of them, usually the one with an empty description. Some analysis tools write their results into the comment field, which can overwrite your own notes; check what a tool writes before running it across a whole library.
- Grouping. The ID3 standard puts grouping in
TIT1. Apple's Music app and iTunes moved their Grouping field to a separateGRP1frame and now useTIT1for classical Work names. A tag editor can write either, and two applications can show different values for "grouping" in the same file for this reason. - Custom fields (`TXXX`). ID3 allows user-defined text frames with any name. Tag editors read them happily, but DJ software generally ignores fields it doesn't know, so don't rely on one for anything you need on the decks.
- Prefixes keep searches clean. If you store several things in the comment, prefix each one (
E3for energy,#opener) so that a search for one value doesn't match unrelated numbers.
A broader approach to genres, energy and personal labels, including which ones to keep in tags and which to leave to playlists, is in How to organise a DJ music library.
Artwork: embedded JPEG, sensible size
Players and DJ software read artwork embedded in the file (APIC in ID3, a picture block in FLAC, covr in M4A), not a cover.jpg sitting in the folder. A few habits avoid almost every artwork problem:
- Embed a JPEG. It is the format every player handles; PNG artwork is not reliably shown on hardware.
- Mark it as the front cover (picture type "Cover (front)" in most tag editors) and embed one image, not several.
- Keep it modest. Around 500 to 1,000 pixels square is plenty for a player screen or a laptop browser. Store-supplied images of 3,000 pixels or more add megabytes to every file and to every copy on every stick, and some software scales them down on export anyway.
- Resave as ID3v2.3 if artwork shows in some programs and not others (see above).
FLAC, AIFF, WAV and M4A: where each keeps its tags
The audio format decides which tag system you get. It matters because a track is only as well tagged as its container allows.
| Format | Tag system | How well DJ software reads it |
|---|---|---|
| MP3 | ID3v2 at the start of the file | Everywhere. Write v2.3. |
| AIFF | An ID3v2 tag stored in its own chunk inside the file | Widely read by DJ software and players, the same fields as MP3. |
| FLAC | Vorbis comments plus picture blocks | Read by current DJ software; check the key field name if a key goes missing. |
| M4A (AAC, ALAC) | MP4 atoms, the iTunes style | Read for the common fields; key and other DJ fields depend on the tagger. |
| WAV | RIFF INFO chunk, sometimes an ID3 chunk as well | Inconsistent. Many applications show only the file name, or drop artwork and some fields. |
AIFF's ID3 chunk isn't part of the original AIFF specification, but it is the convention every DJ application follows, which is why AIFF is the dependable uncompressed choice. WAV has a native RIFF INFO chunk with only a handful of fields and no BPM or key, so tools that want more add an ID3 chunk, and whether a given program reads it is a matter of testing. If tags matter to you, and for DJs they do, keep WAV out of your library and convert to AIFF or FLAC; the audio is identical. The format trade-offs are covered in more depth in FLAC vs 320 MP3 vs WAV/AIFF for DJing.
Keeping tags consistent across DJ apps
Problems start when more than one program writes to the same files. Each DJ application may write BPM and key in its own format, add its own private data, or decide not to write to files at all. A simple routine keeps them in step:
- Choose one source of truth for BPM and key. Either one analysis tool writes the values into the files and everything else reads them, or one DJ application owns them and writes them back. Not both.
- Set your tag editor to ID3v2.3 UTF-16 and to write
INITIALKEYfor FLAC. Resave the library once so every file is in the same state. - Write classic key notation in the file and set each application to display Camelot or Open Key.
- Check each application's write-back setting. Most DJ applications can write some values back to files, usually behind a preference, and each decides for itself which fields it writes. Turn it on in the program that owns your tags and think twice before enabling it everywhere.
- Import new music only after tagging it, so the database starts from the right values instead of needing to be refreshed later.
- After editing tags outside a DJ app, ask it to reload them. Most programs only read tags on import; look for a reload or re-read tags option on the track's context menu.
Scratch Storage analyses BPM, key (shown as Camelot and Open Key), genre and loudness when you upload, and writes them into the files as tags, so the values travel to whichever software you use next. You can edit any value or reset it to the analysed one, and the files are exported exactly as you uploaded them, without transcoding.
Common problems and fixes
| Symptom | Likely cause | Fix |
|---|---|---|
| Key blank in one app, present in another | FLAC key stored as KEY rather than INITIALKEY, or a Camelot code the app doesn't parse | Write classic notation to INITIALKEY (and KEY if needed) |
| Artwork missing in one program | ID3v2.4 tag, PNG image, or several embedded pictures | Resave as ID3v2.3 with one front-cover JPEG |
| Accented names garbled | UTF-8 inside a v2.3 tag, or an old ID3v1 tag being read | Resave as v2.3 UTF-16 and remove ID3v1 and APE tags |
| Edited tags don't show in the DJ app | The app read the tags once on import and hasn't reloaded them | Use the app's reload or re-read tags option |
| BPM halves or doubles after import | The app re-analysed and picked a different tempo octave | Fix the value once, then lock the grid or set the app to keep existing BPM |
| WAV shows only the file name | The app doesn't read the WAV's tag chunk | Convert to AIFF or FLAC and retag |
| My comments disappeared | An analysis tool wrote its results to the comment field | Move your notes to grouping or use prefixes, and check tool settings |
A tag setup that works everywhere
Use MP3, AIFF or FLAC; write ID3v2.3 UTF-16 on the first two and BPM/INITIALKEY on FLAC; store keys in classic notation; embed one modest front-cover JPEG; and let a single program own BPM and key. Keep your own labels in comment or grouping with short prefixes. Do that once across the library and every DJ application you open will agree with the next.
Questions, answered
- Should I use ID3v2.3 or ID3v2.4 for a DJ library?
- ID3v2.3 with UTF-16 text. Every DJ application and player reads it, while v2.4 still causes occasional problems, most often with artwork.
- Which tag holds the musical key?
TKEYin MP3 and AIFF files, and usuallyINITIALKEYin FLAC. Write it in classic notation such asAmorF#m; the ID3 standard limits it to three characters.- Can I store Camelot codes like 8A in the key tag?
- Some software accepts them, but it isn't what the standard describes and not every reader understands it. Classic notation in the file, with Camelot shown on screen, works everywhere.
- Do hot cues and beat grids live in ID3 tags?
- Not in standard fields. Each DJ application keeps them in its own database, and Serato DJ Pro also stores them in private frames inside the file. Moving them between programs needs a conversion tool or an export format such as rekordbox.xml.
- Why don't my WAV tags show up?
- WAV has no single tag standard that every program reads. Convert the files to AIFF or FLAC, which carry the same audio and dependable tags.
- Can a BPM tag hold decimals?
- The ID3 standard defines
TBPMas a whole number, but many DJ applications write decimals and most readers accept them. M4A'stmpofield only holds whole numbers.