What Is a UBX File? Open u-blox GPS Logs Online
A UBX file is a binary log written by u-blox GNSS receivers. Unlike GPX (plain XML for exchanging tracks), UBX is the receiver’s own framed protocol: sync bytes, a class and message id, a payload, and a checksum. Tools that only open GPX or KML cannot draw a raw .ubx dump until the navigation messages are decoded.
If you have .ubx logs from a receiver and want the path on a map, the steps below show how.
What UBX is
UBX messages are packed into frames that start with B5 62 (hex). After the sync bytes come class, id, a little-endian length, the payload, then two checksum bytes (an 8-bit Fletcher over class through the end of the payload). Receivers can mix UBX frames with NMEA $… text lines in the same stream; a sensible reader skips non-UBX bytes and keeps scanning.
That design is for efficient on-device logging and configuration, not hand editing. GPX aims for interchange and map display. Both can describe the same path; they optimize for different jobs.
Common messages
| Message | Role |
|---|---|
| NAV-PVT | Position, time, elevation, ground speed, fix quality |
| NAV-POSLLH | Lon/lat/height (used when no usable PVT positions are found) |
| RXM raw | Raw measurements for post-processing / RTK software |
NAV-PVT is what a map needs: a fix with time and speed. RXM raw data is for specialised post-processing tools, not for drawing a track in the browser. GPS Toolset reads UBX this way: NAV-PVT is preferred. If no usable NAV-PVT positions are found, NAV-POSLLH positions are used instead, with position and elevation but no date-time or recorded speed. It ignores raw-measurement messages.
Format chooser: GPS file formats. Deep GPX structure: What is a GPX file?.
How to open a UBX file here
- Open UBX viewer.
- Drop the
.ubxfile. Parsing stays in the browser. Your file is not uploaded. - Use Map / 3D, Stats, or Graphs under the map. Export GPX, KML, KMZ, or CSV when you want a copy on disk.
If the page says no track was found, turn on NAV-PVT output on the receiver and record again. NAV-POSLLH output also works, without date-time or recorded speed. A log that only contains raw measurements will not draw a path here.
Convert UBX → GPX
- Open UBX to GPX.
- Drop the
.ubxfile. - Download the
.gpxoutput, or open it on the map.
The GPX keeps positions, time, elevation, and speed when NAV-PVT recorded them. If no usable NAV-PVT positions are found, NAV-POSLLH positions are used instead, with position and elevation but no date-time or recorded speed. Raw measurement messages are skipped. After convert, trim or split in GPX editor if you need edits. You can also open the UBX file directly in the GPX editor; it saves GPX, KML, KMZ, or CSV, not UBX.
Limits
- No raw-measurement or RTK post-processing (RXM-RAWX and similar stay unused).
- No writing UBX back out; export is GPX / KML / KMZ / CSV only.
- No editing of the binary log itself; edits are saved as a new file.
Privacy
A UBX log can reveal where a receiver travelled. Browser-side parsing avoids uploading the file to a random website. Conversion does not anonymize a track. Remove private locations before sharing it online.