Data · verktøy

CSV-visning

Velg en CSV-fil for å vise radene i en ryddig tabell og søke i verdiene.

Kjøres i nettleseren. Ingen opplasting.

The file opens locally and is not uploaded.

Choose a CSV file to see its table.

Om verktøyet

CSV-visning sem complicação.

Visningen oppdager vanlige komma-, semikolon-, tabulator- og pipe-separatorer. Filen leses lokalt, og svært store filer begrenses for å holde nettleseren responsiv.

Veiledning

Slik bruker du CSV-visning

CSV Viewer opens a comma-separated file from your own device and shows it as a table that you can page through and search. It works out whether the columns are split by commas, semicolons, tabs or pipes. It only reads and shows the data: you cannot edit cells, sort columns or save a changed file. The file is read in your browser and is not uploaded.

Slik gjør du

  1. Press the file button and pick a .csv or plain text file of up to 5 MB. The first row is used as the column names, so make sure your file has a header row.
  2. Wait for the message that the CSV opened. The summary line shows how many rows are shown and how many columns the table has.
  3. Type in the search box to keep only the rows where any cell contains your text. Capital letters do not matter, and the table jumps back to the first page.
  4. Use Previous and Next to move through the table, 50 rows at a time. The label between the buttons shows the current page and the number of pages.

Eksempler

A plain comma file

Du skriver inn
Fil
name,city Ana,Lima Bo,Oslo
Du får
Skilletegn
comma
Kolonner
name; city
Rader
Ana; Lima; Bo; Oslo

Commas are the most common separator here, so the first row becomes the two column names and the other two lines become two table rows.

Ikke kjørt med verktøyet. Se på dette som en illustrasjon.

A semicolon file with decimal commas

Du skriver inn
Fil
item;price Tea;2,50 Coffee;3,10
Du får
Skilletegn
semicolon
Kolonner
item; price
Rader
Tea; 2,50; Coffee; 3,10

There are three semicolons and two commas, so the semicolon wins. The prices stay as the text 2,50 and 3,10 because cells are shown exactly as written.

Ikke kjørt med verktøyet. Se på dette som en illustrasjon.

A comma inside quotes

Du skriver inn
Fil
title,note Book,"Red, old" Pen,"say ""hi"""
Du får
Kolonner
title; note
Rader
Book; Red, old; Pen; say "hi"

Text in double quotes can hold a comma, and a doubled quote inside it stands for one quote mark, so each row still has exactly two cells.

Ikke kjørt med verktøyet. Se på dette som en illustrasjon.

Decimal commas in a semicolon file

Du skriver inn
Fil
a;b 1,5;2,5 3,5;4,5
Du får
Skilletegn
semicolon
Kolonner
a; b
Rader
1,5; 2,5; 3,5; 4,5

The header has one semicolon and so does every row, while the commas change from line to line. A real separator appears the same number of times on every line, so the semicolon wins and the decimals stay as text.

Kjørt med verktøyets egen kode.

Når det er nyttig

  • Take a quick look at an export from a spreadsheet or a web service before opening it in a bigger program.
  • Find one name, order number or word in a long list by typing it in the search box.
  • Check that a file has the columns you expect and that quotes and separators were read correctly.
  • Look at a data file on a shared computer without sending it to any website.

Begrensninger

  • Files over 5 MB are refused. A file may also hold at most 10,000 data rows, 100 columns and 200,000 cells in total, and a bigger one shows an error.
  • The table is read-only. There is no sorting, editing, column filter or way to save changes back to a CSV file.
  • The first row is always treated as the header. A blank header cell becomes Column 1, Column 2 and so on, and a data row with more values than the header is rejected.
  • Every cell is shown as text. Numbers, dates and currency are not converted, so 2,50 stays 2,50.

Tips

  • If everything lands in one column or you get a row-length error, open the file in a text editor and check which separator it really uses.
  • Put quotes around any field that contains the separator or a line break, and write a quote inside a field as two quotes.
  • Search with a short, specific piece of text. The box checks every column at once, so a common word can match many rows.

Kilder

Vanlige spørsmål

Sobre CSV-visning.

Is my CSV file uploaded anywhere?

No. The page reads the file on your device with the browser and builds the table there. The code of this tool does not send the file to a server, and the page text says the file opens locally and is not uploaded.

Which separators does it understand?

Commas, semicolons, tabs and pipe characters. It counts each one outside quotes on the first lines of the file and prefers the one that appears the same number of times on every line, so decimal commas do not fool it. If nothing is consistent, it uses the one that appears most, and the comma wins a tie.

How big can the file be?

Up to 5 MB. Beyond the size, the table can have at most 10,000 data rows, 100 columns and 200,000 cells. If any limit is passed you see an error message and no table is shown.

Why does it say a row has more values than the header?

A data line contains more fields than the first line. This often happens when a separator sits inside unquoted text or when the wrong separator was guessed. Put quotes around that text, or check the separator.

Can I sort, edit or filter by column?

No. This viewer only shows rows and searches every cell at once. To change data you need a spreadsheet program. The page also lists a CSV to JSON converter and a chart maker if you want a different output.

Does the search look at all columns?

Yes. A row stays visible if any cell contains your text, ignoring capital letters. It matches a piece of text, not a whole word, and it does not use patterns or wildcards.

Why do accented letters look wrong?

The browser reads the file as UTF-8 text. A file saved in an older encoding can show broken characters. Save it again as UTF-8 from your spreadsheet program, then open it here.

Hvordan bruker du CSV-visning?

Velg en CSV-fil for å vise radene i en ryddig tabell og søke i verdiene.

Lastes dataene mine opp til en server?

Nei. Behandlingen skjer i nettleseren din, og opplysningene dine lastes ikke opp.