# Converting tag to filename and replace characters

**URL:** <https://community.mp3tag.de/t/converting-tag-to-filename-and-replace-characters/61360>\
**Category:** Support\
**Created:** [June 24, 2023, 8:51pm UTC](https://community.mp3tag.de/t/converting-tag-to-filename-and-replace-characters/61360 "2023-06-24T20:51:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![JoaoBC](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/j/3bc359/32.png) [@JoaoBC](https://community.mp3tag.de/u/JoaoBC)\
**Post date:** [June 24, 2023, 8:51pm UTC](https://community.mp3tag.de/t/converting-tag-to-filename-and-replace-characters/61360/1 "2023-06-24T20:51:25Z")

</div>

Good night people.  
I need your technical help.  
The forum is very complete, but it is aimed at people who are already at an advanced level of knowledge. I'm still crawling. If you can clarify / help me, I appreciate it.  
imagine that the tag of a song looks like this:  
artist - music1 / music2 / music3

If I try to convert tag -\> filename, using %artist% - %title%  
the file name will be:  
artist - music1 music2 music3.mp3  
I would like it to have another separator character, such as § and like this:  
artist - music1 § music2 § music3.mp3  
But without changing the tag, just the file name. It's possible ? How would you do ?

---

<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:** [June 24, 2023, 8:54pm UTC](https://community.mp3tag.de/t/converting-tag-to-filename-and-replace-characters/61360/2 "2023-06-24T20:54:52Z")

</div>

> [@JoaoBC](#):
>
> If I try to convert tag -\> filename, using %artist% - %title%

Try instead:  
`$replace(%artist% - %title%,/,§)`  
or  
`%artist% - $replace(%title%,/,§)`

---

<div class="post-metadata">

**Author:** ![JoaoBC](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/j/3bc359/32.png) [@JoaoBC](https://community.mp3tag.de/u/JoaoBC)\
**Post date:** [June 25, 2023, 12:12am UTC](https://community.mp3tag.de/t/converting-tag-to-filename-and-replace-characters/61360/3 "2023-06-25T00:12:29Z")

</div>

> [@ohrenkino](#):
>
> $replace(%artist% - %title%,/,§)

Friend, both solutions worked perfectly. Thanks so much for the help.

---

<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:** [July 26, 2023, 10:54pm UTC](https://community.mp3tag.de/t/converting-tag-to-filename-and-replace-characters/61360/5 "2023-07-26T22:54:32Z")

</div>

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