# How to add index or counter to the ID3 TITLE Tag

**URL:** https://community.mp3tag.de/t/how-to-add-index-or-counter-to-the-id3-title-tag/12403
**Category:** Support
**Created:** [August 17, 2011, 4:57pm UTC](https://community.mp3tag.de/t/how-to-add-index-or-counter-to-the-id3-title-tag/12403 "2011-08-17T16:57:51Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![EagleBrewing](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/e/77aa72/32.png) [@EagleBrewing](https://community.mp3tag.de/u/EagleBrewing)
#### Post date: [August 17, 2011, 4:57pm UTC](https://community.mp3tag.de/t/how-to-add-index-or-counter-to-the-id3-title-tag/12403/1 "2011-08-17T16:57:51Z")

</div>

Hello all.  
Just loaded up MP3Tag and will give it a try.  
I tried searching on the forum, but just can't seem to get the correct lingo to find the info I am looking for.  
I do books on my iPhone/iPod.  
It requires me to have a unique title for each track I load.  
I have a book with like over 200 tracks. I know, a bit much!  
What I need is a way to add a sequence number, index, or counter to the front or back of the TITLE tag.  
This is too much to do manually.  
Is this possible? With Actions?  
Can someone point me to a forum entry that would discuss this?  
Perhaps a sample?  
If I can be done.  
Any other suggestions on how to do this?  
Thanks ....  
Bob

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [August 17, 2011, 5:04pm UTC](https://community.mp3tag.de/t/how-to-add-index-or-counter-to-the-id3-title-tag/12403/2 "2011-08-17T17:04:09Z")

</div>

> [@Eaglebrewing](#):
>
> ...  
> Can someone point me to a forum entry that would discuss this?

You could have a look at ...  
[Is there a way to auto-increment tag info?](https://community.mp3tag.de/t/12394/2)

---

<div class="post-metadata">

### Author: ![EagleBrewing](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/e/77aa72/32.png) [@EagleBrewing](https://community.mp3tag.de/u/EagleBrewing)
#### Post date: [August 18, 2011, 2:29pm UTC](https://community.mp3tag.de/t/how-to-add-index-or-counter-to-the-id3-title-tag/12403/3 "2011-08-18T14:29:18Z")

</div>

OK, Thanks for the tip and the link.  
Now I have to figure out how to do that.  
I'll have to check HELP on how that is done.  
I assume it is the ACTIONS were are talking about.  
I need to figure out where to put the code and run it.

Might there be some forum posts that do into a little detail about how this works?  
I'll figure it out.  
Thanks again ...

---

<div class="post-metadata">

### Author: ![pone](https://community.mp3tag.de/user_avatar/community.mp3tag.de/pone/32/272_2.png) [@pone](https://community.mp3tag.de/u/pone)
#### Post date: [August 18, 2011, 3:09pm UTC](https://community.mp3tag.de/t/how-to-add-index-or-counter-to-the-id3-title-tag/12403/4 "2011-08-18T15:09:24Z")

</div>

Yes, you need the action menu:

_in any case:_  
Action: **Format Value**  
 Field: **TITLE**

_and then it depends on what exactly you want as result:_

Formatstring: **%\_counter%**  
_gives you titles like: 1, 2, 3, ...._

Formatstring: **%track%**  
_gives you_ _the track number as title_

Formatstring: **$num(%\_counter%,2)**  
_gives you_ _titles_ _like: 01, 02, 03, ...._

Formatstring: **$num(****%track%****,2)**  
 _gives you_ _the track number with a leading zero as title_

Formatstring: **$num(%\_counter%,3)**  
 _gives you_ _titles_ _like: 001, 002, 003, ...._

Formatstring: **$num(%\_counter%,2) - %title%**  
 _gives you_ _titles_ _like: 01 - , 02 - , 03 - , ...._

Formatstring: **%album% - $num(%\_counter%,2)**  
_gives you_ _titles_ _like: 01, 02, 03, ..._

---

<div class="post-metadata">

### Author: ![EagleBrewing](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/e/77aa72/32.png) [@EagleBrewing](https://community.mp3tag.de/u/EagleBrewing)
#### Post date: [August 18, 2011, 3:14pm UTC](https://community.mp3tag.de/t/how-to-add-index-or-counter-to-the-id3-title-tag/12403/5 "2011-08-18T15:14:03Z")

</div>

Thanks for the additional input.

I had actually figured it out before I read your post, but appreciate the extra stuff.  
I was in Actions, but could not get the EDIT button to work.  
I finally figured it out.  
This is really powerful stuff!  
Thanks for opening the door!  
Bob

---

<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:23pm UTC](https://community.mp3tag.de/t/how-to-add-index-or-counter-to-the-id3-title-tag/12403/6 "2026-02-09T12:23:17Z")

</div>


