You can export any playlist in iTunes, including playlists on your iPhone, iPod, or iPad. Select your device in iTunes and then click the playlist name in the “On My Device” section of the sidebar.

Select “XML” if you’re planning on importing the playlist back into iTunes, such as when you’re moving a playlist from your iPhone to your computer or sharing it with a friend. Select “M3U” if you are importing the playlist into a program like Winamp or MediaMonkey. Select “Text files” if you want to save all of the data for each song into a tab-separated plain text file. This can be useful for importing the playlist into a database or spreadsheet program such as Excel. [1] X Research source