# How can I maintain zeroes in filename track numbers

**URL:** https://community.mp3tag.de/t/how-can-i-maintain-zeroes-in-filename-track-numbers/70412
**Category:** Support
**Created:** [December 25, 2025, 6:12pm UTC](https://community.mp3tag.de/t/how-can-i-maintain-zeroes-in-filename-track-numbers/70412 "2025-12-25T18:12:03Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![BJtheDJ](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/e480ec/32.png) [@BJtheDJ](https://community.mp3tag.de/u/BJtheDJ)
#### Post date: [December 25, 2025, 6:12pm UTC](https://community.mp3tag.de/t/how-can-i-maintain-zeroes-in-filename-track-numbers/70412/1 "2025-12-25T18:12:03Z")

</div>

I’m adding ID3s to existing files, where the track numbering has leading zeroes (I’m talking about folders which can contain thousands of tracks) but when using a standard copying format of **%track%. %artist% - %title%** I’m find that any leading zeroes in **%track%** are omitted.

How can i configure MP3tag to copy in the way that i need ??

Happy Christmas

---

<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: [December 25, 2025, 6:22pm UTC](https://community.mp3tag.de/t/how-can-i-maintain-zeroes-in-filename-track-numbers/70412/2 "2025-12-25T18:22:05Z")

</div>

> [@BJtheDJ](#):
>
> %track%. %artist% - %title%

Instead use:  
`$num(%track%,4). %artist% - %title%`  
where the `4` represents the number of digits that each track number should have, padded with zeros, if required.

---

<div class="post-metadata">

### Author: ![BJtheDJ](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/e480ec/32.png) [@BJtheDJ](https://community.mp3tag.de/u/BJtheDJ)
#### Post date: [January 20, 2026, 10:09am UTC](https://community.mp3tag.de/t/how-can-i-maintain-zeroes-in-filename-track-numbers/70412/3 "2026-01-20T10:09:42Z")

</div>

Many thanx for that solution.

---

<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 19, 2026, 10:10am UTC](https://community.mp3tag.de/t/how-can-i-maintain-zeroes-in-filename-track-numbers/70412/4 "2026-02-19T10:10:26Z")

</div>

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