Skip to content

Table Transformer

Sort, reorder, and transpose Markdown tables without hand editing

Paste a GFM pipe table, then sort by any column, move or remove columns, or transpose the whole table. Output a clean GFM table ready to paste back into your README, docs, or release notes.

4 column(s) · 4 row(s)
Name
Role
Joined
Active
CarolAdmin2021yes
AdaEditor2024yes
BobReviewer2023no
DianaEditor2024yes

How to use the table transformer

  1. Paste Markdown containing a GFM pipe table.
  2. The interactive grid below shows the table with per-column controls:
    • ↑ / ↓ sort the rows ascending or descending by that column
    • ← / → move the column left or right
    • 🗑 remove the column entirely
  3. Transpose rotates the entire table so rows become columns and vice versa.
  4. Copy result to grab the rebuilt Markdown.

Common transformations

  • Sorting a feature matrix by recency, popularity, or alphabetical order.
  • Removing a column that's no longer relevant after a feature redesign.
  • Reordering columns so the most important info is leftmost (better mobile rendering).
  • Transposing when you realize the data reads more naturally with columns and rows swapped — typical for comparison tables.

Sorting gotchas

  • Numeric vs text detection is per-column. A column with mixed '10', '2', '-' will sort as text since '-' isn't a number.
  • Date sorting treats dates as text. ISO format (YYYY-MM-DD) sorts correctly as text by lucky coincidence; other formats won't.
  • Sort is stable — equal values keep their original order. Use this for compound sorts: sort by secondary, then by primary.

Companion tools

Privacy & data

All transformations run inside your browser. The table never leaves the tab.

Frequently asked questions

What does the table transformer do?
It manipulates a Markdown table without rebuilding it by hand. Sort rows by any column (ascending or descending), move columns left or right, remove columns, and transpose the entire table (turn rows into columns and vice versa).
How does column sorting handle numbers vs text?
The sorter detects numeric columns automatically — if every cell in a column parses as a number, it sorts numerically; otherwise it sorts as text using locale-aware comparison. That means '10' comes after '2' numerically but before '2' as text.
What gets preserved?
Column headers, cell contents, and (where possible) alignment markers. After transformation, the output is regenerated as a clean GFM pipe table.
Can I transform a CSV instead of Markdown?
Convert the CSV to a Markdown table first using the [CSV ↔ Markdown Table](/tools/markdown-csv-table) tool, then transform it here, then convert back. Round-tripping is lossless for flat tabular data.
How big a table can it handle?
Hundreds of rows × dozens of columns easily. The sort and transpose are O(n log n) and O(n × m) respectively — both very fast on modern browsers.
Is the table uploaded?
No. All operations run inside your browser.