Export your libraries
Download a backup of each of your music libraries as a JSON file, with every track's title, artist, id and date. Keep it as an offline copy, or use it to move your music.
YouTube Music
Playlists and Liked Music, as a JSON file: titles, artists, video ids and dates.
Spotify
Playlists and Liked Songs, as a JSON file: titles, artists, track ids and dates.
How to use the export
Download the JSON file and give it to your AI agent (e.g. Claude, ChatGPT) — it will understand the structure and help you analyze or migrate your music library.