onlinecsvtools logo
build

Text to csv converter

World's simplest csv tool

Free online plain text columns to CSV converter. Just load your text and it will automatically get converted to CSV. Load text columns, get CSV. There are no ads, popups or nonsense, just an awesome text to CSV converter created by developers for developers.
settings
fullscreen fullscreen_exit
swap_horiz
star
Import from file
Save as...
Copy to clipboard
Can't convert.
An error has occured.
Export to Pastebin
Save as...
Copy to clipboard
General
Column separating character
Skip lines starting with this
Use a custom quote character
Converting
First row is treated as header
Always enclose fields in quotes
Do not convert empty lines
help
Text to csv converter tool What is a text to csv converter?
This tool transforms text column data to Comma Separated Values (CSV). It also lets you customize CSV output. You can set custom field separator character, custom field quotation character and choose if you want to quote all fields. You can also skip empty lines and you can skip comments.
books
Text to csv converter examples Click to use
Basic example
Convert three columns of textual data to a three column CSV.
foo bar baz a b cfoo,bar,baz a,b,c
Basic example 2
Convert different three column text data to CSV.
fn p1 p2 strpos haystack needlefn,p1,p2 strpos,haystack,needle
info
Pro tips Master online csv tools
You can pass input to tools via ?input query argument and it will automatically compute output. Here's how to type it in your browser's address bar. Click to try!
https://onlinecsvtools.com/convert-text-to-csv?input=foo%20%20%20%20%20bar%20%20%20%20%20baz%0Aa%20b%20c
dashboard
All csv tools
Didn't find a tool you were looking for? Let us know what tool we are missing and we'll build it!
Quickly convert a CSV file to a JSON data structure.
Quickly convert a JSON data structure to a CSV file.
Quickly convert a CSV file to an XML file.
Quickly convert an XML file to a CSV file.
Quickly convert a CSV file to a YAML file.
Quickly convert a YAML file to a CSV file.
Quickly convert a CSV file to a TSV file.
Quickly convert a TSV file to a CSV file.
Quickly convert a CSV file to evenly aligned text columns.
Quickly convert text columns to a CSV file.
Quickly change the CSV column delimiter to a new symbol.
Quickly prepend columns at the beginning of a CSV file.
Quickly append one or more new columns at the end of a CSV file.
Quickly insert one or more new columns anywhere in a CSV file.
Quickly export one or more columns from a CSV file.
Quickly replace one or more columns in a CSV file.
Quickly delete one or more columns from a CSV file.
Quickly swap two columns in a CSV file.
Quickly exchange columns with rows in a CSV file.
Quickly exchange rows with columns in a CSV file.
Quickly transpose a CSV file.
airport_shuttle
Coming soon These csv tools are on the way
Convert CSV to HTML
Convert CSV to a HTML table.
Convert CSV to PDF
Convert CSV to a PDF document.
Convert CSV to an Image
Draw CSV file as table and output a PNG, JPG or GIF picture.
Convert CSV to Excel
Convert CSV to an Excel spreadsheet.
Convert CSV to Base64
Base64-encode a CSV file.
Convert Base64 to CSV
Base64-decode a CSV file.
Preview CSV in the Browser
Show the contents of CSV in your browser.
Convert CSV to LaTeX
Convert CSV to a LaTeX table.
Merge CSV files
Merge together two CSV files.
Quote all CSV fields
Quote absolutely all CSV fields.
Change CSV Quote Character
Change the character CSV fields are wrapped in.
Delete Empty CSV Columns
Delete columns that are completely empty.
Delete Empty CSV Rows
Delete rows that are completely empty.
Minify CSV
Compress a CSV file.