HTML Table Generator
CodeGenerate HTML and Markdown tables from CSV, TSV, or pipe-delimited data
Paste CSV or TSV copied out of a spreadsheet and get back a ready-to-use HTML `<table>` or a GitHub-flavored Markdown table, with the delimiter auto-detected or switchable if your data uses pipes or something else entirely. It's a fast way to turn a quick data dump into something that renders properly in a README or a web page without hand-writing table markup row by row. Parsing splits on the delimiter directly, so a field that itself contains a comma or quote inside a quoted value can throw off column alignment; simple, unquoted CSV converts cleanly, but anything with embedded delimiters is worth a quick check of the output before using it. Conversion runs entirely client-side.
How to use HTML Table Generator
- 1.Paste CSV data copied from a spreadsheet to instantly generate a semantic HTML `<table>` you can drop into a page.
- 2.Paste tab-separated (TSV) data exported from Excel to get clean Markdown table syntax for a README or GitHub issue.
- 3.Switch delimiters to pipe-delimited when working with data copied from a database query tool or log file that isn't comma-separated.
Frequently asked questions
Use via API, SDK, or MCP
Installnpm install @utilix-tech/sdkUsageimport { text } from '@utilix-tech/sdk'
const csv = 'name,age,role\nAlice,30,admin\nBob,25,user'
const html = text.csvToHtml(csv)
console.log(html)
// <table><thead><tr><th>name</th>...</tr></thead><tbody>...</tbody></table>
const md = text.csvToMarkdown(csv)
console.log(md)Runs locally · no API key · no rate limits · Node.js SDK docs →