CDCodDepot
Categories

Β© 2026 CodDepot. All rights reserved.

HomeCategoriesPrivacy PolicyTerms
  1. Home
  2. /
  3. Marine & Maritime Tools
  4. /
  5. NMEA 0183 Checksum Calculator
πŸ›Ÿ

NMEA 0183 Checksum Calculator

Validate or generate the XOR checksum for any NMEA 0183 sentence, with step-by-step XOR.

Share𝕏Post on XinLinkedIn

Was this tool useful?

Your vote is saved on this device only.

About NMEA 0183 Checksum Calculator

Paste any NMEA 0183 sentence and this tool computes its XOR checksum, then compares it against the two hex digits after the asterisk to confirm the sentence is intact. It works in both directions: validate a received sentence or generate the correct checksum for one you are building, with a step-by-step XOR breakdown showing how each character between the "$" and "*" folds into the final value.

It is built for marine electronics technicians, AIS and GPS developers, and anyone parsing or crafting sentences like GPGGA, GPRMC, or proprietary messages. The calculation runs entirely in your browser, so your sentences are never uploaded anywhere. It is free, needs no sign-up, and once loaded works offline.

How to use

  1. Paste or type a full NMEA 0183 sentence into the input field.
  2. Read the computed two-digit hex checksum for the data between $ and *.
  3. Compare it against the existing checksum to validate, or copy it to complete your sentence.
  4. Open the step-by-step XOR view to see each character's contribution.
  5. Edit the sentence and rerun to test variations or fix mismatches.

Features

  • βœ“Validates and generates XOR checksums
  • βœ“Step-by-step XOR character breakdown
  • βœ“Handles standard and proprietary sentences
  • βœ“Two-digit uppercase hex output
  • βœ“Runs fully client-side and offline
  • βœ“Free with no account required

Frequently asked questions

How is the NMEA 0183 checksum calculated?+

It is the XOR of every character between the leading "$" (or "!") and the trailing "*", expressed as two hexadecimal digits. The tool performs this XOR and shows the result.

Does the checksum include the $ and * characters?+

No. The $ or ! start delimiter and the * before the checksum are excluded. Only the characters in between are XORed together.

Can I paste a sentence that already has a checksum?+

Yes. The tool computes the correct checksum from the data and you can compare it to the existing one after the asterisk to confirm whether the sentence is valid.

Does it work with AIS sentences that start with an exclamation mark?+

Yes. Encapsulated sentences such as !AIVDM use the same XOR rule between the "!" and "*", so the calculation applies identically.

Are my sentences sent to a server?+

No. Everything is computed locally in your browser, nothing is uploaded, and the tool keeps working offline once the page has loaded.

Related tools

πŸ“‘

AIS Message Decoder

Decode AIS NMEA sentences (Types 1–3 position reports and Type 5 voyage data) at the bit level.

πŸ“»

AIS Message Encoder

Build a valid AIS Type 1 position report from form inputs with step-by-step encoding.

🧭

NMEA 0183 Sentence Parser

Auto-detect and decode 17+ NMEA 0183 sentence types with checksum validation.