Markdown to MediaWiki Converter
Transform Markdown tables into MediaWiki markup for Wikipedia, Wikia, and other MediaWiki-powered sites
Markdown Input
MediaWiki Output
About Markdown to MediaWiki Converter
Convert Markdown tables to MediaWiki table markup format for use in Wikipedia, Wikia, and other MediaWiki-powered wikis. MediaWiki uses a pipe-based syntax with special formatting for tables.
Key Features
- Header Support: Toggle header row with exclamation mark (!) delimiters
- Table Classes: Choose from wikitable, sortable, collapsible styles
- Border Control: Add or remove table borders
- Automatic Parsing: Extracts data from GitHub Flavored Markdown tables
- MediaWiki Compatible: Works with Wikipedia, Wikia, and all MediaWiki sites
- File Upload: Upload .md files directly
- Instant Preview: Real-time conversion as you type
- Copy & Download: Easy export options
How to Use
- Input Markdown Table: Paste your Markdown table or upload a .md file
- Configure Options: Choose header, border, and table class settings
- Review Output: The MediaWiki markup updates automatically
- Copy to Wiki: Use the Copy button and paste into your wiki page
- Download (Optional): Save as .wiki file for later use
MediaWiki Table Syntax
- {|: Table opening with optional attributes
- ! Header: Exclamation mark for header cells
- |-: Row separator
- | Data: Pipe for data cells
- ||: Cell separator within a row
- |}: Table closing
Table Classes
- wikitable: Standard Wikipedia table styling with borders and alternating row colors
- wikitable sortable: Adds sorting functionality to column headers
- wikitable collapsible: Makes table collapsible with show/hide button
- None: No class, uses default MediaWiki styling
Example Conversion
Markdown Input:
| Name | Age | City | Department | |------|-----|------|------------| | John Doe | 28 | New York | Engineering | | Jane Smith | 34 | London | Marketing |
MediaWiki Output:
{| class="wikitable" border="1"
! Name !! Age !! City !! Department
|-
| John Doe || 28 || New York || Engineering
|-
| Jane Smith || 34 || London || Marketing
|} Common Use Cases
- Wikipedia Editing: Add data tables to Wikipedia articles
- Wiki Documentation: Create structured documentation tables
- Wikia/Fandom: Build tables for gaming wikis and fan sites
- Internal Wikis: Document company data in corporate wikis
- Educational Content: Create comparison tables for learning materials
- Data Presentation: Display structured data in wiki format
MediaWiki Compatibility
This converter generates standard MediaWiki markup that works with:
- Wikipedia (all language editions)
- Wikia / Fandom wikis
- MediaWiki-powered corporate wikis
- Wikimedia Commons
- Wiktionary, Wikibooks, Wikiversity
- Any site using MediaWiki software
Advanced Features
- Sortable Tables: Enable column sorting with "wikitable sortable" class
- Collapsible Tables: Create expandable tables with "wikitable collapsible" class
- Cell Alignment: MediaWiki supports inline styling for alignment
- Row Spanning: Can be added manually with rowspan attribute
- Column Spanning: Can be added manually with colspan attribute
Markdown Table Support
Supports GitHub Flavored Markdown (GFM) table syntax:
- Pipe-delimited columns
- Header separator line with dashes
- Optional column alignment indicators (:---:, ---:, :---)
- Leading and trailing pipes
Tips for Best Results
- Use "wikitable" class for consistent Wikipedia styling
- Enable "sortable" for tables with many rows
- Keep cell content concise for better readability
- Test the output in wiki preview mode before publishing
- Use header row for column names
- Avoid nested tables for better compatibility
- Consider mobile users when creating wide tables
Privacy & Security
All conversions happen locally in your browser. Your Markdown data is never uploaded to any server, ensuring complete privacy and security.
