Transferring iTunes library on Windows 11 to Apple Music on Mac Catalina

I have been using iTunes on Windows 11.


I have been reluctant to covert to Apple Music, but as my old Mac mini now has ONLY Music (and CDs can be imported there rather than using both on the PC), thought I'd try transferring my iTunes library to that to see how it goes before switching over on the PC (it has started giving me some issues so have been looking for an alternative before it dies completely). I have thousands of ratings, and multiple playlists that rely on the ratings, and can't handle the thought of having to go through and redo them.


I have a consolidated iTunes library already on my PC. I have copied all iTunes files to an external hard drive. Then copied those files from the external drive to my Mac, into the music folder.


I opened Music holding the option key, and clicked choose library, selected the "iTunes library.itl" file, at which point Music tells me it's not a valid library.


what have I done wrong? Did I put the files in the wrong place? Or are my versions just not going to talk to each other? Am I asking too much by switching both from iTunes to Music AND from PC to Mac???


PC is running windows 11 (or whatever the latest version) with iTunes 12.13.7.1

Mac mini is running Catalina (the most recent version my 10 year old mini will run) with no iTunes, Music 1.0.6.10

Mac mini, macOS 10.15

Posted on Jul 26, 2025 02:36 AM

Reply
12 replies

Jul 26, 2025 02:53 AM in response to lexwithbub

Hi,


I'm pretty sure the issue here is that your iTunes for Windows library is too new to be converted to the nearly 6 year old version of Music on Catalina. If date added doesn't matter to you then you can export the iTunes library as an XML file, edit the location data for each track in a suitable text editor, then import the XML file into Music. (If I remember correctly you may also need to remove carriage returns from the Windows generated XML.) All tracks get the current date & time as their date added values. You should be able to retain the original information if you instead take out a temporary subscription to the Apple Music service, upload/match the library from your Windows computer, then download the cloud library to the Mac. You should backup the originals from your Windows library in case you discover any mismatches, e.g. clean vs. explicit or some other variation. Once everything is downloaded you should be able to turn off Sync Library, and cancel the subscription renewal, and the data should be retained.


tt2

Jul 26, 2025 05:23 AM in response to lexwithbub

Yes, use something like BBEdit. A Windows path will start something like file://C:/Windows/Users/<UserName>/Music/iTunes/iTunes Media/<etc> and you want to modify that to reflect the new path on the Mac which is more like file://Volumes/<DriveName>/Users/<MacUserName>/.. etc. Music's default media folder is ~/Music/Music/Media, where ~ is your user's home folder, so you probably want to put the iTunes Media folder there and rename it, unless you are going to put it on an external drive. One global search & replace should do the trick. If needs be import a single track into an empty Music library on the Mac and then export an XML version of the library so you can compare the two side by side.


See Managing your Mac media libraries - Apple Community for more on the layout of the Music library.


tt2

Jul 27, 2025 08:08 PM in response to turingtest2

And I gather I can't just switch the PC over to Apple Music, and just transfer the old fashioned way either as the Catalina version of music also won't read the windows 11 version of Apple Music library, right? Unless I export as XML and do the same file path edit anyway?


ie. newer versions will read older libraries, but older versions won't read newer libraries.



Jul 28, 2025 01:19 AM in response to lexwithbub

lexwithbub wrote:

And I gather I can't just switch the PC over to Apple Music, and just transfer the old fashioned way either as the Catalina version of music also won't read the windows 11 version of Apple Music library, right?


Exactly. The Apple Music for Windows library isn't compatible with the Mac.


Unless I export as XML and do the same file path edit anyway?


Apple Music for Windows lacks many features of iTunes, playlist export and import among them.


ie. newer versions will read older libraries, but older versions won't read newer libraries.


Correct. At least in general. There are some exceptions to the first half of that statement, but not the second


tt2

Jul 30, 2025 02:15 AM in response to lexwithbub

It seems like the issue might be with the compatibility between the different versions of iTunes and Music. The format or structure of the iTunes library file might not be recognized by the Music app on your Mac. You could try using the "Import" feature in the Music app on your Mac to try and bring in your music library from the external hard drive.

Transferring iTunes library on Windows 11 to Apple Music on Mac Catalina

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.