Convert MediaWiki Table to JSON Online | Free & Secure
Convert MediaWiki tables to a JSON array or object online. Supports standard wiki syntax and headers with clean, secure client-side parsing.
Paste MediaWiki table markup (starting with {|) and this tool instantly converts it into JSON—either a 2D array of raw rows or an array of objects that uses the table's header row as keys. It strips bold, italic, and link markup automatically, and runs entirely in your browser with no upload.
MediaWiki Input
上傳
JSON Output
結果會顯示在這裡...
結果會顯示在這裡...
How to Convert MediaWiki to JSON
Paste your MediaWiki table markup (starting with {|).
Select 'Array' for raw data or 'Object' to use headers as keys.
Click 'Convert' to get the JSON result.
Key Features
Table Support
Parses standard MediaWiki tables including headers and multi-column rows.
Clean Extraction
Removes wiki styling (bold, italic) and link markup automatically.
Dual Modes
Convert to simple 2D arrays or structured JSON objects.
FAQ
Does it support nested tables?
It currently processes the first outer table found. Nested tables may need manual extraction.
Paste MediaWiki table markup (starting with {|) and this tool instantly converts it into JSON—either a 2D array of raw rows or an array of objects that uses the table's header row as keys. It strips bold, italic, and link markup automatically, and runs entirely in your browser with no upload.
How to Use the MediaWiki to JSON Converter
- 1
Paste your MediaWiki table
Enter the wiki table markup into the input field. It must start with {| and end with |} so the parser can locate the table.
- 2
Choose a conversion mode
Select "2D Array" for raw row-by-row data, or "Array of Objects" to use the first row of headers as JSON keys.
- 3
Click Convert
The parser splits rows on |- and cells on the column separators, removing bold, italic, and link markup as it goes.
- 4
Copy the JSON output
Review the structured JSON in the output panel and copy it for use in your scripts, APIs, or data pipelines.
References
- MediaWiki — Help: Formatting
Official MediaWiki guide to wikitext formatting, including table syntax, bold/italic markup, and links.
- RFC 8259 — JSON
The IETF specification for the JSON data interchange format produced by this tool.
Related Tools
Frequently Asked Questions
- Does it support nested tables?
- It currently processes the first outer table found. Nested tables may need manual extraction.
- What is the difference between Array and Object mode?
- 2D Array mode returns each row as a list of cell values exactly as written. Array of Objects mode treats the first row as headers and uses those labels as keys for every subsequent row, which requires at least two rows.
- Does the converter remove wiki styling and links?
- Yes. It automatically strips bold (''') and italic ('') markup and reduces links like [[Target|Label]] to their display label, so the JSON contains clean text values.
- Is my wiki data sent to a server?
- No. All parsing runs entirely in your browser. Your MediaWiki markup never leaves your device, which keeps the conversion secure and private.