CSV Generator

Fill in the grid and download a CSV. Quoting follows RFC 4180, so values containing commas, quotes or line breaks come out correct rather than breaking the file for whoever opens it next.

From

The only part of this site that uses a server. The address is sent to it so the page can be fetched, because a browser is not allowed to fetch someone else's page itself. Your own files are never involved.

Nothing here is uploaded. The parsing happens on this page.
Edit
Paste or upload something above and it will appear here.
ToDataMarkupDocumentsCodeSchemasImages

The output will appear here once there is a table to convert.

Why not type it in a text editor

Because the quoting rules are easy to get wrong and the failure is silent. A value containing a comma splits into two fields. A value containing a quote breaks the parser at a point that has nothing to do with where the mistake is. Both produce a file that looks fine and imports wrong.

Here the quoting is applied on the way out, so you type the value you mean and the file comes out valid.

Making it open correctly in Excel

Two settings matter. The delimiter, because European locales use the comma as a decimal separator and export with semicolons instead. And the byte order mark, because Excel on Windows assumes the local code page unless the file starts with one, which is why accented characters so often arrive as garbage.

Questions

What is the difference between a CSV and a spreadsheet?

A CSV holds values and nothing else. A spreadsheet holds values plus formulas, formatting, multiple sheets, charts and column widths. Saving a spreadsheet as CSV keeps the values on the first sheet and drops everything else.

Already have the data somewhere else?

Other generators