Text to CSV
Reshape raw text into CSV with any delimiter — comma, tab, newline.
Designed to run in your browser. See the privacy policy.
About Text to CSV
This text to CSV converter reshapes loosely structured text into proper comma-separated values. Each line of input becomes one CSV row, and you tell the tool what separates the columns: runs of whitespace, commas, tabs, semicolons or a custom string of your own. It is useful for terminal output such as ls -l or ps, columns copied out of a PDF or web page, log lines, or a list pasted from a chat.
The output is always standard comma-separated CSV. Any field that contains a comma, a double quote or a line break is wrapped in double quotes with inner quotes doubled, so it opens cleanly in a spreadsheet. The text is processed on your device as you type.
How to use
- Paste your text into the text input box, one row per line.
- Pick the "Input column delimiter": Whitespace, Comma, Tab, Semicolon or Custom.
- If you chose Custom, type the separator into the "Custom delimiter" box. It can be more than one character, such as " | " or ::.
- Turn on "Quote all fields" if the program you are importing into expects every value in quotes.
- Copy the CSV output, or download it as output.csv.