How to move your music library to a new computer safely

A careful migration plan for music files, metadata, artwork, playlists and player databases across Windows, Mac and external drives.

A hand pushing a USB device into a laptop’s side port, beside a second cable already connected.
Photo: Aleksander Dumała / Pexels

Moving a music library is not one operation. It is three:

  1. copy the audio files and sidecar artwork;
  2. preserve or repair the metadata inside those files;
  3. decide which application data is worth exporting and rebuilding.

The first is a file operation. The second belongs to your collection. The third belongs to the player you happen to use. Keeping those layers separate is what prevents the classic result: every file arrived, but the new computer shows an empty library, missing artwork and playlists full of broken paths.

A hand pushing a USB device into a laptop’s side port, beside a second cable already connected.
The transfer is only the visible part of a migration. Verify the copy before you disconnect the old library or change its paths. Photo: Aleksander Dumała / Pexels.

Before you touch the old computer

Make a short inventory:

  • the total size of the music folders;
  • the number of audio files;
  • the number of albums and artists shown by the current player;
  • every folder that contains music, including downloads and an external drive;
  • sidecar artwork such as cover.jpg and folder.jpg;
  • playlist files such as M3U or M3U8;
  • the current player and its database or library location;
  • ratings, play counts, smart playlists and listening history you actually care about.

Do not rely on the player count alone. A player may hide duplicates, ignore unsupported files or count one multi-disc release differently from another. The folder and the files are the durable evidence.

If the library is untidy, this is a good time to read the folder structure guide and decide whether you are migrating a collection or migrating a mess. Do not reorganise and migrate in one unverified operation unless you enjoy debugging two changes at once.

Make a real backup first

The old computer is not the backup. The new computer is not the backup. Make a third copy before the original is changed.

Use an external drive or a trusted backup service, and confirm that the copy is complete. A file count and total byte count catch missing folders. A checksum manifest catches silent corruption or a file that was replaced with a different version of the same name.

Three checks against a copy with one flipped bit: the file count passes, the byte total passes, and the hash manifest fails and names the file.
A migration is not verified because the destination opens. Compare counts first, then use a checksum when the collection matters enough to protect.

On Windows, Microsoft documents external storage, File History and OneDrive as different ways to protect personal files. On macOS, a normal file copy or a Time Machine backup can be useful, but neither tells you that a music player database is portable. The important part is that the audio tree exists independently of the player.

Use a simple structure such as:

Music/
  Artist/
    Album (Year)/
      01 - Track.flac
      cover.jpg

Preserve it unless you have a reason to change it. An unchanged structure makes path problems easier to see and playlists more likely to remain portable.

What actually travels

ItemInside the audio file?Migration treatment
Title, artist, album, yearUsuallyTravels with the file if the tags are saved correctly.
Album artist, disc and track numberUsuallyTravels with the file and controls grouping and order.
Embedded artworkYes, when usedTravels with the file. Verify MP3 and FLAC samples.
cover.jpg or folder.jpgNoCopy the sidecar file with the album folder.
Playlist fileNoExport and copy it. Paths may need rewriting.
Ratings and play countsUsually noExport if the player supports it. Otherwise expect loss or manual recreation.
Player database and cacheNoRebuild on the new computer unless the vendor documents migration.
Digr’s local indexNoRescan the music folders. The files remain the source of truth.

This is the distinction that saves the most time. Metadata is part of the collection. A database is an application view of the collection. One can travel with a file. The other usually cannot.

Windows to Windows

Copy the complete music folder to the new PC before installing or importing into a player. If the path changes from D:\Music to C:\Users\Name\Music, expect playlists with absolute paths to need relinking or re-importing.

Windows Backup can transfer selected files and settings during setup, and Microsoft also documents external storage and OneDrive as options. Those tools transfer files. They do not guarantee that a third-party player will accept its old database, so treat the application layer separately.

Keep filenames and paths conservative. Windows applications commonly encounter the 260-character path limit, even though some long-path settings and APIs can support more. A library that was comfortable under D:\Music can fail under a deeply nested OneDrive path.

After copying:

  1. compare file counts and bytes;
  2. check that the destination files are available offline, not placeholders;
  3. install the player;
  4. add the destination folder or import playlists;
  5. rescan and inspect several albums;
  6. test a file from each format you own.

