# How to change formatting of track number in file name

**URL:** https://community.mp3tag.de/t/how-to-change-formatting-of-track-number-in-file-name/7841
**Category:** Support
**Created:** [January 25, 2009, 9:38pm UTC](https://community.mp3tag.de/t/how-to-change-formatting-of-track-number-in-file-name/7841 "2009-01-25T21:38:45Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![djnicknice](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/e5b9ba/32.png) [@djnicknice](https://community.mp3tag.de/u/djnicknice)
#### Post date: [January 25, 2009, 9:38pm UTC](https://community.mp3tag.de/t/how-to-change-formatting-of-track-number-in-file-name/7841/1 "2009-01-25T21:38:45Z")

</div>

How can I change the format of track numbers when converting tag information to the file name? The problem I have is when the track number in the tag is formatted like 1/13, mp3tag will convert it to 113 in the file name. I would like the track number in the file name to appear as only 01 (2 digit track number only).

Thanks in advance for you help.

---

<div class="post-metadata">

### Author: ![dano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/dano/32/6_2.png) [@dano](https://community.mp3tag.de/u/dano)
#### Post date: [January 26, 2009, 8:08am UTC](https://community.mp3tag.de/t/how-to-change-formatting-of-track-number-in-file-name/7841/2 "2009-01-26T08:08:49Z")

</div>

Just use $num(%track%,2)

---

<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:21pm UTC](https://community.mp3tag.de/t/how-to-change-formatting-of-track-number-in-file-name/7841/3 "2026-02-09T12:21:20Z")

</div>


