CSV to Markdown
Convert CSV, TSV or PSV data into a GitHub-flavoured Markdown table or an HTML table, locally in your browser.
- Runs locally in your browser
- No upload required
Capabilities
- Drag and drop
- Local file intake
- Download result
Try it
Supported formats
Privacy
Runs entirely in your browser. Your input is never uploaded, stored, or sent to a third party.
Emitted a 2-row Markdown table with 2 column(s).
How it works
- Parsed the delimited text per RFC 4180.
- Padded every record to the widest row so the table stays rectangular.
- Escaped pipes and replaced newlines, then added the header and alignment row.
- A cell containing a newline is rendered with <br> so the table stays valid.
Methodology
- Parse per RFC 4180 with the configured delimiter.
- Pad every record to the widest row, escape `|` as `\|` and replace newlines with `<br>`.
- Emit a header row, an alignment separator (none/left/center/right) and one row per record; optionally emit an escaped HTML `<table>`.
Usage
- Paste delimited text or choose a local file.
- Set the delimiter and column alignment, and enable HTML output if you need a `<table>`.
- Copy or download the Markdown or HTML.
Examples
These are examples, not current values: they use fixed inputs, while the interactive tool computes live results in your browser.
CSV to a Markdown table
{
"text": "name,role\nAda,pioneer\nAlan,engineer",
"delimiterMode": "comma",
"delimiter": ",",
"firstRowHeader": true,
"alignment": "left",
"html": false
}Limitations
Valid Markdown, always
Pipes inside cells are escaped and newlines are replaced, so the generated table renders correctly even when the source data contains either.
Frequently asked questions
- Which Markdown flavour is produced?
- GitHub-flavoured Markdown tables: a header row, an alignment separator and one row per record, with `|` escaped.
- Is my data uploaded?
- No. The conversion runs locally in your browser.
Sources
Send feedback
Tell us if this tool helped, report a problem, or suggest a tool. Only the message you type is sent — never the input you used in the tool.
Was this tool useful?
Prefer to write to us directly? See the contact page.