HTML to Magic Converter
Transform HTML into MTG deck list format
HTML Input
Magic Deck Output
About HTML to Magic Converter
Convert HTML deck lists to Magic: The Gathering deck format compatible with MTG Arena, MTGO, and popular deck-building websites. Perfect for importing decks from web pages and organizing your collection.
Key Features
- Table Extraction: Automatically extracts cards from HTML tables
- List Support: Parses ordered and unordered lists
- Quantity Detection: Recognizes card quantities (4x, 4, etc.)
- Card Grouping: Groups cards by type (Creatures, Spells, Lands)
- Set Information: Optional set code inclusion
- Statistics: Displays total and unique card counts
- Comments: Optional deck comments and headers
How to Use
- Input HTML: Paste HTML containing deck list or upload a file
- Configure Options: Choose grouping and formatting options
- Review Output: The deck list updates automatically
- Copy or Download: Use the Copy or Download button to save your deck
Supported HTML Formats
- Tables: Qty | Card Name | Set | Type columns
- Lists: "4 Counterspell" or "4x Counterspell (ISD)"
- Text: Plain text with quantities and card names
- Mixed: Combination of tables and lists
Output Format
The converter generates standard MTG deck format:
// Creatures (6) 4 Snapcaster Mage 2 Vendilion Clique // Instants (10) 4 Counterspell 3 Path to Exile 3 Cryptic Command // Lands (13) 4 Hallowed Fountain 4 Flooded Strand 3 Island 2 Plains
Card Grouping
When "Group by card type" is enabled, cards are organized into:
- Creatures: All creature cards
- Planeswalkers: Planeswalker cards
- Instants: Instant spells
- Sorceries: Sorcery spells
- Enchantments: Enchantment cards
- Artifacts: Artifact cards
- Lands: Land cards
- Other: Uncategorized cards
Common Use Cases
- Deck Import: Import decks from websites to MTG Arena/MTGO
- Collection Management: Organize your card collection
- Deck Building: Convert web deck lists to editable format
- Tournament Prep: Format deck lists for tournament submission
- Deck Sharing: Create shareable deck lists
- Archiving: Save deck lists in standard format
Tips for Best Results
- Structured Data: Use tables or lists for best extraction
- Clear Quantities: Include card quantities (4, 4x, etc.)
- Card Names: Use exact card names from Gatherer
- Type Information: Include card types for proper grouping
- Set Codes: Use standard 3-letter set codes (ISD, MOR, etc.)
Privacy & Security
All conversions happen locally in your browser. Your deck lists are never uploaded to any server, ensuring complete privacy and security.
