Convert MTG Data to CSV
How MTG CSV conversion works, where card names, mana symbols and set data break, and when a plain-text decklist is the better choice.
Converting Magic: The Gathering data to CSV usually means turning a decklist, a collection export or card records into rows and columns that a spreadsheet, database or collection tracker can read. The conversion is simple when the data is simple. It becomes error-prone with card names that contain commas or quotation marks, split cards, accented characters, multi-line rules text and identifiers that spreadsheets reformat automatically. This review explains what the conversion changes, where it can lose meaning, and when plain text is the better choice.
No specific converter was tested for this article, and no tool-specific features, limits or results are claimed. The guidance relies on how CSV and TSV work in general and on characteristics of MTG card data that you can check yourself.
Is CSV conversion suitable for your use?
CSV is a good fit if you want to sort, filter, count or total card data, or move a collection between tools that each accept a tabular import. Its main benefit is structure: quantity, name, set and condition become separate fields that software can work with directly.
The main tradeoff is that CSV has no single strict standard in practice. Programs differ in which delimiter they expect, how they handle quoted fields and line breaks, and which character encoding they assume. A file that one tool reads correctly can be misread by another, and the damage is often silent: a shifted column or a mangled accent rather than an error message.
Plain text is often the better choice in these cases:
- You are sharing a decklist with another person to read, not to process.
- The destination is a deckbuilder or game client that accepts a pasted list of lines such as a quantity followed by a card name.
- You need to keep full rules text, reminder text or notes, where multi-line content is easier to read and edit outside a grid.
- You only need a one-time copy and have no plans to sort or analyze the data.
What the conversion actually changes
The conversion changes how the data is stored, not how it looks. It does not reverse, mirror or restyle characters. A converter reads the source format, splits each record into fields, and writes those fields with a delimiter between them. In CSV the delimiter is a comma. In TSV it is a tab. The first row usually holds column headers. Any field that contains the delimiter, a double quotation mark or a line break must be wrapped in double quotes, and a quotation mark inside a field is written as two quotation marks.
Here is an illustrative decklist in a common quantity-and-name style:
4 Lightning Bolt
2 Jace, the Mind Sculptor
1 Fire // Ice
1 Kongming, "Sleeping Dragon"
Correctly converted to CSV, it becomes:
quantity,name
4,Lightning Bolt
2,"Jace, the Mind Sculptor"
1,Fire // Ice
1,"Kongming, ""Sleeping Dragon"""
Each row in this example follows the quoting rule above. The Jace name contains a comma, so the name is quoted. Without the quotes, a reader would see three fields instead of two. The Kongming name contains both a comma and quotation marks, so the field is quoted and the inner quotes are doubled. Fire // Ice contains neither, so it needs no quoting. The two halves of a split card stay in one field, which is usually right for a decklist. Some tools, however, store each half as a separate face, so check what your destination expects.
The same list as TSV needs no quoting for these names because none of them contains a tab:
quantity name
4 Lightning Bolt
2 Jace, the Mind Sculptor
1 Fire // Ice
1 Kongming, "Sleeping Dragon"
TSV avoids the comma problem, which is common in MTG names. It still breaks if a field contains a tab or a line break, and not every importer accepts it. A converter that simply replaces spaces or commas with tabs, without parsing the fields, will produce wrong results on names like the ones above.
MTG-specific details that conversion can damage
| Data element | Risk during conversion or opening | What to check |
| Names with commas or quotes | Split into extra columns if quoting is missing | Row has the expected number of fields |
| Split, adventure and double-faced cards | Halves merged, separated or one face dropped | Destination's expected naming for multi-face cards |
| Accented characters (for example Jötun Grunt) | Garbled if the file is read with the wrong encoding | File saved and opened as UTF-8 |
| Mana costs written as {2}{U}{U} | Usually safe as text; symbol images are not carried over | Braces and letters intact |
| Multi-line rules text | Line breaks split one record into several rows if unquoted | Record count matches card count |
| Collector numbers with leading zeros or letters | Leading zeros stripped or values treated as numbers | Column imported as text |
| Power/toughness stored together, such as 1/1 | Possibly reinterpreted as a date by a spreadsheet | Column imported as text, or power and toughness split into separate columns |
Accented characters raise a separate encoding issue. The same visible letter can be stored as one precomposed character or as a base letter followed by a combining mark. Both look the same on screen, but an exact-match lookup or import can treat them as different names. If a card with an accented name fails to match while others succeed, a normalization difference is one possible cause.
Will the result stay readable and usable after copying or sharing?
Because CSV is plain text, it copies, pastes and searches like any other text, and screen readers handle the values as ordinary words. Mana costs written in brace notation are read out literally, for example as braces and letters, not as symbol names. Brace notation is less friendly when read aloud than spelled-out text, but it keeps the cost unambiguous.
Most problems appear when a spreadsheet opens the file:
- Depending on the program, version and import method, a UTF-8 file may be read with a different encoding, which garbles accented names. Importing through a dialog that lets you choose UTF-8 is generally safer than opening the file directly.
- Automatic type detection can strip leading zeros, convert fractions to dates or reformat long numbers. Setting identifier columns to text during import prevents this.
- In some regional settings, spreadsheets use a semicolon as the list separator, so a comma-delimited file may open as a single column.
- Re-saving from a spreadsheet can silently change the encoding, delimiter or quoting, so a file that imported correctly may not export cleanly back to its original format.
Pasting CSV into a chat or message produces a dense block that is hard to read, so share a plain-text list or a screenshot of the table there instead. Pasting CSV into a field that expects a plain decklist will usually fail, because the destination will read the header row and the commas as part of the card names. If the destination is a named collection tracker or game client, rely on its own import documentation for column names and format. This article cannot confirm any specific tool's requirements.
Checking a converted file before you rely on it
- Compare the total card count in the source and in the CSV.
- Spot-check rows for cards with commas, quotation marks, accents and multiple faces.
- Open the file in a plain text editor as well as a spreadsheet to see the actual stored characters.
- Import a small test file into the destination before importing a whole collection.
- Keep the original export unchanged so you can redo the conversion if needed.
Privacy considerations
Collection exports can include purchase prices, quantities and notes you may not want to share. A converter's appearance or marketing does not tell you whether uploaded data is stored or logged. If that matters, read the tool's stated data policy, or convert locally with a spreadsheet program or a script you control.
Bottom line
Converting MTG data to CSV is worthwhile when you need sortable, importable records, provided the converter quotes fields correctly and keeps UTF-8 encoding. The decisive risk is silent corruption: split names, dropped faces, garbled accents and reformatted numbers. TSV can sidestep comma issues if your destination accepts it. For sharing a deck with people or pasting into a decklist field, plain text remains the simpler and more reliable format.