Import CSV into iTunes

Can you import a CSV file into iTunes? What converting CSV to tab-delimited text changes, what iTunes can match, and when a plain playlist file works better.

The short answer

iTunes is not a general CSV importer. Its playlist import is meant for playlist files: its own XML export, M3U-style lists and its tab-delimited text export. A spreadsheet of songs is useful only if it is reshaped into one of those forms and each row points to a music file that already exists. If you want to rebuild a playlist from files on your computer, converting CSV to tab-delimited text in iTunes' own layout is a reasonable approach. If you want to add songs you don't own, mass-edit tags, or load contacts or other non-music data, CSV conversion will not do it.

What people usually mean by importing a CSV

People searching for this usually want one of three things. Each one leads to a different answer.

  • Rebuilding a playlist from a list of tracks. This works only when the list can be matched to audio files that iTunes can locate.
  • Transferring a playlist from another service or app that exported a CSV. Titles and artists alone usually aren't enough, because a playlist import references files rather than searching for songs by name.
  • Bulk-loading metadata or non-music data such as contacts. CSV conversion is not the route for either. Contact data belongs in a contacts application, not in iTunes.

Is converting CSV to tab-delimited text suitable for your use?

The conversion pays off when your rows already identify real files on disk. In that case the list becomes something iTunes can read as a playlist, so you don't have to rebuild it by hand.

The key tradeoff is that the conversion only changes the container. It does not supply missing information. If your CSV has titles and artists but no file locations, the converted file has the same gap, and iTunes has nothing reliable to match against. Expect unmatched rows to be skipped or the import to produce an incomplete playlist. The evidence available for this article does not confirm exactly how iTunes reports partial matches, so test before relying on it.

Plain text is often the better choice in two cases. If all you have is a list of file paths, an M3U playlist (one path per line) is simpler than a tabular file and has no column layout to get wrong. If you only need a readable record of a playlist, keep the CSV as a reference document and don't import anything.

Your goal | Convert CSV to tab-delimited text? | Better option
Rebuild a playlist from files you have, with paths in the CSV | Yes, using iTunes' own column layout | An M3U list of paths also works
Recreate a playlist from titles and artists only | Unlikely to work alone | Locate the files first, then build a path list
Add songs you don't have files for | No | Not achievable through playlist import
Bulk-edit tags such as genre or year | No | A dedicated tag editor
Import contacts or other non-music data | No | The appropriate contacts or data application

What the conversion actually changes

Converting CSV to TSV changes the stored characters in the file, not how they look on screen. The commas between fields become tab characters. Quoting rules also change. CSV wraps a field in double quotes when the field contains a comma, a quote or a line break. A tab-delimited file doesn't need those quotes around commas, but it does need a plan for any field that contains a tab or a line break. No mirroring, reversal or font styling is involved. This is a structural change to how fields are separated.

Here is an illustrative input and output. The song title contains a comma, so the CSV version quotes it. The tab-delimited version separates fields with tabs and drops the quotes, because the title contains no tab.

Name,Artist,Album,Location
"Hello, Goodbye",Example Artist,Example Album,C:\Music\track01.mp3
Name	Artist	Album	Location
Hello, Goodbye	Example Artist	Example Album	C:\Music\track01.mp3

Column names and order matter as much as the delimiter. The most dependable way to get a layout iTunes recognizes is to export an existing playlist from iTunes as text and use it as a template. Keep its header row and arrange your data to match. Column sets and menu names have varied across iTunes versions and the Music app that replaced it on newer systems. Treat your own exported template as the reference, not any fixed list of columns.

Pitfalls that change meaning during conversion

  • Quoted commas. A converter that splits on every comma, ignoring quotes, breaks "Hello, Goodbye" into two fields and shifts every later column.
  • Embedded tabs or line breaks. A tab inside a field adds a false column. A line break inside a quoted CSV field can split one record into two rows.
  • Encoding. Titles with accented letters or non-Latin scripts can turn into garbled characters if the file is saved in a different encoding from the one the importer expects. Matching the encoding of an iTunes export is the safest approach.
  • File paths. A path pointing to a moved, renamed or disconnected drive cannot be matched, even if the title is correct.
  • Spreadsheet auto-formatting. Opening and resaving the file in a spreadsheet can reformat values such as track numbers or durations, or change the delimiter on save.

Will the file stay usable after copying or sharing?

Tab-delimited text is fragile when passed around as pasted text rather than as a file. Some editors, chat tools and web forms convert tabs to spaces or strip them, which collapses the columns. Share the file itself, and check it in an editor that can show tab characters before importing. Sending a playlist file to another computer also carries over the original computer's file paths. Unless the music sits at the same locations on the receiving machine, the paths won't resolve there.

Accessibility concerns are limited here, because the result is ordinary characters in a data file rather than styled or substituted glyphs. A screen reader reading the raw file will hear the content, but the column structure can be hard to follow without a table view. For people who need to review the list, a CSV opened in a spreadsheet, or a short plain list of titles, is easier to read than the import file. Searching and editing are unaffected by the conversion itself. Text search finds titles just as it did in the CSV.

A cautious workflow

  • Export a small existing playlist from iTunes as text to see the layout and encoding it uses.
  • Convert your CSV with a tool that respects quoted fields, keeping the template's header row and column order.
  • Confirm that each row has a valid file location for music on the computer doing the import.
  • Import a short test file of a few rows first and compare the resulting playlist with the source.
  • Back up your library before importing large lists, so a bad import can be undone.

What this article could not confirm

No version-specific documentation or test results were available for this article. It does not state which iTunes or Music app versions accept which columns, how unmatched rows are reported, or whether encodings other than the export default are handled. Those points depend on the version you use and should be checked with a small test import.