Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've ripped some of my CDs into iTunes but I don't actually own an ipod. In order to get these songs onto my mp3 player I'd like to convert them to mp3s.

Is there a tool that lets me do a 'batch mp3 export' of my itunes library?

For the record, this is not a veiled attempt to circumvent DRM. :) None of my music has come from the iTunes Store.

Bonus points if the tool lets me specify the format of the names of the files it outputs. For example:

<tracknumber> <song title> - <artist>.mp3
share|improve this question
What format did you import as? AAC? Apple Lossless? – Troggy Jul 30 '09 at 20:53
Some modern mp3 players also support aac files, might just want to check your player specs just to make sure. – Troggy Jul 30 '09 at 20:57
up vote 10 down vote accepted

iTunes itself can do that. I presume you ripped your songs without changing the import settings in preferences, and they got ripped as AAC, right? Just go to Preferences, Import Settings:


Set it to Import Using MP3 Encoder, and select the quality setting you want.

Import Using

Now you can right-click a bunch of songs in your library, and select “Create MP3 Version” to convert them all.

Create MP3 Version

This also affects any CDs you import from now on, so I’d suggest re-ripping them directly to MP3 instead of converting your existing files, to avoid any further loss of quality from converting from AAC to MP3.

share|improve this answer
+1 for the screen shots. – Alex Basson Jul 30 '09 at 21:06

You could use a simple shell script, like this:

for f in $(find -name \*.m4a "$itunes_folder"); do
    lame $f $output_folder/

Where wherever on the first line is replaced with wherever the iTunes Library is stored. (Sorry, I'm not a Mac.)

To run the script, save it as "" in your home directory, open Terminal, and type:

$ cd
$ chmod +x
$ ./

For this you'll need LAME (Lame Ain't An MP3 Encoder) installed and in your PATH. If you need any help with the script, please comment.

You can download LAME for the Mac from their website -

share|improve this answer

iTunes can do the conversion itself:

  1. Select "Preferences" (this is under the iTunes menu on a Mac, under the File menu (I think) on Windows).
  2. In the "General" tab, click "Import Settings..."
  3. From the "Import Using" selection list, choose "MP3 encoder" and click OK. Click OK again to exit Preferences.
  4. Select the tracks you want to convert to mp3s.
  5. From the "Advanced" menu, choose "Create MP3 version".
  6. Create a Smart Playlist for which Kind equals MP3.
  7. Select File->Library->Export Playlist.

That's pretty much it.

share|improve this answer

You must log in to answer this question.

protected by nhinkle May 14 '11 at 7:29

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged .