# Append track number to beginning of filename

**URL:** <https://community.mp3tag.de/t/append-track-number-to-beginning-of-filename/19436>\
**Category:** Support\
**Created:** [October 12, 2017, 3:14am UTC](https://community.mp3tag.de/t/append-track-number-to-beginning-of-filename/19436 "2017-10-12T03:14:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![PDXmatt](https://community.mp3tag.de/user_avatar/community.mp3tag.de/pdxmatt/32/5025_2.png) [@PDXmatt](https://community.mp3tag.de/u/PDXmatt)\
**Post date:** [October 12, 2017, 3:14am UTC](https://community.mp3tag.de/t/append-track-number-to-beginning-of-filename/19436/1 "2017-10-12T03:14:33Z")

</div>

I've looked on the FAQ and searched but I can't figure out how to just add the track number to the beginning of the filename, but Not renaming it. So I want to add something to the beginning of the filename, but keep the rest of the filename intact. How do I do that? Everything I've tried completely replaces the filename.

---

<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:** [October 12, 2017, 3:35am UTC](https://community.mp3tag.de/t/append-track-number-to-beginning-of-filename/19436/2 "2017-10-12T03:35:23Z")

</div>

> [@PDXmatt](#):
>
> ... Everything I've tried completely replaces the filename.

It would have been so nice if you had told us what you have tried so far.  
Anyway.

Try Convert\>Tag-Filename  
Format string: $num(%track%,2)\_ %\_filename%

---

<div class="post-metadata">

**Author:** ![PDXmatt](https://community.mp3tag.de/user_avatar/community.mp3tag.de/pdxmatt/32/5025_2.png) [@PDXmatt](https://community.mp3tag.de/u/PDXmatt)\
**Post date:** [October 12, 2017, 9:59am UTC](https://community.mp3tag.de/t/append-track-number-to-beginning-of-filename/19436/3 "2017-10-12T09:59:48Z")

</div>

> [@ohrenkino](#):
>
> It would have been so nice if you had told us what you have tried so far.  
> Anyway.
> 
> Try Convert\>Tag-Filename  
> Format string: $num(%track%,2)\_ %\_filename%

That worked perfectly, thank you so much!  
I'm sorry, I should have said what I tried. I searched for awhile on here and google, but no one seemed to have this specific problem. The few topics I found all pointed to "Action type: Format value Field: COMMENT Format string: %comment% xyz" so I tried using that. The other topics were about adding a word to the end of filenames, but that wasn't what I was looking for. Danke sehr!

---

<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:27pm UTC](https://community.mp3tag.de/t/append-track-number-to-beginning-of-filename/19436/4 "2026-02-09T12:27:03Z")

</div>


