# Rename tags from filename

**URL:** https://community.mp3tag.de/t/rename-tags-from-filename/47241
**Category:** General Discussion
**Created:** [December 7, 2019, 3:27pm UTC](https://community.mp3tag.de/t/rename-tags-from-filename/47241 "2019-12-07T15:27:15Z")
**Posts on this page:** 1
**Showing post:** 2

<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: [December 7, 2019, 4:46pm UTC](https://community.mp3tag.de/t/rename-tags-from-filename/47241/2 "2019-12-07T16:46:19Z")

</div>

There is a "howTo" in the FAQs that describes how to import data from the folder structure:

> [@Converters to rename files or to import tags](https://community.mp3tag.de/t/converters-to-rename-files-or-to-import-tags/8016/3):
>
> How to import parts of the filename into the tag? Importing tags from filenames and directory names can be done by using the [Converter \> Filename - Tag] Converter \> Filename - Tag. The basic concept is the notion of a format string which describes the structure of the name to import from. The format string is built of either standard text (e.g., Music), placeholders (such as %artist%, %title%, ...), or backslash characters \ that denote directory structures. Here is an example that imports t…

> [@Mrakobes666](#):
>
> |Ayreon  
> ............|2013 - The Theory of Everything (Limited Edition)  
> ...........................................................................................|CD1 - Phase I׃ Singularity ⁄ Phase II׃ Symmetry

could be imported with  
Format string: `%artist%\%year% - %album%\CD%discnumber% - %myalbum%`  
If you want to have a special format in a field that you have to modify that field after you have imported the data.  
If the data is split across the full filename, use a helper field like %myalbum% and merge it after import with an action of the type "Format value" or Convert\>Tag-Tag for the target field ALBUM with the  
Format string: `%album% (%myalbum%)`

---

_[View the full topic](https://community.mp3tag.de/t/rename-tags-from-filename/47241)._
