# Help with Filename to Tag

**URL:** https://community.mp3tag.de/t/help-with-filename-to-tag/51578
**Category:** Support
**Created:** [January 15, 2021, 4:32am UTC](https://community.mp3tag.de/t/help-with-filename-to-tag/51578 "2021-01-15T04:32:00Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![bobwiley](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/c4cdca/32.png) [@bobwiley](https://community.mp3tag.de/u/bobwiley)
#### Post date: [January 15, 2021, 4:32am UTC](https://community.mp3tag.de/t/help-with-filename-to-tag/51578/1 "2021-01-15T04:32:00Z")

</div>

All my .mp3 files are labeled Artist-Title (Year). What script would I use to get them to list separately into the Artist, Title, and Year columns?

 ![Screenshot 2021-01-14 222857](https://community.mp3tag.de/uploads/default/original/2X/a/ad3800a5e42fbd30238a2153373b030e93ad1192.png)

---

<div class="post-metadata">

### Author: ![jewahe](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/j/35a633/32.png) [@jewahe](https://community.mp3tag.de/u/jewahe)
#### Post date: [January 15, 2021, 4:39am UTC](https://community.mp3tag.de/t/help-with-filename-to-tag/51578/2 "2021-01-15T04:39:06Z")

</div>

Convert filename to tag:

%artist%-%title% (%year%)

---

<div class="post-metadata">

### Author: ![bobwiley](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/c4cdca/32.png) [@bobwiley](https://community.mp3tag.de/u/bobwiley)
#### Post date: [January 15, 2021, 4:42am UTC](https://community.mp3tag.de/t/help-with-filename-to-tag/51578/3 "2021-01-15T04:42:55Z")

</div>

> [@jewahe](#):
>
> %artist%-%title% (%year%)

Thank you so much! Is there a tutorial somewhere that explains these things in layman's terms? I've tried to watch YouTube videos for the last 3 hours and nothing has addressed this.

---

<div class="post-metadata">

### Author: ![jewahe](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/j/35a633/32.png) [@jewahe](https://community.mp3tag.de/u/jewahe)
#### Post date: [January 15, 2021, 4:49am UTC](https://community.mp3tag.de/t/help-with-filename-to-tag/51578/4 "2021-01-15T04:49:48Z")

</div>

I'm not sure if there is an easy tutorial: the key is that all tags are structured as %TAG% (informational fields such as the path and directory are structured at %\_TAG%).

If your files are named consistently, then you can identify the various tags by exactly replicating that name, replacing the actual data with the %tag% identifiers.

For example, I name my files consistently as _ **D:\Music\artist\date album\track. title - artist.mp3** _. I can replicate that structure to extract all kinds of data into the tags.

---

<div class="post-metadata">

### Author: ![bobwiley](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/c4cdca/32.png) [@bobwiley](https://community.mp3tag.de/u/bobwiley)
#### Post date: [January 15, 2021, 4:53am UTC](https://community.mp3tag.de/t/help-with-filename-to-tag/51578/5 "2021-01-15T04:53:52Z")

</div>

OK, I may be reaching out again. Appreciate the help!

---

<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: [January 15, 2021, 5:30am UTC](https://community.mp3tag.de/t/help-with-filename-to-tag/51578/6 "2021-01-15T05:30:42Z")

</div>

> [@bobwiley](#):
>
> Is there a tutorial somewhere that explains these things in layman's terms?

There is the FAQs and HowTo section in this forum, for instance:

> [@Converters to rename files or to import tags](https://community.mp3tag.de/t/converters-to-rename-files-or-to-import-tags/8016):
>
> Mp3tag provides a variety of possibilities to get tag information from parts of the filename or rename files based on the information stored in the tag of a file. The base concept behind all converters in Mp3tag is the so called format string, which describes a pattern (or template) of a filename or a line in a tag-list file. 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 n…

---

<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:29pm UTC](https://community.mp3tag.de/t/help-with-filename-to-tag/51578/7 "2026-02-09T12:29:00Z")

</div>


