# Tag to filename conversion issue

**URL:** https://community.mp3tag.de/t/tag-to-filename-conversion-issue/69147
**Category:** Support
**Created:** [July 19, 2025, 12:40pm UTC](https://community.mp3tag.de/t/tag-to-filename-conversion-issue/69147 "2025-07-19T12:40:34Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Pat31490](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/p/919ad9/32.png) [@Pat31490](https://community.mp3tag.de/u/Pat31490)
#### Post date: [July 19, 2025, 12:40pm UTC](https://community.mp3tag.de/t/tag-to-filename-conversion-issue/69147/1 "2025-07-19T12:40:34Z")

</div>

Hello, I am trying to use tag to filename conversion on different folders in order to get filename renamed this way : nn-Artist-Title where nn is going from 01 to number of filse in the current folder. Il all went well for the 1st folder nothing iwas going well after. Here is a copi of the folder content and conversion used

 ![image](https://community.mp3tag.de/uploads/default/original/3X/6/0/60fc3b2041df607c035ef991ee9feec3bed6f012.png). The proposed result was the following (1st files only to reduce size)  
 ![image](https://community.mp3tag.de/uploads/default/original/3X/1/1/11f0c180447075c002f40752b1c594cc66428315.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: [July 19, 2025, 12:46pm UTC](https://community.mp3tag.de/t/tag-to-filename-conversion-issue/69147/2 "2025-07-19T12:46:03Z")

</div>

In general the preview looks ok to me.  
There are some files with leading "00" which would meand that there is no data for TRACK - but otherwise ... where do you see the problem?

---

<div class="post-metadata">

### Author: ![Pat31490](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/p/919ad9/32.png) [@Pat31490](https://community.mp3tag.de/u/Pat31490)
#### Post date: [July 19, 2025, 12:56pm UTC](https://community.mp3tag.de/t/tag-to-filename-conversion-issue/69147/3 "2025-07-19T12:56:49Z")

</div>

The problem is that I was expected the filenames to be

01-Gorka Robles-Pena Baiona.mp3 (ok)  
02-Billy Joel\_Honnesty.mp3 (and not 00-Billi Joel-Honnesty.mp3 and why the y is replaced by i in Billy)  
03-Bordas-Le chant des partisans.mp3 (and not 01-Bordas-Le chant des partisans.mp3)

and so on

---

<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: [July 19, 2025, 1:03pm UTC](https://community.mp3tag.de/t/tag-to-filename-conversion-issue/69147/4 "2025-07-19T13:03:25Z")

</div>

The file gets renamed with the data from the tag fields.  
If there is no data then the $num() function returns a "0" plus another one as you set it to supply always 2 digits.

The "y" in the filename vanishes as now the data from the tag field ARTIST is used - and there you spell "Billy" as "Billi".

So now you have the alternatives in respect to the number:  
use the Track numbering wizard Ctrl-K to fill the field TRACK  
or set a different format string for the converter, e.g.  
`$num(%_counter%,2)-%artist%-%title%`

The spelling mistakes in the fields will not be corrected by that. That you would have to do manually beforehand, e.g. with Convert\>Filename-Tag if the data in the filename is better than the data in the tag fields.

---

<div class="post-metadata">

### Author: ![Pat31490](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/p/919ad9/32.png) [@Pat31490](https://community.mp3tag.de/u/Pat31490)
#### Post date: [July 19, 2025, 1:38pm UTC](https://community.mp3tag.de/t/tag-to-filename-conversion-issue/69147/5 "2025-07-19T13:38:40Z")

</div>

Many thanks, I understand why it was not working as I expected.

---

<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: [August 18, 2025, 1:39pm UTC](https://community.mp3tag.de/t/tag-to-filename-conversion-issue/69147/6 "2025-08-18T13:39:04Z")

</div>

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