# Extracing ID3 information (artist, title, etc) from file name

**URL:** https://community.mp3tag.de/t/extracing-id3-information-artist-title-etc-from-file-name/12056
**Category:** Support
**Created:** [May 29, 2011, 9:31pm UTC](https://community.mp3tag.de/t/extracing-id3-information-artist-title-etc-from-file-name/12056 "2011-05-29T21:31:27Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![merik](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/96bed5/32.png) [@merik](https://community.mp3tag.de/u/merik)
#### Post date: [May 29, 2011, 9:31pm UTC](https://community.mp3tag.de/t/extracing-id3-information-artist-title-etc-from-file-name/12056/1 "2011-05-29T21:31:27Z")

</div>

I have a bunch of files named like this:

\Composer\Album (Artist)\01-Title.mp3

Now I want to extract as much of this information into the ID3 tags (title and track number, and if possile album, artist and composer). If you can provide me with some guidance about how to match part of the file name using regex and then copy that part into a field (using FORMAT actions, for example), I would be thankful. Please also mention how to get the directory names.

Thanks

---

<div class="post-metadata">

### Author: ![pone](https://community.mp3tag.de/user_avatar/community.mp3tag.de/pone/32/272_2.png) [@pone](https://community.mp3tag.de/u/pone)
#### Post date: [May 29, 2011, 9:56pm UTC](https://community.mp3tag.de/t/extracing-id3-information-artist-title-etc-from-file-name/12056/2 "2011-05-29T21:56:02Z")

</div>

> [@Merik](#):
>
> I have a bunch of files named like this:
> 
> \Composer\Album (Artist)\01-Title.mp3
> 
> Now I want to extract as much of this information into the ID3 tags (title and track number, and if possile album, artist and composer). If you can provide me with some guidance about how to match part of the file name using regex and then copy that part into a field (using FORMAT actions, for example), I would be thankful. Please also mention how to get the directory names.

The simlest way is this:  
Filename - Tag Converter : **%composer%\%album% (%artist%)\%track%-%title%**

---

<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:23pm UTC](https://community.mp3tag.de/t/extracing-id3-information-artist-title-etc-from-file-name/12056/3 "2026-02-09T12:23:07Z")

</div>


