CSV/TSV to Markdown Table — GFM Pipe Tables

Convert spreadsheet CSV or TSV exports to GitHub-flavored Markdown pipe tables. Reverse mode copies a GFM table back to CSV/TSV. Paste or upload only — not a visual spreadsheet editor.

Loading…
CSV/TSV to Markdown table
Convert tabular exports to GitHub-flavored Markdown pipe tables and back — paste or upload, not a visual grid editor.

Developer notes

• GFM pipe tables only — no grid tables or merged cells. • Newlines inside cells become literal `<br>` when exporting to Markdown; the reverse conversion does not turn `<br>` back into newlines. • Auto-numeric alignment uses a period-decimal regex only — comma decimals (e.g. 3,14) stay left-aligned. • Cosmetic column padding in Markdown output does not change rendered semantics.

Options

Direction
Switch between CSV/TSV→Markdown and Markdown→CSV/TSV. Clears input and output when changed.
Header row
When on, the first CSV row becomes column headers. When off, synthetic Column 1, Column 2, … headers are used and every row is data.
Column alignment
Global alignment for the Markdown separator row: left, center, right, or auto (right-align columns where a majority of non-empty cells look like period-decimal numbers).
Input delimiter
For CSV→Markdown: auto-detect comma vs semicolon vs tab on the first line, or force a specific delimiter.
Output delimiter
For Markdown→CSV: choose comma, semicolon, or tab between output fields.

Use cases

• Paste a spreadsheet CSV export into a README table. • Copy a GitHub table back to CSV for Excel or Sheets. • Pair with the Markdown TOC generator on the same hub. • Not for building tables cell-by-cell — use a spreadsheet export instead.

Examples

Example 1

Before

name,role,years Ada Lovelace,Mathematician,36 Grace Hopper,Admiral,43

After

| name | role | years | | :--- | :--- | ---: | | Ada Lovelace | Mathematician | 36 | | Grace Hopper | Admiral | 43 |

documentation.textTools.csvToMarkdownTable.examples.two.title

Before

documentation.textTools.csvToMarkdownTable.examples.two.before

After

documentation.textTools.csvToMarkdownTable.examples.two.after

Related tools

Hub text tools. Also: markdown-toc-generator, sort-dedupe-lines.

CSV/TSV to Markdown table FAQ

Browser-local

Is my data uploaded?

No. Conversion runs entirely in your browser. Optional file pick/drop reads the file locally — nothing is sent to FastMinify.

What is the size limit?

64 KiB (UTF-8) per paste or uploaded file, matching the other Text & Markdown tools.

Does round-tripping preserve newlines inside cells?

Not fully. CSV→Markdown replaces embedded newlines with `<br>`. Markdown→CSV leaves `<br>` as literal text — it is not converted back to a newline.

How does auto-numeric alignment work?

In auto mode, a column is right-aligned when more than half of its non-empty data cells match a simple period-decimal number pattern (e.g. 42 or 3.14). Comma-decimal values such as 3,14 are not treated as numeric.

Text & Markdown

Count words, build Markdown TOCs, and clean line lists — all in your browser.

Explore other tool categories

Minify

Shrink code and assets for production — minify JavaScript, CSS, HTML, JSON and XML before gzip or CDN deploy.

Beautify

Make code readable with consistent indentation — beautify JavaScript, CSS, TypeScript, SCSS, LESS, Markdown, GraphQL, SQL, YAML and more in your browser.

Unminify

Expand minified or compressed code — unminify JavaScript, CSS, TypeScript, SCSS, LESS, SQL, YAML and other formats when debugging or reviewing.

Conversion

Transform data between JSON, YAML, XML and CSV locally — no server uploads.

JSON Tools

Validate, format, diff and explore JSON payloads — complementary to minifiers and converters.

SVG Tools

Preview, optimize with SVGO, export Data URI, resize, beautify, convert to JSX and validate SVG — all in your browser.

DevOps & Infra

Terraform HCL format/validate/minify, Dockerfile format & lint, Docker Compose and .env validation.

CI/CD

GitHub Actions and GitLab CI — format YAML and check workflow/job structure in your browser.

Logs & observability

Line-oriented JSON/NDJSON and Nginx/Apache access logs — format, filter, validate, and CSV/TSV.

Kubernetes

Multi-doc manifests, structural validate, Ingress/Deployment starters, and Helm values formatting.

Networking / IP

CIDR, subnets, and IPv4/IPv6 helpers — in your browser.

Security & tokens

JWKS, X.509 certificates, and secrets scan — browser-local.

API & schemas

OpenAPI tools to format, validate, and lint your specs.

Encoding

Encode or decode Base64, URL components and HTML entities — client-side only.

Developer utilities

Timestamps, UUID, ULID, Nanoid, cron, passwords, regex, slugify, number bases, case, text diff, and chmod — all client-side.

Serialization

Serialize and deserialize PHP data structures beside JSON workflows.