StatLabStudent EditionUser guideGalleryFeaturesAbout

Import and export formats

StatLab opens CSV, TSV, Excel (.xlsx, .xls, .ods) and SPSS .sav files, and saves data as CSV or Excel, output as HTML, PDF or Word/Excel-ready tables, and whole projects as .statlab.json files.

Which files can I open?

FormatNotes
CSV / TSV / TXTA Text Import dialog lets you choose the delimiter (detected automatically), the decimal symbol (comma for 1.234,5), the encoding (UTF-8 or Windows-1252 detected), whether the first line holds names, and lines to skip — with a preview. Columns where every value is a number become numeric.
Excel .xlsx / .xls / .odsChoose the worksheet and, optionally, a cell range such as A1:F200; untick “names in the first row” if the sheet has none.
Stata .dtaStata 8 and later (releases 113–119), including long strings (strL), variable labels and value labels. File → Export data as Stata .dta writes release 118; text longer than 2,045 bytes is stored as a long string (strL).
SAS .sas7bdatRead-only: 32- and 64-bit files, both byte orders, uncompressed or compressed (CHAR/RLE and BINARY/RDC), variable labels and the file's encoding. SAS dates and date-times arrive as text (YYYY-MM-DD, YYYY-MM-DD hh:mm:ss); SAS time formats stay as seconds. Checked against the pandas reader on 28 sample files.
JSONAn array of records, {columns, data}, or an object of column arrays.
PasteFile → Paste data from Excel: paste copied cells; tab-separated, first row = names.
SPSS .savReads variable labels, value labels, user-missing values (including ranges), measure level, long variable names, very long strings and the file’s text encoding. Uncompressed, standard-compressed and zlib-compressed (.zsav) files, and SPSS portable files (.por). Not yet: dates as dates (they arrive as numbers), weights (ignored, with a warning).

How do I export?

Open StatLab   All guide topics