Files · verktøy

Regneark til CSV-konverterer

Velg en XLSX-fil og et regneark, eller lim inn CSV-data for å forhåndsvise og laste dem ned.

Kjøres i nettleseren. Ingen opplasting.

Convert one worksheet from XLSX to CSV, or open a CSV and export an XLSX workbook.

Works in your browser. Your files stay on your device.

Om verktøyet

Regneark til CSV-konverterer sem complicação.

CSV-filen inneholder én ren teksttabell, så formatering, formler, flere ark, diagrammer og arbeidsbokfunksjoner beholdes ikke. Formler kjøres aldri. Ta vare på en kopi av den opprinnelige arbeidsboken.

Veiledning

Slik bruker du Regneark til CSV-konverterer

The Spreadsheet Converter turns one worksheet of an Excel XLSX file into a CSV file, or turns a CSV file into a new XLSX workbook. Everything happens in your browser, and it shows a preview of the first 30 rows. CSV is one plain table, so formatting, formulas and extra sheets do not come along. It does not edit your data.

Slik gjør du

  1. Press Choose file and pick an XLSX or CSV file of up to 20 MB. A preview of the first 30 rows appears.
  2. For an XLSX file, pick the worksheet from the Worksheet list. The preview changes with it. A CSV file has no list because it holds only one table.
  3. Press Convert and download. An XLSX file becomes a CSV file, and a CSV file becomes an XLSX file, and your browser saves it.
  4. Open the result and check it against the original before you delete anything. Press Clear to reset the page.

Eksempler

CSV to XLSX with quotes and a leading zero

Du skriver inn
Fil
items.csv
Innhold
name,qty,note Apple,3,"red, sweet" Pear,007,"say ""hi"""
Du får
Fil
items.xlsx
Rader
name; qty; note; Apple; 3; red, sweet; Pear; 007; say "hi"
Tallceller
3 is stored as a number; 007 stays text

The comma inside quotes stays in one cell, and the doubled quote becomes a single quote. A value like 3 is saved as a number, but 007 has a leading zero, so it is kept as text. Worked out by running the tool's own conversion code, not through the file picker.

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

XLSX to CSV

Du skriver inn
Fil
stock.xlsx
Regneark
Sheet1
Celler
name; qty; note; Apple; 3; red, sweet
Du får
Fil
stock.csv
Tekst
name,qty,note<CRLF>Apple,3,"red, sweet"

Rows end with a carriage return and line feed, and any cell that holds a comma, a quote or a line break is wrapped in double quotes. Worked out from the tool's code, not through the file picker.

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

Dates and formulas in an XLSX file

Du skriver inn
A2
a date cell stored as 45000
B2
a formula whose saved result is 3
C2
a formula with no saved result
Du får
A2
45000
B2
3
C2
(empty)

The tool copies the value stored in each cell and never recalculates. A date shows as its stored serial number, a formula shows its saved result, and a formula without a saved result becomes an empty cell. Checked with a hand-edited test workbook, not through the file picker.

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

A CSV with only one row

Du skriver inn
Fil
one-row.csv
Innhold
only,one,row
Du får
Melding
The spreadsheet needs readable rows and must contain fewer than 100,000 rows.

Making an XLSX file needs at least two rows. A single row triggers this message, and no file is made. Worked out by running the tool's own conversion code.

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

Når det er nyttig

  • Pull one table out of an Excel workbook so a database, script or import form can read it as CSV.
  • Open a CSV export in Excel-style software by turning it into an XLSX file first.
  • Peek at the first 30 rows of a file without opening a big spreadsheet program.
  • Convert a quick data file on a device where you cannot install extra software.

Begrensninger

  • The file must be 20 MB or smaller. For XLSX files the tool supports up to 20 worksheets, 2,000 rows per worksheet and 200 columns. CSV files can have up to 100,000 rows and 200 columns.
  • CSV keeps a single plain table. Formatting, formulas, charts, merged cells and the other worksheets are not kept, and formulas are never run.
  • The CSV reader splits on commas only. A file that separates values with semicolons or tabs is read as one column.
  • A new XLSX made from a CSV has one sheet that is named Extracted PDF text, and dates in an XLSX file are read as their stored serial numbers.

Tips

  • Keep your original file. Conversion makes a new file and never changes the one you chose.
  • Check the preview for a worksheet before you convert. It shows what will be in the CSV, up to 30 rows.
  • If a CSV is separated by semicolons, replace them with commas in a text editor first.

Kilder

Vanlige spørsmål

Sobre Regneark til CSV-konverterer.

How do I convert an XLSX file to CSV?

Choose the file, pick the worksheet you want from the list, and press Convert and download. The tool saves that one worksheet as a CSV file with commas between values and quotes around cells that need them.

Does the CSV keep formulas, formatting and other sheets?

No. CSV is plain text for one table. Formatting, formulas, charts and other sheets are not preserved, and formulas are never run. The tool copies the value stored in each cell.

Can I convert all the worksheets at once?

No. Each conversion handles one worksheet. To get several, choose a different worksheet in the list and convert again. The saved file name does not include the sheet name, so rename each download.

Can I turn a CSV file into an Excel file?

Yes. Choose a CSV file and press Convert and download. You get an XLSX file with one sheet. Values that look like plain whole or decimal numbers are saved as numbers, and everything else is saved as text.

Why does a date show as a number like 45000?

The tool reads the stored value of each cell and ignores cell formats. Excel keeps dates as serial numbers, so you see that number instead of a formatted date. Format the column as a date in your spreadsheet program afterwards.

What are the size limits?

Files up to 20 MB. XLSX reading is limited to 20 worksheets, 2,000 rows per worksheet and 200 columns. A CSV can have up to 100,000 rows and 200 columns. Larger files show an error message and no file is made.

Is my file uploaded to a server?

No. The page says your files stay on your device. The reading, the conversion and the download all happen inside your browser.

Hvordan bruker du Regnearkkonverterer?

Velg en XLSX-fil og et regneark, eller lim inn CSV-data for å forhåndsvise og laste dem ned.

Lastes dataene mine opp til en server?

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