# Is it possible to convert a forward slash to a vertical bar when exporting tag to filename?

**URL:** <https://community.mp3tag.de/t/is-it-possible-to-convert-a-forward-slash-to-a-vertical-bar-when-exporting-tag-to-filename/15154>\
**Category:** Support\
**Created:** [November 1, 2013, 4:05pm UTC](https://community.mp3tag.de/t/is-it-possible-to-convert-a-forward-slash-to-a-vertical-bar-when-exporting-tag-to-filename/15154 "2013-11-01T16:05:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sufguts](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/e36b37/32.png) [@sufguts](https://community.mp3tag.de/u/sufguts)\
**Post date:** [November 1, 2013, 4:05pm UTC](https://community.mp3tag.de/t/is-it-possible-to-convert-a-forward-slash-to-a-vertical-bar-when-exporting-tag-to-filename/15154/1 "2013-11-01T16:05:17Z")

</div>

I like / for 'medley' type songs (Part 1: Blah / Blah / Blah, etc) to show in Winamp and obviously it has to omit the forward slash when converting to Windows filename.

Is it possible to convert it to | when exporting without having to use | in the tag itself? I will if I have to but I'd prefer not - just a thing I have, I think it looks better.

EDIT: Nevermind, I thought the | was a valid windows filename character for some reason, apparently it's not. Also I found the $replace(string,to,from) script, so I should be able to figure something out. Now just to find a better separator

---

<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:** [November 2, 2013, 7:18pm UTC](https://community.mp3tag.de/t/is-it-possible-to-convert-a-forward-slash-to-a-vertical-bar-when-exporting-tag-to-filename/15154/2 "2013-11-02T19:18:48Z")

</div>

> [@sufguts](#):
>
> ... Also I found the $replace(string,to,from) script, so I should be able to figure something out. Now just to find a better separator

And there is the $validate() function that takes care of more or less all the illegal characters for filenames.  
Just a personal note: I never thought in the dimensions of "better looks" for filenames - I thought that "unique" and "valid" are the only criteria.

---

<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:24pm UTC](https://community.mp3tag.de/t/is-it-possible-to-convert-a-forward-slash-to-a-vertical-bar-when-exporting-tag-to-filename/15154/3 "2026-02-09T12:24:43Z")

</div>

Closed on February 9, 2026, 12:24pm UTC


