# Additional spaces when renaming files

**URL:** https://community.mp3tag.de/t/additional-spaces-when-renaming-files/54088
**Category:** Support
**Created:** [August 16, 2021, 10:07pm UTC](https://community.mp3tag.de/t/additional-spaces-when-renaming-files/54088 "2021-08-16T22:07:40Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![mred436](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/e5b9ba/32.png) [@mred436](https://community.mp3tag.de/u/mred436)
#### Post date: [August 16, 2021, 10:07pm UTC](https://community.mp3tag.de/t/additional-spaces-when-renaming-files/54088/1 "2021-08-16T22:07:40Z")

</div>

I am having a problem with Duplicates. The MP3Tag Shows %artist% - %title% This is what it should come out as Granger Smith - Country Things.mp3 But i am getting extra spaces in artist and Title. Kip Moore - Good Life .mp3 No mater what i try it will not fix the the problem, When i copy music to my files it will copy a song i already have because of the extra space. Help, Thanks ed.

---

<div class="post-metadata">

### Author: ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)
#### Post date: [August 17, 2021, 7:49am UTC](https://community.mp3tag.de/t/additional-spaces-when-renaming-files/54088/2 "2021-08-17T07:49:29Z")

</div>

Please check carefully if you don't have an extra space at the end of your `%title%`.

If you click on the content in the Title field in the left Mp3tag [Tag panel](https://docs.mp3tag.de/customization/tag-panel) and press CTRL + A you should see if there is a space too much. Just delete it and save this change with a click on the ![image](https://community.mp3tag.de/uploads/default/original/2X/2/206cc82b3c8411f2abf666e65df461a9dbe2348a.png) symbol .

---

<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 17, 2021, 12:14pm UTC](https://community.mp3tag.de/t/additional-spaces-when-renaming-files/54088/3 "2021-08-17T12:14:46Z")

</div>

If the added spaces are something that could have happened more than once, perhaps a look at the FAQs gives a hint on how to solve that problem without the need to edit each track manually:

> [@Actions and batch-operations](https://community.mp3tag.de/t/actions-and-batch-operations/967/10):
>
> How to remove/trim leading and trailing spaces [Video tutorial for these actions](http://www.vimeo.com/7756545) Leading spaces: Action type: Replace with regular expressions Field: \_TAG Regular expression: ^\s+ Replace matches with: ^ matches the beginning of the string. Then \s+ searches for all whitespaces till a different char occurs. The whitespaces found will be replaced by nothing and, thus, deleted. Trailing spaces: Action type: Replace with regular expressions Field: \_TAG Regular expression: \s+$ Replace matc…

---

<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:29pm UTC](https://community.mp3tag.de/t/additional-spaces-when-renaming-files/54088/4 "2026-02-09T12:29:22Z")

</div>