Mac to Mac

The least surprising Mac migration keeps the same top-level folder shape. If the library lived on an external drive, give the new computer the same drive and confirm the volume mounts before opening the player.

If you use Apple’s Music app, distinguish the media files from the library database. Apple documents library files, media folders and the choice to copy files into the media folder as separate parts of the setup. Do not assume that copying a folder of audio files also copied playlists, ratings or Sync Library state.

For another player, add the music root as a new location rather than importing a stale cache from the old Mac. If the player supports an XML, M3U or native export, preserve it as a second step after the files are visible.

Windows to Mac, or Mac to Windows

The safest cross-platform migration is file-first:

  1. copy the audio files to a filesystem both computers can read;
  2. avoid a path that is too deep for Windows;
  3. preserve embedded tags and sidecar artwork;
  4. export playlists as M3U or another documented portable format;
  5. open the playlist in a text editor and check whether its paths use the old operating system’s syntax;
  6. import or rewrite the paths on the destination;
  7. rebuild the player index.

exFAT is often convenient for a drive shared between Windows and macOS, but choose a filesystem based on the drive’s full job, not just this one transfer. If the drive is also a backup, permissions, reliability and backup software support matter. Keep the verified backup in another place.

External drives are a separate failure mode

If the collection stays on an external drive, the migration may be as simple as connecting the drive to the new computer. Test that assumption:

  • confirm the drive has the expected name and folders;
  • check that the operating system mounted it readably;
  • open files directly before launching the player;
  • add the root to the player rather than guessing a database path;
  • eject and reconnect once if the player is meant to handle removable storage.

The external-SSD guide covers the copy and verification side in more detail. The important rule here is not to retire the old machine until the new one has played from the real drive and the backup has been checked.

The migration checklist

  • Inventory folders, files, formats, playlists and player data.
  • Make a third copy before changing the original.
  • Preserve the existing folder structure.
  • Copy embedded and sidecar artwork.
  • Record file count and total bytes.
  • Generate or verify checksums for the copy.
  • Check the destination filesystem and path length.
  • Export playlists, ratings or history if the player supports it.
  • Install the player on the new computer.
  • Add the folder and rebuild the index.
  • Test albums, playlists, artwork and several file formats.
  • Keep the old computer and backup untouched until the checks pass.

Common mistakes

The expensive mistakes are predictable:

  • deleting the old library after the copy finishes, before verification;
  • copying only the files visible in the player;
  • forgetting sidecar artwork;
  • assuming a player database is portable between operating systems;
  • treating a playlist as if it contains music rather than paths;
  • letting a cloud service create placeholders instead of local files;
  • copying into a path that exceeds Windows applications’ limits;
  • reorganising folders, repairing tags and changing players all at once;
  • trusting a matching file count without checking bytes or hashes.

Digr’s local-first model keeps the durable part simple: your files and their tags remain on your disk. Its index is derived from those files, so a new machine needs a rescan, not a claim that the database is the collection. That is a small distinction until the day you need to move everything.

Sources

Common questions

Do playlists move with a music library?

Only if you export or copy them in a format the new player can import. The audio files and their embedded tags do not automatically carry application playlists, ratings, play counts or listening history. Treat those as a separate migration layer and expect to rebuild some of them.

Should I copy or move my music files to the new computer?

Copy first, verify the copy, and keep the old machine or backup untouched until the new library plays correctly. A move that deletes the original before verification turns a simple transfer into a recovery job.

Can I move a music library from Windows to Mac?

Yes, when the destination filesystem and player can read the files, but the application database may not transfer cleanly. Copy the audio and artwork, export playlists where possible, then add the folder to the new player and check its tags and paths.

Will album artwork move with the music files?

Embedded artwork moves with each file. A cover.jpg or folder.jpg moves only if you copy the sidecar file beside the tracks. Player artwork caches do not move reliably and should be rebuilt on the new computer.

Does Digr migrate my player database to a new computer?

Digr can index the same local folders on a new computer, but its database is a derived cache, not the source of truth for your music. Copy the files and their metadata, then rescan. Application-specific ratings, history and playlists should be treated separately.

  • music library migration
  • new computer
  • backup
  • playlists
  • external drive
  • Windows
  • macOS