HTML to Magic Converter
Transform HTML into MTG deck list format
HTML Input
Convert HTML to other formats
Magic Deck Output
Convert other formats to Magic
Related Tools
HTML to Markdown
Convert HTML to Markdown format with GitHub Flavored Markdown support
HTML to MATLAB
Convert HTML tables and data to MATLAB matrix, cell array, or struct format
HTML to MediaWiki
Convert HTML to MediaWiki markup format for Wikipedia and other wiki platforms
HTML to Pandas DataFrame
Convert HTML tables to Python Pandas DataFrame code for data analysis
HTML to PDF
Convert HTML documents to PDF with customizable page size, orientation, and styling
HTML to PHP
Convert HTML tables and data to PHP arrays, objects, or echo statements
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 a deck list (tables or lists) or upload a file exported from a website.
- 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
FAQ
- Which Magic platforms is this compatible with?
The generated text format is compatible with most Magic: The Gathering tools, including MTG Arena, MTGO, and popular deck-building websites that accept “quantity + card name” lists. - Do I need set codes?
Set codes are optional. If you enable set information and your HTML contains them, they will be included in parentheses (e.g.4 Snapcaster Mage (ISD)), which many sites understand. - What if my HTML doesn’t have card types?
If type information is missing, cards are placed in the “Other” section when grouping is enabled. You can still manually move them later in your deck editor. - Can this handle sideboards?
If your HTML separates mainboard and sideboard into different sections or tables, you can convert them separately or post‑edit the output to add sideboard labels.
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 HTML to Magic deck conversions run entirely in your browser. Your deck lists, card choices, and collection details are never uploaded or stored on any server.
