Developer

Text to CSV Converter Online — Tab, Space, Pipe to CSV

Convert plain text, tab-separated, space-separated, or pipe-separated data to CSV. Auto-detects delimiter.

100% Client-SideNo Data StoredFree ForeverNo Signup
Text to CSV Converter

How to Use Text to CSV

  1. 1

    Paste your tab, space, pipe, or semicolon separated text.

  2. 2

    Pick the input delimiter (or use auto-detect) and the output CSV delimiter.

  3. 3

    Copy the CSV output or download it as a .csv file.

About Text to CSV

Convert plain text, tab-separated values, space-separated lists, or pipe-delimited tables to CSV instantly in your browser. The text-to-CSV converter auto-detects the most likely input delimiter, applies proper CSV escaping per RFC 4180, and outputs clean CSV ready for Excel, Google Sheets, or any database import. **When you need a text-to-CSV tool** - You copied a table from a terminal, log file, or chat and need it in a spreadsheet. - You have data exported from a tool as TSV (tab-separated) but the target requires comma-separated. - You have a markdown table (pipe-separated) that you need as CSV. - You have a list of values with mixed whitespace that needs to become a clean CSV column. - Your European Excel exported data as semicolon-separated and the receiving system wants commas. **Auto-detection logic** The tool samples the first few lines of your input and counts occurrences of common delimiters (tab, semicolon, pipe, comma). The delimiter with the highest count wins. If none dominates, it falls back to whitespace (space). You can always override the detected delimiter via the dropdown. **CSV escaping (RFC 4180)** A cell containing the delimiter, a double quote, a carriage return, or a newline must be quoted. Embedded double quotes get doubled inside the quoted cell. So the value: `She said "hi"` becomes `"She said ""hi"""` in the CSV. This tool handles all of these cases automatically. **Privacy and no upload** The conversion runs entirely in your browser using native JavaScript. Your data never leaves your device. Open your network tab while pasting: zero requests. Use this tool for confidential logs, internal data, or anything else that should not be uploaded to a third-party server.

FRI

Built by

Fateh Raiyan Ishmum

Full-stack dev since 2020. Full-stack web developer since 2020. Builds privacy-first, open-web tools. Specialises in Next.js, TypeScript, and performance-focused design.

Frequently Asked Questions

Paste your text into the input box. Each line becomes a CSV row. Fields are split by the input delimiter (auto-detected, or pick tab, space, comma, semicolon, or pipe). The output is standards-compliant CSV that opens in Excel, Google Sheets, or any CSV reader.

Tab-separated values (TSV) copied from Excel or a terminal, space-separated lists, pipe-separated tables (markdown style), semicolon-separated data (common in European exports), and even comma-separated text that needs reformatting. Auto-detect picks the most likely delimiter from the first few lines.

Yes. When you copy from Excel, the clipboard is tab-separated. Paste it here and the auto-detect will pick tab. The output is comma-separated CSV ready for import or sharing.

Cells containing the output delimiter, double quotes, or newlines are automatically wrapped in double quotes. Embedded double quotes are escaped by doubling them (per RFC 4180). This matches what Excel, Google Sheets, and standard CSV parsers expect.

Never. The conversion happens entirely in your browser using JavaScript string operations. Your text never touches a server, is never logged, and is never stored.

This tool goes one direction (text to CSV). For JSON to CSV, use our JSON to CSV converter. For YAML to JSON, use the YAML/JSON converter.

The output is padded so every row has the same number of columns (the max found across all rows). Missing cells become empty. This keeps the CSV valid for spreadsheet imports.

More Free Tools