If you're on Windows and you're already using foobar2000 to play audio files, you can just load the tracks in it, select them, right-click and go to convert. You want to make sure to set MP3 as output format obviously.
There are many other alternatives though...
fre:ac should be fine.