Text to CSV
Convert plain lines of space-, pipe-, or tab-separated text into proper CSV.
The reverse of CSV to Text — takes plain lines where columns are separated by spaces, pipes, or tabs and reformats them as standard comma-separated CSV, quoting any field that itself contains a comma.
Example: The pipe-separated line "Alex | 30 | Engineer" converts to the CSV row "Alex,30,Engineer", with any value that itself contains a comma automatically wrapped in quotes.
How it works
- Paste lines of text with columns separated by a space, pipe, or tab
- Pick which separator your columns use
- Proper CSV appears instantly, on your device
Frequently asked questions
What if one of my column values has multiple words, like a city name?
Pick the pipe or tab separator instead of space, so multi-word values aren't mistaken for two separate columns — space-separated only works reliably when every value is a single word.
Is my text uploaded anywhere?
No — Text to CSV runs entirely in your browser using JavaScript/WebAssembly. Your text is never sent to a server.
Does this add a header row automatically?
No — every input line becomes a data row exactly as given; add your own header line at the top of the input first if you need one in the output.