Music tags explained: ID3, Vorbis comments and MP4 atoms

When a player shows an album split into three, or a title in the wrong language, or no cover art, the cause is nearly always the tags: the small block of metadata stored inside each audio file. Understanding how tags are stored makes most library problems easy to diagnose.

Diagram: a song file holds the audio and a tag with title, artist, album and cover art
A song file holds the audio and a tag block with title, artist, album and cover art.

Three tagging systems cover almost everything

ID3 (MP3 files)

ID3 is the oldest and the messiest. Version 1 stored a fixed 128-byte block at the end of the file, with 30-character limits. Version 2 (2.3 and 2.4) uses flexible “frames” at the start of the file and supports long text, Unicode and embedded images. A frequent trap: ID3v2.3 and v2.4 encode text differently, and some older software shows garbled characters when it meets the other version. If accents look wrong, re-save the tags as v2.3 with UTF-16 or as v2.4 with UTF-8.

Vorbis comments (FLAC, Ogg Vorbis, Opus)

Simple key=value pairs such as ARTIST= and ALBUM=. Fields are free-form and can repeat (two ARTIST entries for a collaboration). Because there is no fixed list of keys, different software occasionally uses different names for the same thing, for instance ALBUMARTIST versus ALBUM ARTIST.

MP4 atoms (M4A, AAC, ALAC)

Metadata lives in labelled boxes called atoms, such as ©nam for the title and covr for cover art. Support is consistent among mainstream tools, though some less common fields are not.

JahSing 3 Edit tags window for a file with no tags, showing blank title, artist, album, album artist, genre, year, track, disc and comment fields
A file with no tags opens in JahSing 3’s Edit tags window with every field blank. Sample file.

Why albums split apart

A player groups tracks into an album using the album name and, ideally, the album-artist tag. If one track has an album artist of “Various Artists” and another has none, they may land in different groups. Likewise, tiny differences such as “Greatest Hits” versus “Greatest Hits  ” (a trailing space) can split a release. Fix: set the same album and album-artist on every track in the release.

Disc and track numbers

Multi-disc sets need a disc number as well as a track number, otherwise two “track 1” entries compete. Prefer the form “1/2” (disc one of two) if your editor offers it, or use separate fields.

Cover art

Art can be embedded in each file or stored beside the music as cover.jpg or folder.jpg. Embedded art travels with the file but increases its size; a 1000×1000 JPEG is plenty. JahSing 3 will look up missing artwork from the MusicBrainz Cover Art Archive when you ask it to.

JahSing 3 Edit tags window with title, artist, album, album artist, genre, year and track filled in
The same window after filling in the fields. Save to file writes them into the song. Sample data.

Editing tags safely

  1. Work on a copy of a few files first if you are using a tool for the first time.
  2. Edit by album, not by file, so shared fields stay identical.
  3. Check the results in two different players. If both agree, the tags are healthy.
  4. Avoid editors that rewrite whole files when only tags changed: they take longer and carry more risk.

JahSing 3’s built-in editor handles title, artist, album, album-artist, genre, year, track and disc numbers and comments, and writes them back in each format’s native tagging system so you do not need a separate program.

Related reading

For the bigger picture of how tags fit into library structure, see how to organise a large local music library.

Advertisement