HTML, JSON, XML Text, KML, YAML, MediaWiki, Markdown
plus many more.
CSV Viewer and Editor
can read or edit any Excel file.
Including large files.
Copy and paste Excel data
into our tools as Tab separated (TSV). Read and Convert Excel to CSV automatically.
Use SQL to query CSV
and write to CSV or JSON.
Field separators auto-detect mode is default.
or urls from webpages.
Write the data to CSV.
Query or Sort CSV
filter data to include/exclude records. Order data either alphabetically or numerically.
Optional double or single quotes
around values. All double/single-quotes can be treated as data
Backslash escaping support
for input data.
What is CSV?
Comma Separated Values (CSV) is a format for tabular data in a plain text file. Each data value is separated by a comma. If the value contains a comma (delimiter), line break, or double-quote, then the value is enclosed by double-quotes. If the value is surrounding by double-quotes and contains a double-quote then each embedded double-quote is doubled to two double-quotes. This tool also support the popular tab-delimited (TSV) data format used by Excel, and other delimiters such a colon, semi-colon, caret, spaces, and vertical bar.
1,"Johnson, Smith, and Jones Co.",345.33,Pays on time
2,"Sam ""Mad Dog"" Smith",993.44,
Do you have an API?
Yes- most of the conversions here are now available at ConvertCsv.io .
What is a Delimited File?
A Delimited File is a data format with values separated by a delimiter. CSV is an example. Other examples are files delimited by Tabs (TSV), semi-colon, and the bar character |. Though the strict definition of CSV defines comma as the separator, in general CSV refers to other delimiters also. Our site uses the the term CSV in the broad definition. Our online tools support all these formats and more.
How do I use this tool with Excel data?
You must copy cells from Excel and paste into this tool. The copied data will be Tab-Delimited. Likewise you can copy from this tool and paste into Excel. Choose TSV as the output format or save the file and import it into Excel.
How do I force Excel to import a number to text?
This is a common problem in Excel when reading CSV files and not using the Import Text Wizard. When Excel determines a field is a numeric value, it automatically formats the field as numeric. Placing double-quotes around the field does not help, neither does adding spaces around the number. The only method that works is starting the field with a equal sign and then double-quoting the field. If the value has a comma though, then you must follow the CSV rules and enclose in double quotes.
Our tools will read and write fields formatted with beginning equal signs. See the CSV-to-Delimited tool to prepare your CSV files for Excel.
For developers - What is the CSV MIME type?
The quick answer is "text/csv" but for best results, use this in your web pages:
Content-Type: text/csv; name=“filename.csv”
Content-Disposition: attachment; filename=“filename.csv”