# Extract Album title from File Folder

**URL:** https://community.mp3tag.de/t/extract-album-title-from-file-folder/70688
**Category:** Mac
**Created:** [February 15, 2026, 1:02am UTC](https://community.mp3tag.de/t/extract-album-title-from-file-folder/70688 "2026-02-15T01:02:29Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![DJunpridictabull](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/90db22/32.png) [@DJunpridictabull](https://community.mp3tag.de/u/DJunpridictabull)
#### Post date: [February 15, 2026, 1:02am UTC](https://community.mp3tag.de/t/extract-album-title-from-file-folder/70688/1 "2026-02-15T01:02:29Z")

</div>

Question Is there a method I can use to obtain the album title directly from the folders in which the music files are stored? I'm looking for a way to efficiently extract this information without having to manually type it into mp3tag #Mac

 ![t5k1g-Screenshot-2025-04-01-at-8.34.59 PM](https://community.mp3tag.de/uploads/default/original/3X/b/8/b8eac4308196a37f4ff513e2457485a53a69b060.png)

 ![2ke92-Screenshot-2025-04-01-at-8.35.44 PM](https://community.mp3tag.de/uploads/default/original/3X/7/a/7a1f750da90136d6ef5c90691783882ee071ad09.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: [February 15, 2026, 7:42am UTC](https://community.mp3tag.de/t/extract-album-title-from-file-folder/70688/2 "2026-02-15T07:42:00Z")

</div>

Please have a look at the documentation:

> [@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: ![DJunpridictabull](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/90db22/32.png) [@DJunpridictabull](https://community.mp3tag.de/u/DJunpridictabull)
#### Post date: [February 19, 2026, 6:07pm UTC](https://community.mp3tag.de/t/extract-album-title-from-file-folder/70688/3 "2026-02-19T18:07:09Z")

</div>

Thank you, I read the documentation

**Import Parts of the Folder Structure to the Tag**

It's also possible to import information from the directory structure of the file path where the slash character is used to mark the different folders.

For example, the information from the path  
Nils Frahm/[2018] All Meldoy/09 - Momentum.mp3

can be imported using  
%artist%/[%year%] %album%/%track% - %title%

Either I don’t understand, but all I’m trying to do is:

I want to extract the folder name and import it into the album column.

---

<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: [February 19, 2026, 6:14pm UTC](https://community.mp3tag.de/t/extract-album-title-from-file-folder/70688/4 "2026-02-19T18:14:45Z")

</div>

> [@DJunpridictabull](#):
>
> Nils Frahm/[2018] All Meldoy/09 - Momentum.mp3

If you want to import only "All Meldoy" then try Convert\>Filename - Tag  
Format string: `[%dummy%] %album%/%dummy%`  
Check the preview whether that works out.  
If you want to get `[2018] All Meldoy` into ALBUM then try  
Convert\>Filename - Tag  
Format string: `%album%/%dummy%`

---

<div class="post-metadata">

### Author: ![DJunpridictabull](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/90db22/32.png) [@DJunpridictabull](https://community.mp3tag.de/u/DJunpridictabull)
#### Post date: [February 19, 2026, 6:26pm UTC](https://community.mp3tag.de/t/extract-album-title-from-file-folder/70688/5 "2026-02-19T18:26:02Z")

</div>

I appreciate your help.

I want to take the folder name ZipDJ Essential-Urban Vol.7 and import it into the album column.

---

<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: [February 19, 2026, 6:26pm UTC](https://community.mp3tag.de/t/extract-album-title-from-file-folder/70688/6 "2026-02-19T18:26:33Z")

</div>

Then try my 2nd suggestion.

---

<div class="post-metadata">

### Author: ![DJunpridictabull](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/90db22/32.png) [@DJunpridictabull](https://community.mp3tag.de/u/DJunpridictabull)
#### Post date: [February 19, 2026, 6:34pm UTC](https://community.mp3tag.de/t/extract-album-title-from-file-folder/70688/7 "2026-02-19T18:34:40Z")

</div>

> [@ohrenkino](#):
>
> `%album%/%dummy%`

Thanks that worked. I appreciate you

---

<div class="post-metadata">

### Author: ![DJunpridictabull](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/90db22/32.png) [@DJunpridictabull](https://community.mp3tag.de/u/DJunpridictabull)
#### Post date: [February 19, 2026, 6:48pm UTC](https://community.mp3tag.de/t/extract-album-title-from-file-folder/70688/8 "2026-02-19T18:48:35Z")

</div>

How can I make it an action?

---

<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: [February 19, 2026, 6:50pm UTC](https://community.mp3tag.de/t/extract-album-title-from-file-folder/70688/9 "2026-02-19T18:50:56Z")

</div>

In an action try "Format tag field" for ALBUM  
Format string: `%_directory%`

---

<div class="post-metadata">

### Author: ![DJunpridictabull](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/90db22/32.png) [@DJunpridictabull](https://community.mp3tag.de/u/DJunpridictabull)
#### Post date: [February 19, 2026, 8:11pm UTC](https://community.mp3tag.de/t/extract-album-title-from-file-folder/70688/10 "2026-02-19T20:11:35Z")

</div>

> [@ohrenkino](#):
>
> `%_directory%`

it worked! Thank you

---

<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 26, 2026, 8:12pm UTC](https://community.mp3tag.de/t/extract-album-title-from-file-folder/70688/11 "2026-02-26T20:12:05Z")

</div>

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