# How do i include the track# in the title tag?

**URL:** https://community.mp3tag.de/t/how-do-i-include-the-track-in-the-title-tag/4234
**Category:** Support
**Created:** [December 25, 2006, 8:18am UTC](https://community.mp3tag.de/t/how-do-i-include-the-track-in-the-title-tag/4234 "2006-12-25T08:18:04Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![sherpa101](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/e95f7d/32.png) [@sherpa101](https://community.mp3tag.de/u/sherpa101)
#### Post date: [December 25, 2006, 8:18am UTC](https://community.mp3tag.de/t/how-do-i-include-the-track-in-the-title-tag/4234/1 "2006-12-25T08:18:04Z")

</div>

I want the title field to include the track number and the title, and i want the track number to have a "0" in front if it is a 1 digit number. So if the original file looked like this:

Track:1  
Title: Airbag

It would look like this:

Track: 01  
Title: 01 Airbag

---

<div class="post-metadata">

### Author: ![Sebastian\_Mares](https://community.mp3tag.de/user_avatar/community.mp3tag.de/sebastian_mares/32/9285_2.png) [@Sebastian\_Mares](https://community.mp3tag.de/u/Sebastian_Mares)
#### Post date: [December 25, 2006, 9:07am UTC](https://community.mp3tag.de/t/how-do-i-include-the-track-in-the-title-tag/4234/2 "2006-12-25T09:07:36Z")

</div>

Use a Format values type of action with **TITLE** as field and **[$num(%track%,2)]%title%** as formatstring.

---

<div class="post-metadata">

### Author: ![Wink](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/w/df705f/32.png) [@Wink](https://community.mp3tag.de/u/Wink)
#### Post date: [December 30, 2006, 5:25pm UTC](https://community.mp3tag.de/t/how-do-i-include-the-track-in-the-title-tag/4234/3 "2006-12-30T17:25:36Z")

</div>

I am having a similar problem.

My filenames are formatted: 01 - Song Title.mp3  
My titles are: Song Title

I want to add the track # to the title (ie.) 01 - Song Title

I used the "Filename - Tag" filter and put in %title% as the string.

Above the string box it shows: Format string: 01 - Song Title.mp3

Below the string box it shows: title 01 - Song Title

I press OK and nothing changes! ![:unsure:](https://community.mp3tag.de/uploads/default/original/1X/cfaeba84fe6704387c5b34dfdd8172bd51b6f533.gif ":unsure:")

Why?

---

<div class="post-metadata">

### Author: ![Sebastian\_Mares](https://community.mp3tag.de/user_avatar/community.mp3tag.de/sebastian_mares/32/9285_2.png) [@Sebastian\_Mares](https://community.mp3tag.de/u/Sebastian_Mares)
#### Post date: [December 30, 2006, 5:56pm UTC](https://community.mp3tag.de/t/how-do-i-include-the-track-in-the-title-tag/4234/4 "2006-12-30T17:56:31Z")

</div>

Any chance that you write tags that you don't read? For example you have Mp3tag set to write APEv2 tags but only have it set to read ID3v1 and ID3v2.

---

<div class="post-metadata">

### Author: ![Wink](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/w/df705f/32.png) [@Wink](https://community.mp3tag.de/u/Wink)
#### Post date: [December 30, 2006, 6:48pm UTC](https://community.mp3tag.de/t/how-do-i-include-the-track-in-the-title-tag/4234/5 "2006-12-30T18:48:53Z")

</div>

Thanks for the quick reply.

I originally loaded version 2.34 and had the "Filename - Tag" filter problem. I then installed 2.37a over the previous version and I still had the "Filename - Tag" filter problem. I believe loading 2.37 without uninstalling 2.34 was the problem and my big mistake!! Version 2.37a then crashed after I posted my problem. It crashed when I chose "Custom columns..." All the columns were empty. I couldn't figure out how to get the columns back so I just uninstalled MP3TAG and loaded 2.37a and all works great, even the "Filename - Tag" filter problem.

I figured I would post this as it might help others.

Again, thanks.

---

<div class="post-metadata">

### Author: ![system](https://community.mp3tag.de/uploads/default/original/2X/c/ce7035d426cb755a7916793326d23b465222a407.png) [@system](https://community.mp3tag.de/u/system)
#### Post date: [February 9, 2026, 12:20pm UTC](https://community.mp3tag.de/t/how-do-i-include-the-track-in-the-title-tag/4234/6 "2026-02-09T12:20:03Z")

</div>


