ID3v1 Tags

What is ID3 (v1)?

The audio format MPEG layer I, layer II and layer III (MP3) has no native way of saving information about the contents, except for some simple yes/no parameters like "private", "copyrighted" and "original home" (meaning this is the original file and not a copy). A solution to this problem was introduced with the program "Studio3" by Eric Kemp alias NamkraD in 1996. By adding a small chunk of extra data at the start of the file one could get the MP3 file to carry information about the audio and not just the audio itself.

The placement of the tag, as the data was called, was probably chosen as there were little chance that it should disturb decoders. In order to make it easy to detect a fixed size of 128 bytes was chosen. The tag has the following layout (as shown by the diagram on the right):


30 characters


30 characters


30 characters


4 characters


30 characters


1 byte

If you one sum the size of all these fields we see that 30+30+30+4+30+1 equals 125 bytes and not 128 bytes. The missing three bytes can be found at the very start of the tag, before the Title. These three bytes are always "TAG" and is the identification that this is indeed an ID3 Tag. The easiest way to find an ID3v1/1.1 Tag is to look for the word "TAG" 128 bytes from the end of a file.

As all artists don't have a 30 character name it is said that if there is some bytes left after the information is entered in the field, those bytes should be filled with null characters (zero). You might also think that you cannot write that much in the genre field, being one byte big, but it is more clever than that. The byte value you enter in the genre field corresponds to a value in a predefined list. The list that Eric Kemp created had 80 entries, ranging from 0 to 79.

Internal layout of an ID3v1

tagged file


What is ID3v1.1?

ID3v1 may well be easy to implement for programmers, but it sure is frustrating for those with their own, creative ideas. Since the ID3v1 Tag had a fixed size and no space marked "Reserved for future use", there isn't really room for that much improvement, if you want to maintain compatibility with existing software.

One who found a way out was Michael Mutschler who made a quite clever improvement on ID3v1. Since all non-filled fields must be padded with zeroed bytes its a good assumption that all ID3v1 readers will stop reading the field when they encounter a zeroed byte. If the second to last byte of a field is zeroed and the last one isn't we have an extra byte to fill with information. As the Comment field is too short to write anything useful, the ID3v1.1 standard declares that this field should be 28 characters, and the next byte should always be zero and the last byte before the Genre byte should contain the track on the CD this music comes from.

Internal layout of an ID3v1.1

tagged file


Please go to for more information on ID3 Tags.