If you have an iOS device - iPhone, iPad, or iPod touch - or an older iPod, such as a classic, nano, or shuffle, you probably use iTunes to sync music to the device. But there may be times when you need to get your music back to your iTunes library. Your computer may have crashed, or gotten stolen, and you may not have a backup. Or somehow you accidentally deleted a song, album, or playlist from your iTunes library, but it's still on your device.
In this case, you'll want to get the music from your iOS device back into your iTunes library, but Apple doesn't give you any way to do this. Fortunately, iMazing can help.
With iMazing, you can copy music files from your iPhone, iPad, or iPod to iTunes, retaining all their metadata: each track's name, artwork, and even ratings and play counts. And you can also transfer your meticulously curated playlists. And if you're worried about duplicates, well, iMazing makes sure it doesn't copy files already in your iTunes library.
Here is how to transfer music from your iPhone (or iPad, or iPod) to iTunes:
Screencast: How to recover music from an old iPod?
Download and install iMazing on your Mac or PC computer
Download and install iMazing. Launch the app, and connect your device to your Mac or PC.
iMazing loads your device's music and playlist(s).
If you want to copy your entire library, just click Music in the Library list. If you want to copy a playlist, select it in the Playlists list. Or if you want to copy an album or song, click the Music library and find it in the list, or use the Search field to narrow down your selection.
In the toolbar at the bottom of the window, click Export to iTunes,
then click Next, and the Music Export Wizard opens.
The Music Export Wizard gives you a number of options. You can export your selection by checking My Selection, or you can click Library to export your entire library. If you choose Library, you can then tell iMazing which types of files to save: music, music videos, movies, TV shows, etc.
The Configuration pane lets you tell iMazing what type of metadata it exports to your iTunes library. By default, all of the following are checked:
Click Next, and iMazing starts transferring the files. Depending on how many files you're copying, this may take a while.
If you check Only Show Transferable Media, just above the toolbar, iMazing only shows those files it can copy. If you uncheck this option, any files that iMazing cannot transfer display greyed out.
There are two reasons why iMazing may not be able to copy files: