Go to Sign up
Note: Your files never leave your device. We don't upload, transfer, or store your data.
{"_value": "text", "_colspan": 2} — column span{"_value": "text", "_rowspan": 3} — row span{"_value": "text", "_style": "color:red;"} — inline style{"_value": "Hi", "_bgcolor": "yellow", "_color": "blue"} — cell colors
MediaWiki is the open-source wiki engine that powers Wikipedia, Fandom (Wikia), Wikimedia Commons, and thousands of corporate and community wikis. It uses a markup language called wikitext for page formatting.
| Platform | URL | Uses MediaWiki |
|---|---|---|
| Wikipedia | wikipedia.org | Yes |
| Fandom (Wikia) | fandom.com | Yes |
| Wikimedia Commons | commons.wikimedia.org | Yes |
| Wikiquote | wikiquote.org | Yes |
| Wiktionary | wiktionary.org | Yes |
| Many corporate wikis | Internal | Yes |
MediaWiki uses pipe-based syntax to define tables:
{| class="wikitable"
|-
! Header 1 !! Header 2 !! Header 3
|-
| Cell 1 || Cell 2 || Cell 3
|-
| Cell 4 || Cell 5 || Cell 6
|}
| Element | Syntax | Description |
|---|---|---|
| Table start | `{ | ` |
| Table end | |} | Closes the table |
| Row separator | |- | Starts a new row |
| Header cell | ! text | Bold header cell |
| Header cells in line | ! H1 !! H2 !! H3 | Multiple headers on one line |
| Data cell | | text | Regular data cell |
| Data cells in line | | C1 || C2 || C3 | Multiple cells on one line |
| CSS class | class="wikitable" | Standard Wikipedia table styling |
A wikitable is a standard MediaWiki table using the class="wikitable" CSS class. It produces a bordered, styled table with a gray header row — the default table style on Wikipedia.
{| class="wikitable"
|-
! Country !! Population !! Capital
|-
| Japan || 125,000,000 || Tokyo
|-
| France || 67,000,000 || Paris
|}
Wikitables appear in thousands of Wikipedia articles for data presentation: comparison tables, statistics, specifications, and schedules.
An infobox is a sidebar summary panel, typically displayed at the top-right of Wikipedia articles. It uses the {{Infobox}} template with label-data pairs.
{{Infobox
| title = My Topic
| label1 = Population
| data1 = 125,000,000
| label2 = Capital
| data2 = Tokyo
| label3 = Language
| data3 = Japanese
}}
Infoboxes present key facts at a glance. Common on Wikipedia for countries, people, companies, films, species, and products.
| Feature | Wikitable | Infobox |
|---|---|---|
| Layout | Full-width table | Right-aligned sidebar |
| Structure | Rows and columns | Label-data pairs |
| Best for | Multi-row data, comparisons, statistics | Single-entity summaries, key facts |
| CSS class | class="wikitable" | {{Infobox}} template |
| Wikipedia usage | In-article data tables | Top of article (right side) |
| Input | Array of objects (rows) | Single object (key-value pairs) |
| Columns | Multiple columns | Two (label + data) |
| Use Case | Description |
|---|---|
| Wikipedia editing | Add data tables to Wikipedia articles |
| Fandom wikis | Create tables and infoboxes for game, movie, or TV wikis |
| Corporate wikis | Internal knowledge bases using MediaWiki |
| Documentation | Embed data tables in wiki-based documentation |
| Data migration | Move structured data into wiki pages |
| Comparison tables | Generate comparison tables for Wikipedia |
| Academic wikis | Add research data to university MediaWiki installations |
File Upload: Drag and drop or select a .json file.
Code Editor: Paste or type raw JSON with syntax highlighting and real-time validation.
Generates a standard {| class="wikitable" ... |} table with headers and data rows.
Input JSON:
[
{"country": "Japan", "population": 125000000, "capital": "Tokyo"},
{"country": "France", "population": 67000000, "capital": "Paris"},
{"country": "Germany", "population": 83000000, "capital": "Berlin"}
]
Output:
{| class="wikitable"
|-
! country !! population !! capital
|-
| Japan || 125000000 || Tokyo
|-
| France || 67000000 || Paris
|-
| Germany || 83000000 || Berlin
|}
Generates an {{Infobox}} template with label-data pairs from a single JSON object.
Input JSON (single object or first object in array):
{
"name": "Mount Fuji",
"elevation": "3,776 m",
"location": "Japan",
"type": "Stratovolcano",
"last_eruption": "1707"
}
Output:
{{Infobox
| title = Mount Fuji
| label1 = name
| data1 = Mount Fuji
| label2 = elevation
| data2 = 3,776 m
| label3 = location
| data3 = Japan
| label4 = type
| data4 = Stratovolcano
| label5 = last_eruption
| data5 = 1707
}}
All processing runs entirely in your browser. No data is uploaded to any server.
Choose one of two input methods:
Upload a file: Click "Choose File" and select a .json file, or drag it into the upload area.
Paste data: Click "Enter Data" to switch to the code editor. Paste your JSON. A "Valid JSON" badge confirms correct formatting.
In the Properties panel:
Wikitable: For multi-row data tables (arrays of objects)
Infobox: For single-entity summaries (label-data pairs)
Click Convert. The MediaWiki markup appears in the "Output Data" panel.
Click Copy to Clipboard.
Open a MediaWiki page (Wikipedia, Fandom, or any MediaWiki site).
Click Edit (or Edit source on Wikipedia).
Paste the markup into the editor.
Click Publish changes.
Input JSON:
[
{"country": "United States", "gdp_trillion": 25.5, "population_million": 331, "continent": "North America"},
{"country": "China", "gdp_trillion": 18.3, "population_million": 1412, "continent": "Asia"},
{"country": "Japan", "gdp_trillion": 4.2, "population_million": 125, "continent": "Asia"},
{"country": "Germany", "gdp_trillion": 4.1, "population_million": 83, "continent": "Europe"},
{"country": "United Kingdom", "gdp_trillion": 3.1, "population_million": 67, "continent": "Europe"}
]
Configuration: Output Mode = Wikitable
Output:
{| class="wikitable"
|-
! country !! gdp_trillion !! population_million !! continent
|-
| United States || 25.5 || 331 || North America
|-
| China || 18.3 || 1412 || Asia
|-
| Japan || 4.2 || 125 || Asia
|-
| Germany || 4.1 || 83 || Europe
|-
| United Kingdom || 3.1 || 67 || Europe
|}
Input JSON:
{
"name": "Example Corp",
"type": "Public",
"founded": "1998",
"headquarters": "San Francisco, CA",
"founder": "Jane Smith",
"employees": "50,000",
"revenue": "$12.3 billion",
"website": "example.com"
}
Configuration: Output Mode = Infobox
Output:
{{Infobox
| title = Example Corp
| label1 = name
| data1 = Example Corp
| label2 = type
| data2 = Public
| label3 = founded
| data3 = 1998
| label4 = headquarters
| data4 = San Francisco, CA
| label5 = founder
| data5 = Jane Smith
| label6 = employees
| data6 = 50,000
| label7 = revenue
| data7 = $12.3 billion
| label8 = website
| data8 = example.com
}}
Input JSON:
[
{"language": "Python", "year": 1991, "typing": "Dynamic", "paradigm": "Multi-paradigm"},
{"language": "Rust", "year": 2010, "typing": "Static", "paradigm": "Multi-paradigm"},
{"language": "Go", "year": 2009, "typing": "Static", "paradigm": "Concurrent"},
{"language": "TypeScript", "year": 2012, "typing": "Static", "paradigm": "Multi-paradigm"}
]
Output:
{| class="wikitable"
|-
! language !! year !! typing !! paradigm
|-
| Python || 1991 || Dynamic || Multi-paradigm
|-
| Rust || 2010 || Static || Multi-paradigm
|-
| Go || 2009 || Static || Concurrent
|-
| TypeScript || 2012 || Static || Multi-paradigm
|}
| Tip | Details |
|---|---|
Use class="wikitable" | Standard Wikipedia table styling |
Use !! for inline headers | ! H1 !! H2 !! H3 on one line |
Use || for inline data | | C1 || C2 || C3 on one line |
| Sortable tables | Add class="wikitable sortable" for click-to-sort |
| Collapsible tables | Add class="wikitable collapsible" |
| Merge cells | Use |colspan="2"| or |rowspan="2"| |
| Cell attributes | Add after |: | align="right"| 42 |
| Preview before saving | Always preview MediaWiki edits before publishing |
No. All conversion happens locally in your browser using JavaScript. Your data never leaves your device.
MediaWiki is the wiki engine that powers Wikipedia, Fandom, and thousands of other wikis. It uses a markup language called wikitext for formatting pages, tables, and templates.
A Wikitable is a full-width data table with rows and columns (like a spreadsheet). An Infobox is a right-aligned sidebar panel with label-data pairs summarizing a single topic. Use Wikitable for multi-row data; use Infobox for entity summaries.
Yes. The generated markup uses standard MediaWiki syntax. Click "Edit source" on any Wikipedia article and paste the markup. Preview before publishing.
A JSON array of objects: [{"key": "value"}, ...]. Each object becomes a row, and keys become column headers.
A single JSON object: {"key": "value", ...}. Each key-value pair becomes a label-data row in the infobox.
Yes. Manually change class="wikitable" to class="wikitable sortable" in the output. This adds click-to-sort column headers.
Yes. Fandom (formerly Wikia) uses MediaWiki. The output is compatible with Fandom wiki pages.
The tool processes data entirely in your browser. Files up to 10 MB typically convert without issues on modern hardware.
Yes. The tool is responsive and works on smartphones and tablets.