LaTeX to MediaWiki Converter

Transform LaTeX tables into MediaWiki table markup

LaTeX Input

MediaWiki Output

About LaTeX to MediaWiki Converter

Convert LaTeX tables to MediaWiki table markup format. MediaWiki is the software that powers Wikipedia, Wikimedia projects, and thousands of other wikis worldwide.

Key Features

  • MediaWiki Syntax: Generates proper wiki table markup with { | |} delimiters
  • Header Support: Option to use first row as table header with ! syntax
  • Table Classes: Support for wikitable, sortable, and collapsible classes
  • Automatic Parsing: Extracts data from LaTeX tabular environments
  • Special Character Handling: Properly unescapes LaTeX special characters
  • File Upload: Upload .tex files directly
  • Instant Preview: Real-time conversion as you type

How to Use

  1. Input LaTeX Table: Paste your LaTeX table or upload a .tex file
  2. Choose Table Class: Select wikitable style (default, sortable, collapsible)
  3. Configure Options: Choose whether to include header row
  4. Review Output: The MediaWiki markup updates automatically
  5. Copy to Wiki: Use the Copy button and paste into your wiki page

MediaWiki Table Syntax

MediaWiki uses a special markup for tables:

  • { | |}: Table start and end delimiters
  • |-: Row separator
  • ! Cell: Header cell (bold, centered)
  • | Cell: Data cell
  • class="wikitable": Applies standard Wikipedia table styling

Example Conversion

LaTeX Input:

\begin{tabular}{llll}
\toprule
Name & Age & City & Department \\
\midrule
John Doe & 28 & New York & Engineering \\
Jane Smith & 34 & London & Marketing \\
\bottomrule
\end{tabular}

MediaWiki Output:

{| class="wikitable"
|-
! Name
! Age
! City
! Department
|-
| John Doe
| 28
| New York
| Engineering
|-
| Jane Smith
| 34
| London
| Marketing
|}

Table Classes

  • wikitable: Standard Wikipedia table styling with borders
  • wikitable sortable: Adds sorting functionality to columns
  • wikitable collapsible: Makes table collapsible by default
  • wikitable mw-collapsible: Modern collapsible table syntax

Common Use Cases

  • Wikipedia Articles: Add research data to Wikipedia articles
  • Wiki Documentation: Create tables for project wikis
  • Knowledge Bases: Import data into MediaWiki knowledge bases
  • Academic Wikis: Share research data on academic wikis
  • Corporate Wikis: Document processes and data in company wikis

Compatible Platforms

The generated markup works with:

  • Wikipedia and all Wikimedia projects
  • MediaWiki installations (any version)
  • Fandom wikis
  • Wikia
  • Corporate and private MediaWiki instances

Tips for Best Results

  • Use "wikitable" class for standard Wikipedia-style tables
  • Add "sortable" class for tables with many rows
  • Check "Include Header Row" for proper table headers
  • Use simple LaTeX tables without complex formatting
  • Preview the output in your wiki's sandbox before publishing

Privacy & Security

All conversions happen locally in your browser. Your LaTeX data is never uploaded to any server, ensuring complete privacy and security.