# File Name To Tags

**URL:** <https://community.mp3tag.de/t/file-name-to-tags/16193>\
**Category:** Support\
**Created:** [September 29, 2014, 11:43am UTC](https://community.mp3tag.de/t/file-name-to-tags/16193 "2014-09-29T11:43:23Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![PG\_Pete](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/p/f07891/32.png) [@PG\_Pete](https://community.mp3tag.de/u/PG_Pete)\
**Post date:** [September 29, 2014, 11:43am UTC](https://community.mp3tag.de/t/file-name-to-tags/16193/1 "2014-09-29T11:43:23Z")

</div>

Can Anyone help with this problem my files are named like this:

A Compilation album

FREE 01 All Right Now  
FUN BOY THREE 02 Our Lips Are Sealed  
MOODY BLUES 03 Go Now

How Can I Tag Them From This File Name, Because If I Go  
%Artist% %Track% %Title%  
It Will Only work on the first File and if I go:  
%Artist% %Artist% %Track% %Title%  
It Will Only work on File Three I far as I can work it out %Track% Can  
Take Letters Or Numbers So Cannot be Used To Separate Words & Numbers.  
so is there a way to do it ?  
Thanks From A Nu bee

---

<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:** [September 29, 2014, 12:20pm UTC](https://community.mp3tag.de/t/file-name-to-tags/16193/2 "2014-09-29T12:20:07Z")

</div>

> [@PG Pete](#):
>
> Can Anyone help with this problem my files are named like this:
> 
> A Compilation album
> 
> FREE 01 All Right Now  
> FUN BOY THREE 02 Our Lips Are Sealed  
> MOODY BLUES 03 Go Now
> 
> How Can I Tag Them From This File Name, Because If I Go  
> %Artist% %Track% %Title%  
> It Will Only work on the first File and if I go:  
> %Artist% %Artist% %Track% %Title%  
> It Will Only work on File Three I far as I can work it out %Track% Can  
> Take Letters Or Numbers So Cannot be Used To Separate Words & Numbers.  
> so is there a way to do it ?
> 
> ```
> Thanks From A Nu bee
> 
> ```

Following your example, you will get at least those converted with a leading zero:  
%artist% 0%track% %title%

---

<div class="post-metadata">

**Author:** ![DetlevD](https://community.mp3tag.de/user_avatar/community.mp3tag.de/detlevd/32/123_2.png) [@DetlevD](https://community.mp3tag.de/u/DetlevD)\
**Post date:** [September 29, 2014, 1:05pm UTC](https://community.mp3tag.de/t/file-name-to-tags/16193/3 "2014-09-29T13:05:57Z")

</div>

> [@PG Pete](#):
>
> ... A Compilation album  
> FREE 01 All Right Now  
> FUN BOY THREE 02 Our Lips Are Sealed  
> MOODY BLUES 03 Go Now  
> How Can I Tag Them From ... File Name

**Proposal 1 Step 1. Action "Format value" \_FILENAME \<== $regexp(%\_filename%,'^(.+?)\s(\d+)\s(.+?)$','$1==$2==$3') Step 2. Convert "Filename - Tag" Formatstring/Mask: %ARTIST%==%TRACK%==%TITLE% Proposal 2 Step 1. Action "Format value" \_FILENAME \<== $regexp(%\_filename%,'^(.+?)\s(\d+)\s(.+?)$','$2==$3==$1') Step 2. Convert "Filename - Tag" Formatstring/Mask: %TRACK%==%TITLE%==%ARTIST% Proposal 3 Step 1. Action "Format value" \_FILENAME \<== $regexp(%\_filename%,'^(.+?)\s(\d+)\s(.+?)$','$2\_$3\_$1') Step 2. Convert "Filename - Tag" Formatstring/Mask: %TRACK%\_%TITLE%\_%ARTIST% Proposal 4 Step 1. Action "Format value" \_FILENAME \<== $regexp(%\_filename%,'^(.+?)\s(\d+)\s(.+?)$','$2 $3 ($1)') Step 2. Convert "Filename - Tag" Formatstring/Mask: %TRACK% %TITLE% (%ARTIST%) Proposal 5 Step 1. Action "Format value" ARTIST \<== $regexp(%\_filename%,'^(.+?)\s(\d+)\s(.+?)$','$1') Step 2. Action "Format value" TRACK \<== $regexp(%\_filename%,'^(.+?)\s(\d+)\s(.+?)$','$2') Step 3. Action "Format value" TITLE \<== $regexp(%\_filename%,'^(.+?)\s(\d+)\s(.+?)$','$3')**

DD.20140929.1719.CEST

---

<div class="post-metadata">

**Author:** ![PG\_Pete](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/p/f07891/32.png) [@PG\_Pete](https://community.mp3tag.de/u/PG_Pete)\
**Post date:** [September 29, 2014, 1:42pm UTC](https://community.mp3tag.de/t/file-name-to-tags/16193/4 "2014-09-29T13:42:38Z")

</div>

Wow !Thanks That Was Fast

Ohrenkio It Is Working To A Count Of 09 But Clearly Can Not Continue  
But Thankyou For The Reply

---

<div class="post-metadata">

**Author:** ![PG\_Pete](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/p/f07891/32.png) [@PG\_Pete](https://community.mp3tag.de/u/PG_Pete)\
**Post date:** [September 29, 2014, 1:44pm UTC](https://community.mp3tag.de/t/file-name-to-tags/16193/5 "2014-09-29T13:44:39Z")

</div>

DetlevD I Am Looking At Your Reply Now Thankyou

---

<div class="post-metadata">

**Author:** ![PG\_Pete](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/p/f07891/32.png) [@PG\_Pete](https://community.mp3tag.de/u/PG_Pete)\
**Post date:** [September 29, 2014, 2:19pm UTC](https://community.mp3tag.de/t/file-name-to-tags/16193/6 "2014-09-29T14:19:53Z")

</div>

Thanks A Lot DetlevD Working very well [http://forums.mp3tag.de/style\_emoticons/default/rolleyes.gif](http://forums.mp3tag.de/style_emoticons/default/rolleyes.gif)

---

<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:25pm UTC](https://community.mp3tag.de/t/file-name-to-tags/16193/7 "2026-02-09T12:25:18Z")

</div>

Closed on February 9, 2026, 12:25pm UTC


