MP3 Metadata: ID3 Tag and Filename Best Practice

12 replies [Last post]
Joined: 02/12/2009

All digital media needs extensive embedded information (metadata). From the consumer's viewpoint, media is much more useful when it contains rich information about the work. From an artist's perspective, digital media delivered via the web can only offer promotional benefit to the owner if it contains proper credits. This "Best Practice" report assumes that you already know the importance of extensive metadata, and will just describe my proven methods of implementation.

[MP3 audio encoding methodology (MP3LAME vs AAC vs WMA etc.) is a separate discussion. The encoding short story: future-proof your audio by creating original masters in an uncompressed file format. Today's standard uncompressed audio format is Broadcast WAV. Broadcast WAV files (abbreviated BWF) have the file extension .wav, just as WAVE files do, but Broadcast WAV files contain additional metadata. However it is important to note that .wav files do NOT hold the type of metadata that applications such as iTunes read and write, namely ID3 tags. AIFF files do hold ID3 tags. Portable compressed formats (MP3, AAC etc.) will inevitably change, so each time return to the original master and create a new compressed file. Pick the highest bitrate available. Unfortunately, a remaining challenge is migrating ID3 tag data from the previous compressed format each time a new reformatting is necessary.]


I have written this to share my findings and methods with others like myself who manage large collections of music. This will help your music library maintenance by creating a consistent metadata and filename structure.

These methods apply for any file format which can be tagged with metadata (MP3, AAC, AIFF etc). Example methods are platform-independent except a few OS X apps; the reasoning and results are universal. All of this might seem picky to you unless you manage dozens of gigabytes of files or distribute music online. Eventually this will become essential for any collection as it grows, so learn now or live with a mess later.


For today's popular compressed audio formats such as MP3 and AAC, each track's info is kept in ID3 tags. Complete tags enable powerful manipulations such as automated playlists, click-to-buy links and multiple-field sorting. Info in filenames is much less useful and should contain no more than the Artist and Title to reduce clutter. (To be precise, AAC files don't technically use ID3 tags- they use a different standard with the same field names as ID3 so the rules below all still apply. Windows Media files have metadata tags as well... sort of.)

There are numerous revisions to the ID3 tag specification, but the best version presently is ID3 v2.3. (There's also v2.4 but it is not yet compatible with all player apps.) ID3 v2 was a complete revamp over v1, adding new fields such as bpm, composer, music-synced lyrics for karaoke, and it allows for future expansion fields. ID3 v1 tags could not hold much data (<30 characters) and had few fields. Here's a nice explanation and more:

More on the ID3 spec and the differences between versions:

One more note and I'll wrap up this long intro. If you can't do all of what I'm recommending, at least create complete metadata (ID3 tags). If you don't follow my recommendations for the filename, you'll be fine. But at least complete the metadata!

My process for new MP3 files:


First, if you're using iTunes (PC or Mac), I DON'T want iTunes renaming files with just the track name (no artist), so make sure to uncheck this preference:
Advanced --> General --> "Keep iTunes Music Folder Organized"

Also, uncheck Advanced --> Importing --> "Create file names with track number"

Batch-convert all ID3 tags to v2.3 with iTunes:
(iTunes-->Advanced menu-->Convert ID3 Tags, or just right-click on the songs).

iTunes (version 4) sets ID3 v2.2 tags by default when ripping. That's usually fine, but I go for v2.3. I don't recommend v2.4 until more players recognize it. But if you just use iTunes or another app that can read v2.4, then v2.4 is fine.

Other ID3 editors for Mac: The commercial Media Rage and the commercial AutoTagX.

ID3 editor for PC: the free MP3 Tag Tools, or ID3-TagIT (requires .net framework). [edit: see later posts below for more PC apps.]

Fix info in the tags which is inevitably lacking even if from a built-in feature such as iTunes "Get track names" (this pulls data from Gracenote, which comes from end-user submissions). The best second-opinion for info is, aka the All Music Guide aka AMG. I have written custom scripts to lookup a track's artist/title/album on iTunes 4.5 adds buttons to the top 3 fields to check it at the iTMS.

The genre tag is extremely important to my system. Each track is individually assigned one of my own 46+ custom alphabetically-arranged genres. When adding an album to my collection, I only add the keeper tracks, and treat each keeper individually. (Don't get me started about hiphop "interlude" skits!) This is much more useful than assigning the same genre to an entire album and avoids the dreaded moodkiller shuffle track:

For multi-artist compilations and "best of"s, I like to research the original album release of each track, after double-checking that it is the same original version (check the track length). At the very least, I correct the year.

Other ID3 tag entry rules:
- Guest stars' names do not go in the song title. Add them to the Artist field for that song after the word "featuring" (which is not capitalized).
- Do not include multi-disc set "[Disc #]" in the album title. That goes in the "disc _ of _" fields.
- If possible, include year, composer, etc.
- I use the comments section for web URLs, sample spotting, mix ideas, keywords, mashup sources etc. Don't waste the comments field with the name of the encoding app (it's already in the "encoded with" field).
- Make sure your application is writing the info into the mp3 file itself, and not just entering it into a proprietary database that references the file. For example, there are a few items which iTunes doesn't put in the file, such as the rating and the volume. These get stored in the separate iTunes (XML) Music Library.
- The "grouping" field can be used for classical movements or compilation source when the original album is known.
- Replace ampersands ("&") with the word "and". (The ampersand is displayed weirdly by some web-based playlists because it is interpreted as HTML code.)

[edit 2007: watch out for iTunes version 7's Album Art handling. If you use the "Get Album Artwork" function, iTunes doesn't put the art in the file itself.]

Album art is retrieved (from Amazon or Google) and copied into the files with iTunes or an app such as:

Run a script which renames filenames in this format:
[Those applescripts may require changing settings such as one which replaces illegal characters with _'"’!?#(),+&.* /: ]

For further filename manipulation, try this handy utility, which can even read the ID3 tags and name the file as you wish,
for PC it's called A Better File Rename:
for Mac it's called A Better Finder Rename:

That app is priceless! I've built stand-alone applets that do all kinds of renaming batch work.

Run a script which moves the files into genre folders. Most normal humans use ArtistName folders, but I like genres because it makes backups, burning MP3 CDs and playlist-building easier. Download my script here (Mac Only, the instructions are in the script code - open with Script Editor):

•))) (optional. Actually, most of this is optional for everyone but me. sigh.)
Finally, all tracks are imported into Traktor DJ Studio for beats-per-minute and waveform analysis:
Traktor DJ Studio

Once they are ripped, the CDs go in storage. I put a little sticker on the back of each ripped CD case so I can tell if/how it's been ripped. I list three things on that sticker: the bitrate, the date and the number of tracks ripped. This will come in handy in the future when I inevitably need to rerip.

Periodically review collection for missing info by sorting each field, or by smart playlists programmed to return empty fields.

Still unresolved: If an album is a "greatest hits" with all songs by one artist, is it technically a "compilation"? I like to enter the original year of release for each track and when available, the original album title. But when I don't do that, I tag these albums as "compilations."

However, some applications (in particular iTunes) don't think that way when sorting a library of songs. They consider this to NOT be a compilation, because the artist of each track is the same.

So I'm considering changing my stance on greatest hits compilations.

I'm open to suggestions, and I welcome feedback, particularly on PC apps to augment those listed above.

I'll post more on this as I go. Hope that helps!

p.s. I'm more than just an insanely obsessive music librarian. I make good use of this for DJ gigs:

[ This article was updated a few times in 2004 and 2005. ]

Joined: 07/12/2004


I was wondering if you could tell me abit more about META DATA and its involvement in MP3 ENCODING in relation to putting out material on ITunes and Napster. I've been referred to Association of Independant Music. I'm after software that allows this process.

Many Thanks,

Music is the key to life

Joined: 02/12/2009

"Metadata" is a general term referring to, essentially, data about data:

In music files, the metadata is the information about the audio that is embedded in the file, such as the artist, title, etc. For MP3 files (and some other file formats), the standard is ID3 tags. This is important so that you don't have an untagged audio file out there with no information to bring back the listener to the source. Give credit where credit is due!

Almost every MP3 encoding application (including iTunes) allows you to enter metadata into the file in the form of ID3 tags.

Joined: 07/12/2004

Thanks for your reply, wou;d it possible to refer me to some programs by professional bodies that allow ID tags to be inserted, as the information inserted into iTunes really isn;t enough. For example, Composer, Lyrics, and IRc code of the album.

Also from iTunes do you know how to import the music from the Library onto iTunes website for people to buy?

Many thanks,


Music is the key to life

Joined: 02/12/2009

iTunes does allow you to add the composer, but not lyrics or the ISRC (International Standard Recording Code). Keep in mind, though, that unless you are a record label, these extra fields might not be neccesary. Very few player applications can read that extra info anyway, so it might not be worth the trouble to go beyond iTunes. That said, there are plenty of apps to choose from. Here are a few, but you'll have to check them out for yourself to see just which tags they can add:

For Mac:

MP3 Rage



For PC, there are plenty to choose from, including the free iTunes. Rather than repeat others' good work, here are a couple of articles on PC apps:
[edit: that article is missing? 4/2005]

re. getting YOUR music INTO the iTunes music store, you can't do it from the iTunes player. You need to be represented by a major label or (if you are an independent label) an aggregator middleman company such as:

For more on that, see this article:

Hope that helps,

Joined: 07/12/2004

Hi, thanks for your help, but I've this query raised by my senior that these don’t allow you to customise the metadata you enter on the MP3 as we need it.

Hence, a programme that can read metadata off an Excel or Csv file ...

Music is the key to life

Joined: 02/11/2007

Silent Way,

I hope you aren't a psycho because I have to tell you: I adore you.

I was hoping you could clarify a few things for mei. I am a PC user:

1. I am still a little confused about the difference between and ID3 tag and a Windows Media files metadata tags. Are you using the two terms synonymously? I read the article you cited, but it isn't helping much. I assume the Windows Media files metadata tag is when you right-click on an MP3 file > Properties > Summary tab > Advanced button. Is this correct?

2. Why can't I add an entire song's worth of lyrics in the lyric field here? I get an error pop-up, titled "Summary Properties" that reads "a disk error occured during write operation." Strangely, however, if I divide the lyrics into two parts, then cut and copy the two parts separately, it works! Is there some sort of character max. limit that I can add to the lyric field at one time? I thought that maybe there's some hidden formatting info. that I copied that the metadata didn't like, so I copied and pasted all of the lyrics to Notepad (which I know is neutral) and then tried to copy and paste from there into the Lyrics field in the metadata, but that didn't work either. The only way I could successfully add lyrics was to divide by two. But that's double the work!

3. What is the best way to retrieve and input lyric info. into my metadata (or is it "ID3"?)?

4. Is there a source you know of that already includes lyrics in the metadata so I don't have to put it in manually myself? Do some artists have this info. pre-programmed on their songs/albums now?

5. Do you know how the WM/Lyrics_Synchronised feature works in Windows? It is really confusing. It mentions this feature in the article (above link), but it didn't help me.

6. Since I could not add lyrics (easily) into the metadata of my MP3s, I got coerced into using iTunes' "Get Info" feature (right-click > Get Info). I could easily add lyrics in their lyrics tab there. You warned: "Make sure your application is writing the info into the mp3 file itself, and not just entering it into a proprietary database that references the file. For example, there are a few items which iTunes doesn't put in the file, such as the rating and the volume. These get stored in the separate iTunes (XML) Music Library." Do you strongly recommend against this? I would rather store my lyrics in the metadata of each MP3 file, but like I said, it hasn't been working smoothly for me.

7. iTunes question: What is the best way to back up your files? How is the File > Export feature different from the File > Backup onto DVD or CD-R feature? And how are those different from manually copying the entire iTunes parent folder?

8. iTunes question: When I copy/back-up my iTunes Library, will it backup my Lyrics if it is stored in the "Get Info" area?

9. iTunes question: In the "Get Info" area, the Artist and Album Name populate. Did this info. come from the MP3 file's metadata/ID3 tag?

10. What about album artwork? What's the best way to put it into my metadata/ID3 tag? Will it populate in the "Get Info" area if I have it stored in the MP3 file's metadata/ID3 tag? Same with lyrics? If I can successfully add lyrics to the metadata of the MP3 (ie. not the Get Info feature in iTunes as I'm reluctantly doing it now), will it auto-populate in the lyrics tab in the Get Info area of iTunes?

11. Last question: change of subject: I am old fashioned. I buy the CD, RIP it, then transfer the music into my iTunes. Is it best to RIP it as an MP3 file?

Feel free to elaborate! I am going to go read the rest of your posts now. Thank you so much for your help!


Joined: 02/11/2007

Nkee's question #1: Okay, I get it now. I just read your "Mon Jul 12, 2004 5:40 pm" post.

Joined: 02/11/2007

What is up with Doug's Applescrips for iTunes website? I am getting a thousand runtime errors! Is it because I use a P.C.?

Joined: 02/12/2009

nkee and I figured out a lot of the above questions off-forum. Here's what we found:

The ultimate test to see if any data is kept in the file (rather than in an application's separate database) is to transfer the file to another computer and see if the info still shows up.

The PC version of iTunes 7 DOES save the lyrics in the file itself. But the artwork is not saved in the file.

When using Windows Explorer's "Properties" to add lyrics, there's a limit to the amount of text that can be pasted in. SO the workaround would be to paste text in in two sections. But iTunes makes it easier, so use iTunes instead.

Backing up your music collection is easiest by means of burning an MP3CD via iTunes. And, the lyrics are preserved in the file. (More.)

iTunes' Artist and Album Name tags are kept in the file.

re the best quality rip: read this article.

Joined: 02/11/2007

I just came across a new problem: I was trying to run our little test, but I couldn't locate the original file in my iTunes music folder (and therefore, couldn't check whether or not the lyrics would be saved into the metadata of the file that's associated with the song that appears in iTunes Library, when I add lyrics into the "Get Info" section there.) Is this because the box "Copy music to iTunes music folder when adding to library" box is NOT checked? Originally, I just dragged and dropped my MP3 files from their original location right into the iTunes Library interface. Does that mean that the files still in their original spots b/c I didn't check the box? And does that imply that all information added into the "Get Info" screen in iTunes Library will not get saved into the metadata of the song because there isn't even an actual file associated with it? It's definitley not associated with the original file that I dragged and dropped into iTunes Libaray; I'm sure because it's not taking the lyric info that I pasted into "Get Info," which - according to our experiment - it should have.

Joined: 02/27/2007

hey silentway,

In the 1st post on this topic you wrote "I have written custom scripts to lookup a track's artist/title/album on". Is it possible that you could make these scripts available?

what I need is a source to which I can submit the SongName-Artist and it provides me Genre AND Sub-Genre (style in the case of AMG) along with other information about the song.

Your help would be appreciated.


Joined: 02/12/2009


Unfortunately I know of no method of sending info TO websites such as (In fact, they make it pretty impossible to submit info or corrections to their database. I have a number of album credits and I've struck out trying to contact them to make corrections.)

Nor is there a way I know of to submit info and have the genre returned.

The only thing I know of is an easier way to look up info at, via Firefox Search Engine add-ons:

For Mac users, check out these Applescripts for iTunes and Safari, but allmusic scripts break often due to changes at their site. So they might require manual updating (Applescript knowledge required):

Share this