← Blog

Article

How to read DJIFlightRecord files

A short tour of what's actually inside a DJI flight log — the text export from DJI Fly and DJI Go — and how to turn it into something useful.

Published 17 April 2026 · 6 min read

If you've ever tapped "Export" on a flight in DJI Fly and ended up with a .txt file that looks like a wall of comma-separated numbers, you're not alone. This post walks through what that file contains, what the fields mean, and the fastest way to get from raw log to useful chart.

Where the file comes from

Both DJI Fly and DJI Go keep a local record of every flight. When you open a flight in the app's flight log viewer and choose to export, the app serializes its parsed telemetry as a plain-text CSV-like document — often referred to as a DJIFlightRecord text export.

This is not the same file as the encrypted .DAT or .txt records stored in the aircraft's internal flash. Those require DJI Assistant 2 to retrieve and specialized tools like DatCon to decode.

Anatomy of the export

A typical export contains four families of rows:

The fields that matter

Out of the dozens of columns, these are the ones you'll reach for first:

Position

A common mistake is to plot altitude when you want height, or vice-versa. Height is what the app shows on screen during the flight; altitude is what ATC and mapping tools expect.

Motion

Magnitude of horizontal speed is sqrt(xSpeed² + ySpeed²). Units are meters per second — multiply by 3.6 for km/h or 2.237 for mph.

Battery

Flight mode & events

The flyCState column captures the current flight mode (GPS, ATTI, Sport, RTH, Autoland, etc.). Crossing this with the event messages column tells you why a mode change happened — signal loss, low battery, manual input, or obstacle sensor trigger.

Gotchas

From log to useful output

You can absolutely parse these files yourself — a few dozen lines of Python with pandas will get you a map and a chart. But if you just want to drop a file in and get a flight path, telemetry timeline, battery health view, and a CSV export, that's exactly what this site does. Try it:

Open the flight log viewer


Got a log that parses strangely, or a telemetry field you'd like explained? Drop a note to hello@djiflightdata.com.