About This Tool
CSV → Markdown turns fields into a table with a header, alignment row, and data rows. Commas inside quoted fields stay within the same cell, and pipes in cell contents are preserved as text.
How to Use It
- Paste CSV and check the delimiter and header option.
- Choose one alignment setting for all columns.
- Click Convert and inspect the header, separator row, and escaped fields.
- Copy Markdown or download table.md, then check it in Markdown Preview.
Examples
- name,age / Tom,20 becomes a two-column Markdown table with a --- separator row.
- The CSV field A | B becomes A \| B in Markdown, without creating an extra column.
- Quoted CRLF, CR, and LF line breaks become <br> rather than extra data rows.
Rules and Limits
Markdown output escapes backslashes, pipes, and formatting characters, while preserving leading and trailing spaces and HTML characters. Cell line breaks become <br>: platforms that allow raw HTML can display a line break, while this preview shows the text <br>. The alignment option sets column alignment; the separator row is not included as data.
Common Uses
- Add data summaries to README files and project documentation.
- Build Markdown tables from spreadsheet exports.
- Avoid manually escaping pipes in table fields.
Privacy
Your text, files, and previews are processed in your browser. Your input is never uploaded or automatically saved. Save anything you need to keep before leaving the page.
FAQ
Will a comma inside a field split it into columns?
No, as long as the field is enclosed correctly in double quotes. Its commas stay inside the same cell.
Why is there a backslash before a pipe?
Pipes separate Markdown table columns. The sequence \| represents a literal pipe within a cell.
What happens to multiline fields?
Cell line breaks become <br> to preserve table rows. Raw HTML support varies between platforms; the local safe preview displays that tag as text.
Can HTML inside a field execute?
The tool produces Markdown text without executing HTML. Original HTML characters become entities; check the target platform’s Markdown behavior before publishing.