CSV to Markdown Table
Copy cells from Excel or Google Sheets, or paste a CSV, and get a GitHub-style Markdown table with the columns lined up. Pipes inside cells are escaped and line breaks become <br>, so the table never breaks.
Runs in your browser. Your text is not uploaded or stored on a server.
How to use it
- Paste the copied cells or the CSV, or open a .csv file.
- Choose the alignment; Right suits columns of numbers.
- Copy the table into GitHub, Obsidian or your README, or download the .md.
When it helps
- Put a table from Excel or Google Sheets into a GitHub README, issue or wiki page.
- Add a comparison or price table to an Obsidian note or a Markdown blog post.
- Share a small dataset in a chat or forum that renders Markdown.
Need to write and format, not just clean? The RichMarkdown editor turns rich text into Markdown and Word files.
More text tools
Clean up text
- Remove duplicate linesPaste a list and remove duplicate lines instantly, keeping the first of each and the original order.
- Remove empty linesDelete blank lines from any text: all of them, or only the extra ones between paragraphs.
- Remove extra spacesCollapse double spaces, trim line ends, and remove invisible zero-width and non-breaking spaces that break search and spreadsheets.
- Remove line breaksJoin lines broken in the middle of sentences, as in text copied from a PDF or email, while keeping paragraphs apart.
- Strip HTML tagsRemove HTML tags and get clean plain text, with paragraphs, list items and entities like &amp; turned into readable text.
- Sort linesSort lines A to Z with natural numbers (2 before 10), by number, by length, reverse them or shuffle.
Words and case
- Case converterChange text to Title Case, Sentence case, UPPER or lower case, or to camelCase, snake_case and kebab-case for code.
- Word counterCount words, characters with and without spaces, sentences, paragraphs and reading time as you type.
- Find and replaceFind and replace in any text: plain words, whole words only, or regular expressions with capture groups.
Convert formats
- Markdown to HTMLConvert Markdown to clean HTML with a live preview: CommonMark plus GitHub tables and strikethrough.
- JSON to CSVConvert a JSON array to CSV for Excel or Google Sheets.
- CSV to JSONConvert CSV, or cells copied from Excel or Google Sheets, to a JSON array of objects.
- CSV to Markdown Table
- Markdown table formatterPaste Markdown and every table gets lined-up columns, fixed pipes and filled-in cells; the rest of the text is left exactly as it is.
- JSON to YAMLConvert JSON to readable YAML for configs, Kubernetes and GitHub Actions.
- JSON formatterFormat JSON with 2 or 4 spaces or tabs, minify it to one line, and see exactly where invalid JSON breaks.
Encode and decode
- Base64 encode and decodeEncode text to Base64 or decode Base64 back to text, with full UTF-8 support for emoji and Chinese, and the URL-safe variant.
- URL encode and decodePercent-encode text for URLs and query strings, or decode %20-style URLs back to readable text, Chinese included.
Questions
Can I paste straight from Excel or Google Sheets?
Yes. Copied cells are tab-separated, and the separator is detected automatically. Semicolon CSV files from European Excel work too.
Does it handle Chinese or Japanese text?
Yes. Wide characters count as two columns when lining up, so the table also looks tidy in a monospaced editor.
What if my data has a | character?
It is written as \| so it stays inside its cell. A line break inside a cell becomes <br>.
I want to edit the table visually.
Paste the result into the editor: tables can be edited there like in Word and exported back to Markdown.