Skip to content
A green mountain lake surrounded by forest
Back to blog
Explained

What is a CSV file and how to open it

You got a .csv file and double clicking it gives you a mess of commas, or nothing useful. A CSV is a simple table saved as plain text, and it opens in a spreadsheet app.

Eric Rada · Founder · · 3 min read

In short

CSV stands for comma-separated values. It is a plain text format for a table, where each line is one record and commas separate the fields in it.

Because it is plain text, almost any program can read it. That is why shops, banks and apps use it to export lists, orders and contacts.

What a CSV file looks like

If you open a CSV in a text editor, you see lines of text. Each line is one row, and the values in it are split by commas.

If a value contains a comma, a double quote or a line break, it is wrapped in double quotes. That is how one cell can hold a sentence with commas.

A standard behind it

The format was written down in RFC 4180, published by the IETF in 2005. It also defines the text/csv type that websites use for these files.

Many programs follow it, but not all of them do it the same way. That is why a CSV from one app can look a bit different in another.

Open it in Excel

Microsoft says you can go to File, Open, choose Text Files in the file type list and double click the CSV. Excel opens it as a new workbook.

You can also use the Data tab, then From Text/CSV, pick the file and select Import. There you can change the delimiter and see a preview before loading.

When the columns look wrong

Some CSV files use another separator, like a semicolon. In the From Text/CSV window you can pick the right delimiter and the preview updates at once.

Microsoft also says that to keep leading zeros you can rename the file to .txt before opening it, which starts the Text Import Wizard with more control over column formats.

Special letters and size

A CSV does not say which character encoding it uses, according to Wikipedia. UTF-8 is the common choice, but a mismatch can turn special letters into strange signs.

Excel can import up to 1,048,576 rows and 16,384 columns, says Microsoft. Bigger files need another tool.

Sending a CSV

A CSV is small, but it often holds real data like customers or orders. Do not paste it into a chat or let an app change it.

A Room sends it untouched, never compressed or converted. The other person opens one link in the browser, with no account, and gets the exact file.

Never compressed or converted, one link, no account needed. Free up to 10 GB.

Send the CSV exactly as exported →

Questions

What does CSV stand for?

Comma-separated values. It is a plain text table with commas between the values.

Can I open a CSV in Notepad?

Yes. It is plain text, so any text editor shows it, but not as a neat table.

Why do my columns look wrong in Excel?

The file may use another separator. Pick the right delimiter in Data, From Text/CSV.

How many rows can Excel import?

Microsoft says up to 1,048,576 rows and 16,384 columns.

One link. Everyone’s photos.
Free up to 10 GB. Guests never need an account.
Create a Room