Skip to content

Table to wikitable

Paste cells from a spreadsheet: the Wikipedia table code is generated, sortable and with a caption if you want one.

Your data

Results

How it works

How to use the table to wikitable converter

A table copied from a spreadsheet or CSV turned into a sortable wikitable with a caption.

  1. Paste the table

    From Excel, Google Sheets or a CSV.

  2. Choose the options

    Header, sorting, alignment.

  3. Copy the result

    It is ready to paste wherever you need it.

FreeNo subscription, no hidden limits.
No sign-upOpen the page and use the tool. That’s it.
InstantResults in seconds, on mobile too.
PrivateEverything runs in your browser.

About the table to wikitable converter

The separator (tab, semicolon or comma) is detected automatically. Numbers can be right-aligned and formatted with formatnum, which shows thousands separators according to the wiki’s language.

The “sortable” class adds sort arrows to every column.

table to wikitable csv to wikitable excel to wikipedia table wikitable generator convert spreadsheet to wikitext sortable wikitable google sheets to wikitable
FAQ

Frequently asked questions about the table to wikitable converter

How do I merge cells?

Add rowspan or colspan to the cell after generating the code, for example colspan="2".

Why use formatnum?

So that numeric sorting works and numbers display with the separators suited to the language.

Does the result follow Wikipedia’s rules?

It follows the common syntax and conventions. The guidelines of each language edition take precedence and can change.

Is the tool free?

Yes, it is completely free and needs no sign-up.

Esc
↑ ↓ navigateEnter open