# Tags from folder name

**URL:** https://community.mp3tag.de/t/tags-from-folder-name/18788
**Category:** Support
**Created:** [March 9, 2017, 5:40pm UTC](https://community.mp3tag.de/t/tags-from-folder-name/18788 "2017-03-09T17:40:24Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![oliverm](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/o/f19dbf/32.png) [@oliverm](https://community.mp3tag.de/u/oliverm)
#### Post date: [March 9, 2017, 5:40pm UTC](https://community.mp3tag.de/t/tags-from-folder-name/18788/1 "2017-03-09T17:40:24Z")

</div>

Hi

We have a load of MP3 files in a folder structure where the album and artist name is in the folder name, and the filename is just the track name and number. Like this;

artist - album\name - tracknum.mp3

I know that mp3tag can use the folder name as a variable for tags, but is it possible for it to take aspects of the folder name?

So, everything before the hyphen on the folder name is the artist. Everything after the hyphen on the folder name is the album?

Is that possible?

Olly

---

<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: [March 9, 2017, 5:42pm UTC](https://community.mp3tag.de/t/tags-from-folder-name/18788/2 "2017-03-09T17:42:00Z")

</div>

please see the FAQs: [/t/8016/1](https://community.mp3tag.de/t/8016/1)

---

<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:26pm UTC](https://community.mp3tag.de/t/tags-from-folder-name/18788/3 "2026-02-09T12:26:42Z")

</div>


