Processed online by Toolvito
Statistical Data Converter
Open a data file from SPSS (.sav), Stata (.dta), SAS (.sas7bdat or .xpt) or MATLAB (.mat) without those programs. See its variables, labels and first rows, and save it as CSV, Excel, Parquet or JSON Lines. It works the other way too: turn a CSV or Excel table into an SPSS, Stata or MATLAB file.
How to convert a SAV, DTA, SAS or MAT file
- Choose the data files.
- Choose the format to make: CSV, Excel, SPSS, Stata, MATLAB, Parquet or JSON Lines.
- Choose whether coded answers (such as 1 = "yes") are written as their text or as their codes.
- Press Convert. The variables and the first rows are shown on the page; download the file and the codebook.
What is kept
- Variable labels and value labels go into SPSS and Stata files and into a codebook CSV, which also lists the missing-value codes of an SPSS file.
- Numbers and texts keep their values; empty numbers stay empty (system-missing in SPSS, "." in Stata). SPSS dates become real dates.
- MATLAB: each column becomes a variable (or a field of one struct). From a .mat file, arrays and structs whose fields have the same length become the columns of the table; version 7.3 files are read too.
Good to know
- SAS files can be read but not written (no free program can write .sas7bdat files); save as CSV or Stata for SAS to import.
- SPSS output files (.spv, tables and charts) and portable files (.por) are not data files and cannot be opened here. Texts longer than 255 characters in SPSS files come out in 255-character pieces.
- Stata names may only have letters, digits and _ (up to 32); other names are changed and the report lists the changes.
- For other tables (Parquet, Arrow, HDF5, SQLite), use the Tabular Data Viewer.
Privacy
Toolvito receives the research files you submit for conversion. Statistical datasets can contain personal information. Download the result within one hour after the job finishes. Choose Delete files now to request earlier removal. The hourly cleanup normally removes files within one to two hours after completion.