Markdown to Magic Converter

Transform Markdown tables into Magic: The Gathering deck list format

Markdown Input

Magic Deck Output

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.