Open .dta files online

Inspect a Stata-format dataset from a modern browser without installing desktop statistical software.

Try the live demo View supported commands

Independent software. Not affiliated with, sponsored by, or endorsed by StataCorp LLC.

How to open a .dta file

  1. Open stats.camp and create a project, or start with the account-free demo.
  2. Add the .dta file to the project.
  3. Use use, then inspect variables with describe, codebook, or summarize.

Dataset contents are read and processed locally in the browser when commands run. Syncing a project to GitHub and invoking the optional AI assistant are separate, explicit activities.

Example workflow

After adding survey.dta to a project, run:

use "survey.dta", clear
describe
summarize

The commands load the file, list its variables and metadata, and calculate summary statistics for numeric variables.

What to check before relying on a file

.dta is a versioned format. Encoding, metadata, value labels, and uncommon storage types can differ across files. Test important datasets and compare key labels, missing values, row counts, and summary statistics with a trusted reference.

For CSV, Excel, and Parquet data, use the corresponding import workflow instead. See the maintained command table for current coverage.

Related guides

Try the workflow

Open the live project, inspect the existing do-file, and adapt the example above. No stats.camp account is required for the demo.

Open live demo