# Filename to Tag doesn't import as expected

**URL:** https://community.mp3tag.de/t/filename-to-tag-doesnt-import-as-expected/45064
**Category:** Support
**Created:** [April 7, 2019, 9:12am UTC](https://community.mp3tag.de/t/filename-to-tag-doesnt-import-as-expected/45064 "2019-04-07T09:12:15Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![buddy](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/e5b9ba/32.png) [@buddy](https://community.mp3tag.de/u/buddy)
#### Post date: [April 7, 2019, 9:12am UTC](https://community.mp3tag.de/t/filename-to-tag-doesnt-import-as-expected/45064/1 "2019-04-07T09:12:15Z")

</div>

If a filename would be '05 - Cool Shade Accompaniment.mp3', by calling 'filename to tag' I will see the right formatstring '%track% %title%'. But as a result I will just get %title% for this renaming as then would be "- Cool Shade Accompaniment.mp3" - the tracknumber '05' would be omitted.

Next, a tracknumber minor to 10 would be crippled and by using %track%. For '05' I just get a '5' instead of '05' for a filename.

 ![filenametotag2](https://community.mp3tag.de/uploads/default/original/2X/7/74c5c592c1dce8806a5611ca4427dd4a028f63df.jpeg)

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [April 7, 2019, 9:25am UTC](https://community.mp3tag.de/t/filename-to-tag-doesnt-import-as-expected/45064/2 "2019-04-07T09:25:02Z")

</div>

Hi there,

`%track% %title%` is not the right formatstring for this filename. You'd need to adjust it to the format of the filename. In this case, the track number is delimited by " - " from the title, so you'd need to use that as delimiter.

A working example would be `%track% - %title%`

Please see this post from the FAQ for details:

> [@Converters to rename files or to import tags](https://community.mp3tag.de/t/converters-to-rename-files-or-to-import-tags/8016/3):
>
> How to import parts of the filename into the tag? Importing tags from filenames and directory names can be done by using the [Converter \> Filename - Tag] Converter \> Filename - Tag. The basic concept is the notion of a format string which describes the structure of the name to import from. The format string is built of either standard text (e.g., Music), placeholders (such as %artist%, %title%, ...), or backslash characters \ that denote directory structures. Here is an example that imports t…

---

<div class="post-metadata">

### Author: ![buddy](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/e5b9ba/32.png) [@buddy](https://community.mp3tag.de/u/buddy)
#### Post date: [April 7, 2019, 12:54pm UTC](https://community.mp3tag.de/t/filename-to-tag-doesnt-import-as-expected/45064/3 "2019-04-07T12:54:09Z")

</div>

Thanks for your kind reply and sorry for the flaw in my format string.  
As a result, the correct string didn't change the game.  
I've also uninstalled my v2.94 and installed v2.94c for a fresh start, it didn't matter also.  
Of course I could insert the tracknumber by manual editing, but a format string would be so much better.

 ![mp3tag1](https://community.mp3tag.de/uploads/default/original/2X/0/021176760e721ef1b82c9968a3d4eed453cc9bdf.jpeg)  
 ![mp3tag2](https://community.mp3tag.de/uploads/default/original/2X/a/aa5f3eaeb5e26d004c5f278270a104270d6c31db.jpeg)

---

<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: [April 7, 2019, 3:22pm UTC](https://community.mp3tag.de/t/filename-to-tag-doesnt-import-as-expected/45064/4 "2019-04-07T15:22:30Z")

</div>

For me everything looks fine.  
(there is a number in the field track, it has a leading zero, the information for the field TITLE is also written to the correct field).  
So: what did you really expect?

---

<div class="post-metadata">

### Author: ![buddy](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/e5b9ba/32.png) [@buddy](https://community.mp3tag.de/u/buddy)
#### Post date: [April 9, 2019, 9:11am UTC](https://community.mp3tag.de/t/filename-to-tag-doesnt-import-as-expected/45064/5 "2019-04-09T09:11:07Z")

</div>

I really expected to read "01 - Introduction" as a title instead of a mere "Introduction" after the execution of "filename to tag" .  
In very former versions it worked, as far as I would remember it.

---

<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: [April 9, 2019, 9:12am UTC](https://community.mp3tag.de/t/filename-to-tag-doesnt-import-as-expected/45064/6 "2019-04-09T09:12:53Z")

</div>

If you only want to import the data into TITLE, then do not use  
%track% - %title%  
but simply  
%title%

---

<div class="post-metadata">

### Author: ![buddy](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/e5b9ba/32.png) [@buddy](https://community.mp3tag.de/u/buddy)
#### Post date: [April 9, 2019, 11:02am UTC](https://community.mp3tag.de/t/filename-to-tag-doesnt-import-as-expected/45064/7 "2019-04-09T11:02:51Z")

</div>

YES, now it works again.  
Shame on me, I don't know I was such a moron not to do it right at once on my own.  
Thanks a lot, I'll really have to donate.

---

<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:28pm UTC](https://community.mp3tag.de/t/filename-to-tag-doesnt-import-as-expected/45064/8 "2026-02-09T12:28:01Z")

</div>


