Statistics formats

SPSS, Stata, SAS and R files, opened on a Mac.

Look inside a dataset without the package that made it, clean it, and write it out for CSV, Excel or another statistics package.

Statistics files without the statistics package

Intact CSV Editor opens the files statistics software writes, and writes them too, so a dataset can be checked, cleaned and passed on without a licence for the package that made it.

FormatOpensWrites
SPSS .savYesYes — with the full column names beside the short ones
Stata .dtaYesYes — release 118, which Stata 14 and later read, and which holds UTF-8
SAS transport .xptYesYes — in the 80-byte records SAS moves between machines
SAS dataset .sas7bdatYes — compressed ones too, and files from mainframes and Unix—
R data .rdsYesYes — a data frame R reads with readRDS
MATLAB .matYesYes — a struct with a field per column, level 5
HDF5 .h5YesYes — a dataset per column, which every HDF5 tool reads
NetCDF .ncYes — all three classic versions, and NetCDF-4—

What a survey file says, not only its numbers

A .sav or a .dta holds more than a grid. Its value labels are read, so where the file says 1 means Yes, the cell says Yes. The kinds of missing value are kept apart — Refused is an answer, and a survey with the refusals blanked out is a different survey. Dates count from each format's own day in its own unit, and a long SPSS string that the file spreads over several columns is one column again.

Saving writes a copy rather than over the file, because a table written over a survey file would throw away the labels it holds.

Measurements in NetCDF

The format weather, water and instrument data arrives in. The variables that run along one dimension become the table — a time dimension with a column for each thing measured — and a time is the moment its units name, so days since 1970-01-01 comes out as a date. What the file declares missing is a gap, not the number standing in for it.

Then do what the data needs

Once open, a dataset is a table like any other: filter it, sort by several columns, summarise it with subtotals, count every column with Statistics — median, variance, quintiles — or join it to another file in SQL. Export it to CSV or Excel for a colleague, or to another package's format.

Questions

Common questions

How can I open an SPSS .sav file without SPSS?

Open it in Intact CSV Editor: it reads the file itself and shows it as a table you can filter, query and export to CSV or Excel.

Can I convert Stata to CSV?

Yes. Open the .dta and export as CSV — or SPSS, SAS transport, R, Parquet and the rest.

Open your most difficult file.

Join the beta and we will write to you as soon as your access is ready. Your files never leave your Mac.

macOS 14 Sonoma or later · How we use your address