# Once more: Import title from filename

**URL:** https://community.mp3tag.de/t/once-more-import-title-from-filename/71121
**Category:** Support
**Created:** [April 27, 2026, 5:56am UTC](https://community.mp3tag.de/t/once-more-import-title-from-filename/71121 "2026-04-27T05:56:39Z")
**Posts on this page:** 14
**Page:** 1

<div class="post-metadata">

### Author: ![Amenophis](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/9de053/32.png) [@Amenophis](https://community.mp3tag.de/u/Amenophis)
#### Post date: [April 27, 2026, 5:56am UTC](https://community.mp3tag.de/t/once-more-import-title-from-filename/71121/1 "2026-04-27T05:56:39Z")

</div>

I have a few files with no text, but with detailed filenames. I’d like to convert these into the title tag of the files, but only for some of them. How do I do this? When I enter a string function into the relevant text field (such as $left(%filename%, 2)), the corresponding tag remains empty. You can also see this in the preview below the input field, which always remains empty when I use a string function. Apparently there’s a secret tip that the help function doesn’t mention. Can anyone help me find it?

(This topic has been discussed here several times before, but I can’t find any help there.)

---

<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: [April 27, 2026, 6:06am UTC](https://community.mp3tag.de/t/once-more-import-title-from-filename/71121/2 "2026-04-27T06:06:56Z")

</div>

Please show us with a screenshot your real existing filename and where exactly do you enter  
`$left(%filename%, 2))`.

The variable would be `%_filename%` (with a leading underscore), but is not needed at all if you use Convert Filename -\> Tag.

For example Convert Filename -\> Tag with Format string  
`%track% - %title%` would import 01 to `TRACK` and Azimuth to `TITLE`

 ![image](https://community.mp3tag.de/uploads/default/original/3X/f/4/f413215eb019d3bb3d920ccdce7e979b181a8ebc.png)

---

<div class="post-metadata">

### Author: ![Amenophis](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/9de053/32.png) [@Amenophis](https://community.mp3tag.de/u/Amenophis)
#### Post date: [April 27, 2026, 6:14am UTC](https://community.mp3tag.de/t/once-more-import-title-from-filename/71121/3 "2026-04-27T06:14:50Z")

</div>

Sorry. I seem to have misunderstood the function. Or rather: I realise I don’t understand it at all. I want the file name to be imported as the title. And if possible, only partially. But it seems that this isn’t possible at all.

Apparently there isn’t an explanation for this that I can understand. Or is there?

---

<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: [April 27, 2026, 6:16am UTC](https://community.mp3tag.de/t/once-more-import-title-from-filename/71121/4 "2026-04-27T06:16:35Z")

</div>

It is possible.

Use [Convert Filename -\> Tag](https://docs.mp3tag.de/converters/import-tags-from-filenames/#import-parts-of-the-file-name-to-the-tag) and split your existing real filename into the field names you want (like `%title%`).  
If you show us a real filename from your collection, we can help you to define the Format string.

If you really want to import the entire filename, just use `%title%` as Format string.

 ![image](https://community.mp3tag.de/uploads/default/original/3X/3/d/3d6b0624eb50b9a264c8e26ece7cad5e0f7c82d7.png)

BTW: If this is a question for Mac, please use the category #Mac

---

<div class="post-metadata">

### Author: ![Amenophis](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/9de053/32.png) [@Amenophis](https://community.mp3tag.de/u/Amenophis)
#### Post date: [April 27, 2026, 6:28am UTC](https://community.mp3tag.de/t/once-more-import-title-from-filename/71121/5 "2026-04-27T06:28:52Z")

</div>

I don’t want to import the whole file name, just parts of it. Is that possible?

---

<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: [April 27, 2026, 6:29am UTC](https://community.mp3tag.de/t/once-more-import-title-from-filename/71121/6 "2026-04-27T06:29:09Z")

</div>

Yes.

For the third time: Show us a real filename.

---

<div class="post-metadata">

### Author: ![Amenophis](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/9de053/32.png) [@Amenophis](https://community.mp3tag.de/u/Amenophis)
#### Post date: [April 27, 2026, 6:29am UTC](https://community.mp3tag.de/t/once-more-import-title-from-filename/71121/7 "2026-04-27T06:29:47Z")

</div>

10 Bryars - Marilyn Forever, Some Women [GB 322]

This is one of them.

---

<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: [April 27, 2026, 6:33am UTC](https://community.mp3tag.de/t/once-more-import-title-from-filename/71121/8 "2026-04-27T06:33:21Z")

</div>

> [@Amenophis](#):
>
> 10 Bryars - Marilyn Forever, Some Women [GB 322]

Assuming you only want Maryling Forever, Some Women as TITLE:  
Format string:  
`%artist% - %title% [%comment%]`

 ![image](https://community.mp3tag.de/uploads/default/original/3X/a/8/a85d3a6cb6cfc34e25dda7b91064e426a9dfef1a.png)

If you don't want to fill `ARTIST` and `COMMENT` use `%dummy%` instead:  
Format string:  
`%dummy% - %title% [%dummy%]`

 ![image](https://community.mp3tag.de/uploads/default/original/3X/e/a/eae883dcac43fc77edea1749f55674697a612415.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: [April 27, 2026, 6:36am UTC](https://community.mp3tag.de/t/once-more-import-title-from-filename/71121/9 "2026-04-27T06:36:01Z")

</div>

> [@Amenophis](#):
>
> 10 Bryars - Marilyn Forever, Some Women [GB 322]

I would use

 ![grafik](https://community.mp3tag.de/uploads/default/original/3X/6/a/6a3cc42646681e0cc0b877d4c1672c7cb02dd423.png)

Format string: `%track% %artist% - %title%`

---

<div class="post-metadata">

### Author: ![Amenophis](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/9de053/32.png) [@Amenophis](https://community.mp3tag.de/u/Amenophis)
#### Post date: [April 27, 2026, 6:36am UTC](https://community.mp3tag.de/t/once-more-import-title-from-filename/71121/10 "2026-04-27T06:36:46Z")

</div>

I always like to understand what I’m doing. I don’t understand this. What do these details actually do? Is there somewhere I can read up on this?

---

<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 27, 2026, 6:39am UTC](https://community.mp3tag.de/t/once-more-import-title-from-filename/71121/11 "2026-04-27T06:39:05Z")

</div>

Do you use a Mac or Windows?

---

<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: [April 27, 2026, 6:48am UTC](https://community.mp3tag.de/t/once-more-import-title-from-filename/71121/12 "2026-04-27T06:48:53Z")

</div>

> [@Amenophis](#):
>
> I always like to understand what I’m doing. I don’t understand this. What do these details actually do? Is there somewhere I can read up on this?

The Mp3tag function Convert Filename -\> Tag takes the entire filename, from the first character until the last character:  
**10 Bryars - Marilyn Forever, Some Women [GB 322]**

Then you define a "splitting mask" which splits this string into the parts/fields you want.  
If you want to fill **10** into a `TRACK` field, **Bryars** into `ARTIST` field, suppress the space and minus and space and fill **Marilyn Forever, Some Women** into `TITLE` and **GB 322** into `COMMENT` the Format string would look like this  
`%track% %artist% - %title% [%comment%]`

If you only want to fill **Marilyn Forever, Some Women** into `TITLE` and forget everything else, you could use  
`%dummy% - %title% [%dummy%]`

The documentation was already linked:

> **[Import Parts of the File Name to the Tag - Import Tags from File and Folder...](https://docs.mp3tag.de/converters/import-tags-from-filenames/#import-parts-of-the-file-name-to-the-tag)**
>
> Importing tags from filenames and directory names can be done by using Convert → Filename - Tag. | Documentation on Filename to Tag, a converter to import tags from file and folder names. Mp3tag is the universal Tag Editor.

---

<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 27, 2026, 6:50am UTC](https://community.mp3tag.de/t/once-more-import-title-from-filename/71121/13 "2026-04-27T06:50:19Z")

</div>

> [@Amenophis](#):
>
> Is there somewhere I can read up on this?

Or if you are using the Mac version:

> [@Rename Files and Import Tags from Files](https://community.mp3tag.de/t/rename-files-and-import-tags-from-files/51720):
>
> Mp3tag provides a variety of possibilities to get tag information from parts of the filename or to rename files based on the information stored in the tag of a file. The base concept behind all converters in Mp3tag is the format string, which describes a pattern or template of a filename. A format string consists of any characters and predefined placeholders or scripting functions. Every placeholder begins with the percent sign %, followed by a tag field name and ends with the percent sign. …

---

<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: [May 4, 2026, 6:50am UTC](https://community.mp3tag.de/t/once-more-import-title-from-filename/71121/14 "2026-05-04T06:50:52Z")

</div>

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