# Tag - Filename conversion breaks with single/double backslash

**URL:** https://community.mp3tag.de/t/tag-filename-conversion-breaks-with-single-double-backslash/58140
**Category:** Support
**Created:** [August 7, 2022, 8:05pm UTC](https://community.mp3tag.de/t/tag-filename-conversion-breaks-with-single-double-backslash/58140 "2022-08-07T20:05:20Z")
**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: [August 7, 2022, 8:48pm UTC](https://community.mp3tag.de/t/tag-filename-conversion-breaks-with-single-double-backslash/58140/2 "2022-08-07T20:48:12Z")

</div>

See here:

> [@\[X\] possible mishandling of backslashes in tags](https://community.mp3tag.de/t/x-possible-mishandling-of-backslashes-in-tags/8822):
>
> Problem description: "Tags to filename" function creates folders when tags contain a \ (backslash) Example: artist: yyy title: zzz\zzz Using the "tag to filename" option with a "%artist%-%title%" format-string - I'd expect the resulting file to be named "yyy-zzz\zzz.mp3" Due to restrictions in the file system, this filename is impossible to create. the "yyy-zzz" part will always be interpreted as a folder containing a file called "zzz.mp3". As a result, instead of renaming the file, the …

and the documentation:

> **[Rename Files – Mp3tag Documentation](https://docs.mp3tag.de/converters/rename-files/)**
>
> Documentation on Tag to Filename, a converter to rename files based on tags. Mp3tag is the universal Tag Editor.

The backslash is no invalid character that has to be removed.

What you call

> [@Prism1200](#):
>
> Expected behavior: Removing illegal characters.

is fulfilled - in accordance with the documenation.  
No bug.

---

_[View the full topic](https://community.mp3tag.de/t/tag-filename-conversion-breaks-with-single-double-backslash/58140)._
