LapLiftSign in

How to convert an AiM .xrk file to CSV

An .xrk is AiM's binary logger file, so Excel or a script cannot read it until it becomes a CSV. You have two routes: export it from Race Studio 3 on a Windows PC, or upload it to LapLift and download a CSV from the session.

The LapLift route gives you choices about channels, laps and sample rate, and one of those choices changes the shape of the file. This guide covers both routes and what each file looks like.

Create your free account

Option 1: export from Race Studio 3

  1. Open Race Studio 3 Analysis on a Windows PC and find the session in its sessions list.
  2. Select the session, then click the Export selected session(s) icon in the toolbar, or hover over the session and open its settings icon to reach the export items menu.
  3. Pick the Race Studio 2 .csv format rather than the .drk one.
  4. Choose the folder to save into when the file window opens.

AiM's manual lists these export options. Open a file from your own session to see its columns and sample rate before you build anything on it.

Option 2: upload to LapLift and export

  1. Sign in to LapLift, or create a free account, because uploads need one.
  2. Upload the .xrk or .xrz as it came off the logger; files up to 256 MB are accepted.
  3. Find the session under My Sessions on the home page.
  4. On a computer, click the download icon at the end of the session's row, which is labelled Export session to CSV. On a phone, open the session's actions menu and choose Export CSV.
  5. In the Export window, tick the channels and laps you want and set the sample rate.
  6. Click Export CSV.

What the Export window offers

SettingChoices
FormatLapLift CSV (the default), RaceChrono Pro, or Original uploaded file
Sample rateAs recorded (the default), 10, 20, 50 or 100 Hz
ChannelsEvery channel in the session, with speed, throttle and brake ticked at first and your last choice remembered
LapsAny lap in the session
Include session notesOff unless you tick it

The RaceChrono Pro format writes a file for that app at the logger's own rate, with recorded laps only. The Original uploaded file choice gives you back the exact .xrk you uploaded, unchanged.

Two kinds of file come out

When every channel you tick is one LapLift can read straight back from the logger file, the CSV is written from that file with one row per logger reading, or at the rate you chose. Those channels are speed, GPS latitude and longitude, heading, lateral, longitudinal and vertical G, yaw rate, steering angle, throttle and brake.

Tick anything else, such as RPM or gear, a channel LapLift calculates, or the Theoretical Best lap, and the file has one row every 5 m of track instead. LapLift builds that one in your browser from the session data, and the sample rate setting switches off. The window tells you which kind you will get, and why, before you download.

If you want RPM at the logger's own rate, this export cannot produce it. The 5 m file carries RPM, with a row at each 5 m of track rather than at each logger reading.

Either way, the laps match the charts: Lap 5 in the CSV is the same stretch of track as Lap 5 on screen.

Reading the file

The first lines start with #. They hold the session details, the sample rate, a Units line and the export time, and the very first reads LapLift CSV: v2. Tell your spreadsheet or script to skip lines that start with #, and the column names follow on the next line.

  • A file written from the logger starts its columns with time_s, lap and distance_m, then your channels.
  • A 5 m file starts with distance_m and lap, adds time_s when the session has lap time, then your channels.
  • Speed is always in mph, whatever units your charts use.
  • Other channels keep the units the logger recorded, and the Units line lists every one.

Sources

The Race Studio 3 export options are from AiM's Race Studio 3 Analysis manual, read in November 2026.

Questions

Does the same export work for an .xrz file?

Yes. LapLift reads .xrz files the same way as .xrk files, so upload it as it is and the Export window offers the same choices.

Do I need a LapLift account to get the CSV?

Yes. Uploading needs you to be signed in, and the account is free.

Why does my CSV have a row every 5 m instead of timestamps at the logger rate?

You ticked a channel the logger-rate export cannot write, such as RPM or gear, or a channel LapLift calculates, or the Theoretical Best lap. Untick them, leave only speed, position, heading, G, yaw, steering, throttle or brake, and the file is written at the logger's rate.

Keep reading

AiM telemetry analysis in your browser →AiM file types explained: .xrk, .xrz, .drk and what opens them →How to analyze AiM data without Race Studio →How to open a .vbo file →

Free, in your browser. Nothing to install.

Create your free account