Take the 2-minute tour ×
Software Recommendations Stack Exchange is a question and answer site for people seeking specific software recommendations. It's 100% free, no registration required.

Many of my mp3s have ID3 fields that contain spaces at the beginning or at the end of the field. I'm looking for an application that:

  • can trim (= remove start and end spaces) every ID3 field of each mp3 in the folder(s) I select
  • walk the sub-folders recursively, i.e. not just take the mp3s located at the root of the folder
  • has a GUI
  • works on Windows, Linux or Mac OS
  • is free or non-free
share|improve this question

2 Answers 2

up vote 6 down vote accepted

You should be able to do this with Mp3tag. Mp3tag has a replace with regular expression action that will allow you to remove spaces in any tag field you want.

Your requirements:

  • With some knowledge of regular expressions, you can trim spaces from the beginning and end of any ID3 field you want.
  • Has the option of looking in all subfolders of a selected folder
  • Has a GUI
  • Gratis, runs on Windows

To trim spaces (beginning and end of all tags), use the action (thanks Izzy!):

enter image description here

share|improve this answer
Hint on a regexp: ^\s+(.*)\s+$ replace by "$1" (or "\1", depending on what the application uses for back-references). If you also want to catch those having spaces only in front or in the end (the above only catches those having both): ^\s+(.*)$ for the former, ^(.*)\s+$ for the latter. –  Izzy Feb 25 '14 at 21:09
@Izzy and Ben: Awesome, it works perfectly. I used $1 Thanks a lot! –  Franck Dernoncourt Mar 20 '14 at 0:56

Puddletag is solution I'm using on Ubuntu. Puddletag generally looking is very similar to mp3tag available on windows platform.

puddletag main scrren

Requested functions:

  • Trimming can be done using function Trim Whitespace (I don’t use this function personally since i do rename all files using my specific pattern)
  • Folders can be added recursively
  • GUI available
  • Free of charge and open-source works on Ubuntu, Fedora, can be downloaded as deb or source code, and included in Ubuntu repositories

Beside requested functions there are few other I consider very useful such as auto numbering, remove duplicate values, remove all except chosen value, update fields from tag, sort values, import and export artwork, scripting functions (RegEx) and one I like most tagging audio files using web based Tag Sources like MusicBrainz, Discogs, Amazon, FreeDB, AcoustID. Its even possible to use Mp3tag’s Tag Sources but that one I never tested.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.