Create iPhone ringtones from iTunes previews [Update: No Longer Works]

With the advent of being able to easily hack ringtones onto your iPhone, there’s just one thing missing: an easy way to convert your songs into ringtones. As it turns out, Apple has done the dirty work for you with the 30 second previews which accompany every track on iTunes. Erica Sadun of TUAW has figured out a super easy way to nab those previews for use on your iPhone. Step by step instructions after the jump!

1. Create a new playlist. Drag unpurchased songs from the iTunes store into your playlist. The songs will retain their “Add Song” buttons and their price within the playlist.

2. Export your playlist. Select the playlist in the sources column. Control-click/Right-click the playlist name and choose Export Song List from the pop-up menu.

3. Save the playlist as plain text. Select Plain Text from the Format pop-up and save the playlist file to your desktop.

4. Open the playlist file. It is a tab-delimited file of columns, so you can open it up in Excel (my preference, make sure to option-drag the text file onto the Excel icon) or a text editor like TextEdit.

5. Locate the file URLs. Each file URL appears in the final Location column for each line. Copy the URL.

6. Download the files. In Safari 3.0, open the Downloads window (Windows->Downloads). Paste the URL into the Download window and allow the file to transfer. Your computer must be authorized to your iTunes account. You may want to try playing back the file in QuickTime Player just to be sure it downloaded correctly. If you’re not a Safari 3.0 user, use your favorite alternate such as curl, wget, or so forth.

7. Rename. Give the file a more meaningful name than, for example, “mzi.rwgtaash.aac.p.m4p”. Retain the .m4p extension.

8. Upload to the iPhone. The easiest way to do this is with iFuntastic. The only problem is that iFuntastic doesn’t recognize .m4p files as a viable ringtone format. The workaround is to rename the file to .m4a and proceed to upload.

9. Select the ringtone. On the iPhone, navigate to Settings -> Sound > Ringtone and select the new file. The ringtone will play back as you select it. Please note that some newer releases (including Nicole Scherzinger’s Whatever U Like–thanks Drunk Dwarf) do not work as ringtones. I’m not sure why.

Congratulations, not only have you added a new 30-second custom ringtone to your iPhone, but iTunes usually picks the best 30 seconds of any song for its preview. Enjoy.

Update: This tip no longer works in current versions of iTunes. The tip will remain for archival purposes.

[via TUAW]

View the comments on the forum…