Tool guides and practical topics/Developer data and debuggingCSV to Markdown: keep quotes, line breaks and pipesTurn copied table data into Markdown while checking cell contents, alignment, backslashes and whitespace.Content reviewed · 2026-11-16The problem and contextCopying from a spreadsheet often separates columns with tabs. Exported CSV can place commas, double quotes and line breaks inside one quoted field. RFC 4180 provides an informational description of common CSV records, while Markdown tables depend on implementation extensions. Reading complete records before generating a table preserves those field boundaries.Method and calculationChoose CSV, TSV or automatic detection. Automatic mode counts only delimiters outside quotes; select an explicit format if both occur. Literal text is the default, retaining Markdown punctuation and HTML-like text. Enable Markdown syntax when formatting such as emphasis is intentional. The first record is the header; short records receive empty cells and long records expand the column count.Worked examplePut a\|b in a field, with both the backslash and pipe belonging to the data. Adding just another slash before the pipe can make Markdown split a new column. Literal mode handles the pair together so the rendered cell retains both characters. Two quoted lines use <br> within one cell. **Ada** retains its stars in literal mode and its emphasis syntax in Markdown mode.ChecklistCheck data-row, column and header-inclusive cell counts before copying or downloading table.md. Source is displayed as text. Limits are 1000000 UTF-16 input units, 10000 data rows plus a header, 1000 columns, 200000 padded cells and 2000000 output units. Empty and duplicate headers remain; NUL and incomplete UTF-16 characters produce errors.Markdown Table GeneratorTable dataCSV or tab-separated dataName,Note Ada,a\|b Lin,"first line second line"Up to 1000000 UTF-16 input units, 10000 data rows plus a header, 1000 columns and 200000 padded cells; output up to 2000000 units.PasteCSV exampleTab-separated exampleClearGeneration optionsInput formatDetect automaticallyCSV (comma)TSV (tab)Column alignmentLeftCenterRightKeep Markdown syntax inside cellsLiteral text is the default, retaining backslashes, pipes, edge spaces and repeated spaces. Enable the option to keep Markdown formatting syntax. Cell line breaks become line-break tags.Markdown tableCopyDownload| Name | Note | | :--- | :------------------------ | | Ada | a\\\|b | | Lin | first line<br>second line |Data rows2Columns2Cells including header6Output UTF-8 bytes147Use these tools with this articleJSON ToolsOnline JSON tool supporting formatting, compression, validation and beautification. Essential tool for developers, runs locally.HTML EntitiesConvert between HTML entities and characters: named, decimal and hex forms.MD TableConvert CSV or tab-separated data to a Markdown table, retain quoted line breaks, choose left, center or right alignment, then copy or download.CSV ⇄ JSONConvert header-based CSV and JSON object arrays with comma, semicolon or tab delimiters.Sourcesgithub.github.com · 1www.rfc-editor.org · 2