Skip to main content

CSV to MediaWiki Table Converter

Convert CSV data to MediaWiki table markup

Convert CSV data into MediaWiki table markup — a standard wikitable you can paste into Wikipedia, a corporate MediaWiki, or any wiki using the same syntax.

MediaWiki table syntax is unusually punctuation-heavy: braces and pipes open and close the table, exclamation marks mark header cells, and pipe-dash separates rows. Hand-writing it is slow and a single misplaced character can leave raw markup visible on the page.

Pipe characters in your values are escaped to their HTML entity so they do not terminate a cell, and line breaks are converted to break tags so multi-line content still renders inside the cell rather than breaking the table.

Files stay on this deviceRuns entirely in your browserFree — no signup

Drop your file here or browse from your device

Accepts CSV, TSV, TXT. Maximum input: 10 MiB. Files above this hard limit are rejected before local processing.

How to Convert

  1. Upload your CSV file or paste CSV data
  2. Review the generated wikitable markup
  3. Copy the markup
  4. Paste it into the wiki page source editor

Features

  • Standard wikitable markup with the wikitable CSS class
  • Header row using MediaWiki header cell syntax
  • Escapes pipe characters to their HTML entity so cells stay intact
  • Converts line breaks to break tags for multi-line cells
  • One-click copy for pasting into a wiki editor
  • Runs entirely in your browser — no upload

Use Cases

  • Add a data table to a Wikipedia article
  • Publish reference data on an internal MediaWiki
  • Document specifications or comparisons on a wiki page
  • Convert a spreadsheet into wiki-ready documentation
  • Keep a wiki table in sync by regenerating it from source data

Frequently Asked Questions

What is a wikitable?

The standard MediaWiki table format. The markup opens with a brace-pipe, applies the wikitable CSS class for default styling, and uses pipes and exclamation marks to mark data and header cells.

Where does this markup work?

Wikipedia and any MediaWiki installation, plus other wikis that implement the same table syntax. Paste it into the source or wikitext editor rather than a visual editor.

What happens to pipes in my data?

They are converted to their HTML entity, because a raw pipe is the cell separator and would otherwise split the value across two cells.

Can cells contain multiple lines?

Yes. Line breaks are converted to break tags so the content renders on several lines within one cell instead of breaking the table structure.

Can I restyle the table afterwards?

Yes. The output uses the standard wikitable class, and you can add sortable or other classes and inline styles in the markup once pasted.

Is my data uploaded?

No. The conversion runs in your browser and the file contents are not sent to the app server.