Markdown to Magic Converter

Transform Markdown tables into Magic: The Gathering deck list format

About Markdown to Magic Converter

Convert Markdown tables to Magic: The Gathering deck list format. Perfect for organizing your MTG decks, sharing deck lists, and importing into deck building tools like MTG Arena, MTGO, or third-party deck builders.

Key Features

  • Standard Format: Generates the widely-used "Quantity CardName" format
  • Header Detection: Automatically detects quantity and card name columns
  • Deck Sections: Support for main deck, sideboard, or both
  • Smart Column Detection: Finds quantity and card name columns automatically
  • File Upload: Upload .md files directly
  • Instant Preview: Real-time conversion as you type
  • Copy & Download: Export as .txt file for deck builders

How to Use

  1. Input Markdown Table: Paste your Markdown table with card data or upload a .md file
  2. Configure Options: Choose header inclusion and deck format (main/sideboard/both)
  3. Review Output: The deck list updates automatically
  4. Copy to Deck Builder: Use the Copy button and paste into MTG Arena, MTGO, or other tools
  5. Download (Optional): Save as .txt file for later use

Deck List Format

The standard Magic deck list format is:

Quantity CardName
4 Lightning Bolt
4 Counterspell
20 Island

Example Conversion

Markdown Input:

| Quantity | Card Name | Type | Mana Cost |
|----------|-----------|------|-----------|
| 4 | Lightning Bolt | Instant | R |
| 4 | Counterspell | Instant | UU |
| 20 | Island | Land | - |

Magic Output:

// Magic: The Gathering Deck Format
// Format: Quantity CardName

// Main Deck
4 Lightning Bolt
4 Counterspell
20 Island

Common Use Cases

  • Deck Building: Convert spreadsheet data to deck lists
  • MTG Arena Import: Create deck lists for MTG Arena import
  • MTGO Import: Generate deck lists for Magic Online
  • Deck Sharing: Share deck lists in standard format
  • Collection Management: Convert inventory tables to deck format
  • Tournament Preparation: Organize main deck and sideboard

Compatible Platforms

The generated deck lists work with:

  • MTG Arena (Magic: The Gathering Arena)
  • MTGO (Magic: The Gathering Online)
  • Archidekt
  • Moxfield
  • TappedOut
  • MTGGoldfish
  • Scryfall
  • Most other MTG deck builders

Table Format Requirements

Your Markdown table should include:

  • Quantity Column: Number of copies (1-4 for most cards, any number for basic lands)
  • Card Name Column: Exact card name as printed
  • Optional Columns: Type, mana cost, color, etc. (will be ignored in output)

Deck Construction Rules

  • Main Deck: Minimum 60 cards (Standard, Modern, Pioneer, Legacy, Vintage)
  • Sideboard: Maximum 15 cards
  • Card Limit: Maximum 4 copies of any card (except basic lands)
  • Commander: Exactly 100 cards (including commander)

Tips for Best Results

  • Use exact card names as they appear on the cards
  • Include set codes if needed (e.g., "4 Lightning Bolt [LEA]")
  • Separate main deck and sideboard for tournament-legal lists
  • Double-check quantities to ensure deck legality
  • Use the header option if your first row contains column names

Privacy & Security

All conversions happen locally in your browser. Your deck data is never uploaded to any server, ensuring complete privacy and security.

Frequently Asked Questions

Which columns are required in my Markdown table?

You should have at least a quantity column and a card name column. Other columns like type, mana cost, or notes are optional and are ignored in the final deck list.

How does the tool detect the quantity and card name columns?

When the first row is treated as a header, the converter looks for header names like "Quantity", "Qty", "Count" and "Card", "Card Name", or "Name" (case-insensitive) to pick the correct columns.

Is the generated list valid for MTG Arena and MTGO?

Yes. The output follows the common "Quantity CardName" format accepted by most major deck builders, including MTG Arena, MTGO, and popular web-based tools.

How are basic lands and special cards handled?

The tool does not enforce deck-building rules. It simply converts whatever quantities and names you provide. It's up to you to respect format rules (e.g., 4-of limits, sideboard size, etc.).

Can I generate only a sideboard from my table?

Yes. Use the deck format selector to output only the sideboard section, only the main deck, or both sections together, depending on your needs.