statfile.tools

DTA viewer

DTA file viewer

Open a Stata .dta file right here in your browser — no Stata, no installation, no upload. Explore the data grid and the full variable dictionary: labels, value sets, types, and formats.

Drop your file here, or browse

Stata .dta file

Processed on your device — never uploaded

Or try:

Every Stata era

Old binary layouts and the modern tagged format both decode — Stata 8 through 18+, including strL long strings and extended missing values.

Nothing leaves your device

The .dta is parsed locally by JavaScript. No upload means no exposure — safe for confidential and restricted-use data.

Export when ready

Convert the open file to CSV, Excel, JSON, or a native SPSS .sav without re-uploading anything.

The dictionary matters as much as the data

A Stata dataset is more than its numbers: value labels give meaning to codes, and variable labels explain what q7_rev actually measured. This viewer keeps that dictionary front and centre, with a Variable View modelled on the way statisticians already think about their files. Stata's 1960-based dates are decoded into readable calendar dates, and extended missing values are treated as missing rather than as huge numbers.

Working with SPSS files too? There's a dedicated SAV file viewer, and converters for .dta to CSV, Excel, and SPSS .sav.

Frequently asked questions

What is a .dta file?+

A .dta file is Stata's native dataset format. It stores the data alongside a dictionary of variable labels, value-label sets, display formats, and typed storage (byte, int, long, float, double, and strings). Recent versions use an XML-framed binary layout.

How do I open a .dta file without Stata?+

Drop it on this page. The viewer decodes both the legacy binary formats (Stata 8–12) and the modern formats (Stata 13–18+), including strL long strings, and shows the data with its full dictionary. No Stata licence or installation is needed.

Which Stata versions are supported?+

Files written by Stata 8 through Stata 18 and later open here — dta formats 104 through 119, covering both the old fixed-layout binaries and the modern tagged format, big- or little-endian.

Does it show value labels and variable labels?+

Yes. Coded values can be displayed as their label text, and the Variable View lists each variable's name, label, type, format, and complete value-label set.

Is my data uploaded?+

No. The file is parsed by JavaScript on your device and never transmitted. The viewer works offline once the page has loaded, and is safe for restricted or confidential data.