GNSS Simulator
Talk to an engineer
GNSS Simulator

GNSS ENGINEERING TOOLS

NMEA Parser & Checksum Validator

Inspect NMEA sentences from GNSS receiver logs. Check each checksum, decode eight common message types, convert reported coordinates to decimal degrees, and generate a checksum for one sentence.

Batch checksum checks 8 message decoders Browser-based processing

Validate and decode a log

Up to 200 nonempty lines

One sentence per line, beginning with $ or !. Preserve commas and empty fields. Remove timestamp prefixes and TAG blocks; leading or trailing spaces are not silently trimmed.

The generator also accepts one bare payload and adds $. An existing *HH may be replaced; the original input is preserved.

SYNTHETIC EXAMPLES

CHECKSUM SUMMARY

Analyzed
— sentences
Checksum PASS
—
Checksum mismatch
—
Checksum missing
—
Malformed framing / suffix
—
Lines with decoded-field issues
—

PASS means the checksum matches the pasted payload. Review receiver status, fix quality and field issues separately. It does not establish that a reported position or time is correct.

This calculator code processes the pasted text in your browser. It does not upload sentences or combine positions across timestamps. Limits: 100,000 characters total and 1,024 characters per sentence.

Sentence results

Expand a line to inspect decoded values, checksum details and the original comma-separated fields. Field index 0 is the message header. Empty fields remain empty.

Supported NMEA message decoders

Type Decoded information
GGAUTC, position, fix quality, satellites used, HDOP, MSL altitude and geoid separation
RMCStatus, UTC, position, speed, course and two-digit-year date
GLLPosition, UTC and reported validity status
VTGTrue/magnetic course, speed and mode indicator
GSAFix dimension, satellite IDs, PDOP, HDOP and VDOP
GSVMessage part, satellites in view and individual satellite fields
GSTReported residual and position error statistics
ZDAUTC, full calendar date and reported local zone fields

Other standard, proprietary and !-prefixed messages can receive checksum and framing checks with indexed raw fields. Their payloads are not decoded here. Optional fields and code meanings depend on receiver firmware and NMEA version.

How an NMEA checksum is calculated

Start at zero and XOR the ASCII byte values between the starting $ or ! and the first *. Include every comma and empty-field delimiter; exclude the starting character, *, checksum digits and line terminators. Format the result as two hexadecimal digits.

checksum = 0
for each ASCII byte in the sentence body:
    checksum = checksum XOR byte
output = start + body + "*" + two-digit HEX(checksum)

The parser accepts upper- or lowercase hexadecimal checksum digits. Changing a payload character can change the checksum; generating a replacement verifies neither the original data nor its source.

Interpret the decoded fields

Coordinates use degrees and minutes

Latitude uses ddmm.mmmm and longitude dddmm.mmmm. Decimal degrees equal degrees + minutes/60, with south and west negative. The receiver’s datum remains relevant.

GGA altitude is not ellipsoidal height

When both metre-valued fields are available, this tool derives h = H + N from reported MSL altitude H and geoid separation N. Missing fields are not replaced with zero.

Keep sentences in their own context

RMC’s century is not inferred. GSV parts are inspected separately and are not assembled into a combined satellite list. An invalid receiver status remains visible even with a matching checksum.

Frequently asked questions

Which NMEA sentences can this tool decode?

It decodes GGA, RMC, GLL, VTG, GSA, GSV, GST and ZDA fields. Other standard, proprietary and !-prefixed messages receive checksum/framing checks and indexed raw fields only. Optional fields and code meanings can vary by NMEA version and receiver firmware.

How is the NMEA checksum calculated?

The checksum is the 8-bit XOR of the ASCII bytes between the starting $ or ! and the first *. Commas are included. The starting character, *, two checksum digits and line terminators are excluded. The result is written as two hexadecimal digits, not a CRC-32.

Does a matching checksum mean the GNSS fix is valid?

No. It only means the checksum matches the pasted payload. A receiver can report GGA quality 0, RMC or GLL status V, or another invalid-data indication with a matching checksum. It does not authenticate the source or verify the actual position, time, datum or measurement accuracy.

Can generating a checksum repair corrupted data?

No. The generator calculates a checksum for the bytes currently present. It preserves the original input and displays a separate sentence with the new suffix. It cannot recover missing or corrupted fields, establish the original payload, or make invalid data trustworthy.

How are NMEA coordinates converted to decimal degrees?

Latitude uses ddmm.mmmm and longitude dddmm.mmmm. Split off the degree digits and divide the remaining minutes by 60. Add the two values, then make south and west negative. Empty coordinates remain unavailable; the converter does not transform the receiver’s datum.

Is GGA altitude the same as ellipsoidal height?

No. GGA reports an MSL altitude field H and a separate geoid separation field N. When both are present with metre unit markers, the tool derives ellipsoidal height as h = H + N. It does not substitute zero for missing values or supply its own geoid model.

Scroll to Top