Streaming & Apps

How to Turn MP3 Filenames Into Track Tags in Kid3

Start with three copied MP3s, use Kid3’s filename-to-tag control, and check the track number and title before saving the batch.

By Guide
The Kid3 desktop interface with the file list, From and To controls, and Tag 2 fields visible.
apps.kde.org | Source

A folder can look perfectly tidy in Explorer and turn into Unknown Artist the moment you open it in a music player. Numbers and song names in a filename are useful, but they don't automatically become entries in the track’s tags. Kid3 can pull those entries out of filenames. The easiest way to see what it will do is to start with a copy of a few files and check the result one song at a time.

Pick a small folder with one naming pattern

Say you have three MP3s named 01 Arrival.mp3, 02 Night Train.mp3 and 03 Last Stop.mp3. Those names contain the track number and title. They give you no album artist or release year, so leave those fields alone during this part. If two of the songs already have good titles in their tags, keep the copies in a separate folder and use a single file for the first pass. Before pressing anything, write down the current title and number on the first copy. Do the same for one file whose tag you already trust. That gives you a quick way to spot an unexpected change.

Open one of the copies in Kid3. Its example usage page shows how the other files in the folder appear in the file list. The File section sits to the right in the official desktop screenshot. It contains two format controls. Look at the direction before you use either one.

Kid3 File section showing the From and To controls beside two format fields.
apps.kde.org | Source

Send the filename information into the tag

Use the lower Format control with the down arrow for filename-to-tag work. In the practice example the pattern is a track number, one space and then the title. The Kid3 command reference documents the format codes and the To buttons. In this example use %{track} %{title}. Choose To → Tag 2 if your target is the MP3’s ID3v2 area. The other direction, From → Tag 2, uses the tag to set the filename. If you just wanted to fix the player’s library view, that reverse operation solves a different problem.

With one file selected, check the values Kid3 puts into the fields. On the second copy in the practice folder you want Title to read Night Train and Track Number to read 2. If Title shows 02 Night Train, the number has gone into the wrong field. If it shows only Night, the title has been cut short. Either result is a reason to check the pattern before selecting the other copies. Kid3’s reference says it can try other common filename patterns when the chosen one doesn’t match. A filled field is therefore a reason to check the result, even if the program showed no warning.

Kid3 Tag 2 fields with an ID3v2 tag and separate Title, Artist, Album and Track Number values.
apps.kde.org | Source

Check a second file before saving the batch

When the first result makes sense, try the same pattern on the other practice files. Click through the files individually and read back the track number and title. If you need to set an artist or album on the whole batch, use fields that really should match across all three. The handbook explains that field checkboxes control which values change together. Make those shared edits separately from the filename pass so you can tell which step caused a bad result.

Use File → Save once the copies look right. Open them in the player where they were getting lost and check what appears under the album. If the library still shows the previous tags, check whether that player needs to refresh the folder. Keep the original files until you can see the expected entries. The same small-library approach helps if you later try the files in a Navidrome library. A small practice folder costs a few minutes. It also shows where filename information ends and where the tagging decisions still belong to you.

Sources

Sources checked: 2026-11-30.

Updated Nov 30, 2026More Streaming & Apps →