# Leading zero to all tracks

**URL:** <https://community.mp3tag.de/t/leading-zero-to-all-tracks/17647>\
**Category:** Support\
**Created:** [February 15, 2016, 12:02pm UTC](https://community.mp3tag.de/t/leading-zero-to-all-tracks/17647 "2016-02-15T12:02:12Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![mamyllyn](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/71c47a/32.png) [@mamyllyn](https://community.mp3tag.de/u/mamyllyn)\
**Post date:** [February 15, 2016, 12:02pm UTC](https://community.mp3tag.de/t/leading-zero-to-all-tracks/17647/1 "2016-02-15T12:02:12Z")

</div>

Hello,

I have lot´s of albums and some of them have the leading zero in track count (like 01,02) and some not. Now I have using the "Autonumbering" wizard but I would need something else so I could make sure that all tracks are counted with two numbers.

How can I do this?

---

<div class="post-metadata">

**Author:** ![garym](https://community.mp3tag.de/user_avatar/community.mp3tag.de/garym/32/4822_2.png) [@garym](https://community.mp3tag.de/u/garym)\
**Post date:** [February 15, 2016, 12:21pm UTC](https://community.mp3tag.de/t/leading-zero-to-all-tracks/17647/2 "2016-02-15T12:21:52Z")

</div>

When you select files and click on "autonumbering" wizard, you'll see a tick box next to "use two digit track numbers". If you want two digit track numbers, tick this box.

---

<div class="post-metadata">

**Author:** ![mamyllyn](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/71c47a/32.png) [@mamyllyn](https://community.mp3tag.de/u/mamyllyn)\
**Post date:** [February 15, 2016, 12:28pm UTC](https://community.mp3tag.de/t/leading-zero-to-all-tracks/17647/3 "2016-02-15T12:28:24Z")

</div>

Hello,

I know this option but it is not helping me in this case. I will attach a picture that helps to understand my question. I have many files from different folders open and I do not want to renumber them: just add the missing zero IF it is not present.

 ![](https://community.mp3tag.de/uploads/default/original/2X/7/74bb0e814e593170432b1c04d443798fdb2ae668.png)

---

<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:** [February 15, 2016, 1:11pm UTC](https://community.mp3tag.de/t/leading-zero-to-all-tracks/17647/4 "2016-02-15T13:11:56Z")

</div>

> [@mamyllyn](#):
>
> Hello,
> 
> I know this option but it is not helping me in this case. I will attach a picture that helps to understand my question. I have many files from different folders open and I do not want to renumber them: just add the missing zero IF it is not present.

create an action of the type "Format value" for the field TRACK  
Format string: $num(%track%,2)

---

<div class="post-metadata">

**Author:** ![LaurenBacall](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/35a633/32.png) [@LaurenBacall](https://community.mp3tag.de/u/LaurenBacall)\
**Post date:** [February 15, 2016, 1:15pm UTC](https://community.mp3tag.de/t/leading-zero-to-all-tracks/17647/5 "2016-02-15T13:15:51Z")

</div>

^ Beaten by ohrenkino but posting all the same 😉

> [@mamyllyn](#):
>
> Hello,
> 
> I know this option but it is not helping me in this case. I will attach a picture that helps to understand my question. I have many files from different folders open and I do not want to renumber them: just add the missing zero IF it is not present.

1. Click on the toolbar icon 'Actions (Quick)'

2. Select 'Format value' from the drop-down menu.

3. In the 'Field' text box enter:

4. In the 'Format string' text box enter:

5. Click 'OK'.

Taken from the ever-useful [Help docs](https://docs.mp3tag.de/scripting) under 'Pad decimal number with leading zeros'. I always check there first or on the forums via a 'site:mp3tag.de' Google search.

---

<div class="post-metadata">

**Author:** ![mamyllyn](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/71c47a/32.png) [@mamyllyn](https://community.mp3tag.de/u/mamyllyn)\
**Post date:** [February 15, 2016, 6:23pm UTC](https://community.mp3tag.de/t/leading-zero-to-all-tracks/17647/6 "2016-02-15T18:23:15Z")

</div>

> [@LaurenBacall](#):
>
> ^ Beaten by ohrenkino but posting all the same 😉
> 
> 1. Click on the toolbar icon 'Actions (Quick)'
> 
> 2. Select 'Format value' from the drop-down menu.
> 
> 3. In the 'Field' text box enter:
> 
> 4. In the 'Format string' text box enter:
> 
> 5. Click 'OK'.
> 
> Taken from the ever-useful [Help docs](https://docs.mp3tag.de/scripting) under 'Pad decimal number with leading zeros'. I always check there first or on the forums via a 'site:mp3tag.de' Google search.

Thank you!

---

<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:** [October 8, 2025, 12:46pm UTC](https://community.mp3tag.de/t/leading-zero-to-all-tracks/17647/7 "2025-10-08T12:46:18Z")

</div>

Closed on October 8, 2025, 12:46pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
