# Remove leading zeros from track field

**URL:** <https://community.mp3tag.de/t/remove-leading-zeros-from-track-field/59416>\
**Category:** Support\
**Created:** [December 15, 2022, 3:25pm UTC](https://community.mp3tag.de/t/remove-leading-zeros-from-track-field/59416 "2022-12-15T15:25:31Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![peter762033](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/p/90db22/32.png) [@peter762033](https://community.mp3tag.de/u/peter762033)\
**Post date:** [December 15, 2022, 3:25pm UTC](https://community.mp3tag.de/t/remove-leading-zeros-from-track-field/59416/1 "2022-12-15T15:25:31Z")

</div>

Hi,

I'm splitting a lot of FLAC files from a single file and .cue and I'm having a slight issue with the track field.  
Some albums have track numbers as 1,2,3 etc but others have 01,02,03 etc. Is there a way to change all of the 01 numbers for the whole album to 1 for instance in a single click without having to edit each one?

Any help would be much appreciated.

Thanks,  
Pete

---

<div class="post-metadata">

**Author:** ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)\
**Post date:** [December 15, 2022, 3:27pm UTC](https://community.mp3tag.de/t/remove-leading-zeros-from-track-field/59416/2 "2022-12-15T15:27:15Z")

</div>

> [@peter762033](#):
>
> Is there a way to change all of the 01 numbers for the whole album to 1 for instance in a single click without having to edit each one?

Sure. You can use the [Auto-Numbering (Track) Wizard](https://docs.mp3tag.de/auto-numbering/) to have the most control over the process.

---

<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 15, 2022, 3:27pm UTC](https://community.mp3tag.de/t/remove-leading-zeros-from-track-field/59416/3 "2022-12-15T15:27:34Z")

</div>

Try an action of the type "Format value" or the convert\>tag-Tag function for TRACK  
Format string: $num(%track%,1)

The format string has the advantage that it keeps the numbers already found in the field whereas the track numbering assistant will renumber the files.

---

<div class="post-metadata">

**Author:** ![astrohip](https://community.mp3tag.de/user_avatar/community.mp3tag.de/astrohip/32/18205_2.png) [@astrohip](https://community.mp3tag.de/u/astrohip)\
**Post date:** [December 15, 2022, 3:51pm UTC](https://community.mp3tag.de/t/remove-leading-zeros-from-track-field/59416/4 "2022-12-15T15:51:53Z")

</div>

> [@peter762033](#):
>
> I'm splitting a lot of FLAC files from a single file and .cue

Allow me to go slightly off-topic...

What do y'all consider the best program to split .cue into individual tracks?

---

<div class="post-metadata">

**Author:** ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)\
**Post date:** [December 15, 2022, 3:59pm UTC](https://community.mp3tag.de/t/remove-leading-zeros-from-track-field/59416/5 "2022-12-15T15:59:32Z")

</div>

> [@astrohip](#):
>
> the best program to split .cue i

"The best..." is always a matter of opinion, but I would say "Foobar2000" is a good one.  
Of course you can try one of the many other programs out there:

> **[5 Free FLAC Splitter Software to Split FLAC Files using CUE Sheet](https://www.ilovefreesoftware.com/27/featured/free-flac-splitter-software-split-flac-files-cue-sheet.html)**
>
> Here are some best free FLAC splitter software to split FLAC files using CUE sheets. Use these software to split a long single FLAC audio file to separate tracks, change change output format

---

<div class="post-metadata">

**Author:** ![peter762033](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/p/90db22/32.png) [@peter762033](https://community.mp3tag.de/u/peter762033)\
**Post date:** [December 15, 2022, 4:05pm UTC](https://community.mp3tag.de/t/remove-leading-zeros-from-track-field/59416/6 "2022-12-15T16:05:58Z")

</div>

Thanks for the quick response! I tried both of the methods posted and both do exactly what I needed so thanks for that, much appreciated.

On a side note is there a format string that would allow me to have a capital letter at the start of each word in the Title field?

I use Cuetools to split my FLAC files. Very easy to use, definitely recommended.

Thanks again.

---

<div class="post-metadata">

**Author:** ![astrohip](https://community.mp3tag.de/user_avatar/community.mp3tag.de/astrohip/32/18205_2.png) [@astrohip](https://community.mp3tag.de/u/astrohip)\
**Post date:** [December 15, 2022, 4:15pm UTC](https://community.mp3tag.de/t/remove-leading-zeros-from-track-field/59416/7 "2022-12-15T16:15:36Z")

</div>

Thanks peeps, I can always count on the Mp3tag community for great advice!

---

<div class="post-metadata">

**Author:** ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)\
**Post date:** [December 15, 2022, 4:16pm UTC](https://community.mp3tag.de/t/remove-leading-zeros-from-track-field/59416/8 "2022-12-15T16:16:39Z")

</div>

> [@peter762033](#):
>
> On a side note is there a format string that would allow me to have a capital letter at the start of each word in the Title field?

You can have a look at the [scripting functions](https://docs.mp3tag.de/scripting/#string-functions), especially the `$caps` commands:

 ![image](https://community.mp3tag.de/uploads/default/original/2X/6/6eb7668c45536c8e910af4c5e03991417cdbb9fc.png)

Or you can use an action from type "[Case Conversion](https://docs.mp3tag.de/actions/case-conversion/)"

Just a side note to your side note:  
There are more and more titles, where the artist intend is to write it in ALL UPPERCASE or all lowercase or a rAnDOm mIx Case. Just in case you care about it. 😇 😉

---

<div class="post-metadata">

**Author:** ![peter762033](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/p/90db22/32.png) [@peter762033](https://community.mp3tag.de/u/peter762033)\
**Post date:** [December 15, 2022, 5:43pm UTC](https://community.mp3tag.de/t/remove-leading-zeros-from-track-field/59416/9 "2022-12-15T17:43:20Z")

</div>

Perfect! Thanks LyricsLover exactly what I was looking for.

Yep the tagging can be a bit of a nightmare! But with these 2 new shortcuts it should be much faster.

Thanks again, much appreciated.

---

<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:29pm UTC](https://community.mp3tag.de/t/remove-leading-zeros-from-track-field/59416/10 "2026-02-09T12:29:59Z")

</div>


