CDCodDepot
Categories

Β© 2026 CodDepot. All rights reserved.

HomeCategoriesPrivacy PolicyTerms
  1. Home
  2. /
  3. Marine & Maritime Tools
  4. /
  5. AIVDM / AIVDO Sentence Creator
πŸ“‘

AIVDM / AIVDO Sentence Creator

Build and encode complete AIVDM/AIVDO NMEA sentences for all major AIS message types.

Share𝕏Post on XinLinkedIn
AdSense Placeholder β€” Leaderboard 728Γ—90

Fields

NMEA sentence

!AIVDM,1,1,,B,139Lg1hP1sP:P=pKu?p3Jjip0000,0*72

Round-trip validation

βœ… encode β†’ decode matches
  • NMEA checksumvalid
  • Bit payload168 bits
  • Message Type1
  • MMSI211234567

Binary payload

168 bits Β· fillBits 0
000001 000011 001001 011100 101111 000001 110000 100000 000001 111011 100000 001010 100000 001101 111000 011011 111101 001111 111000 000011 011010 110010 110001 111000 000000 000000 000000 000000

Field breakdown

FieldBitsValueBinary
Message Type61000001
Repeat Indicator2000
MMSI30211234567001100100101110010111100000111
Navigation Status400000
Rate of Turn8-12810000000
SOG (raw)101230001111011
Position Accuracy111
Longitude (raw)2813767000000000101010000000110111100
Latitude (raw)2729315040001101111110100111111100000
COG (raw)12875001101101011
True Heading988001011000
Time Stamp660111100
Maneuver Indicator2000
Spare30000
RAIM Flag100
Radio Status1900000000000000000000
Other formats
Python bytes
b'!AIVDM,1,1,,B,139Lg1hP1sP:P=pKu?p3Jjip0000,0*72\r\n'
JavaScript string
'!AIVDM,1,1,,B,139Lg1hP1sP:P=pKu?p3Jjip0000,0*72\r\n'
Hex dump
21 41 49 56 44 4d 2c 31 2c 31 2c 2c 42 2c 31 33 39 4c 67 31 68 50 31 73 50 3a 50 3d 70 4b 75 3f 70 33 4a 6a 69 70 30 30 30 30 2c 30 2a 37 32 0d 0a
Batch generator (Type 1)
Reference tables

Navigation status

0Under way using engine
1At anchor
2Not under command
3Restricted manoeuvrability
4Constrained by draught
5Moored
6Aground
7Engaged in fishing
8Under way sailing
9Reserved (HSC)
10Reserved (WIG)
11Towing astern
12Pushing ahead
13Reserved
14AIS-SART / MOB / EPIRB
15Not defined (default)

EPFD type

0Undefined
1GPS
2GLONASS
3Combined GPS/GLONASS
4Loran-C
5Chayka
6Integrated Navigation
7Surveyed
8Galileo

Aid type (Type 21)

0Default, not specified
1Reference point
2RACON
3Fixed structure off shore
4Spare
5Light, without sectors
6Light, with sectors
7Leading Light Front
8Leading Light Rear
9Beacon, Cardinal N
10Beacon, Cardinal E
11Beacon, Cardinal S
12Beacon, Cardinal W
13Beacon, Port hand
14Beacon, Starboard hand
15Beacon, Preferred Port
16Beacon, Preferred Starboard
17Beacon, Isolated danger
18Beacon, Safe water
19Beacon, Special mark
20Cardinal Mark N
21Cardinal Mark E
22Cardinal Mark S
23Cardinal Mark W
24Port hand Mark
25Starboard hand Mark
26Preferred Channel Port hand
27Preferred Channel Starboard hand
28Isolated danger
29Safe Water
30Special Mark
31Light Vessel / LANBY / Rigs

Ship type

0Not available
20WIG (Wing in ground)
21WIG, Hazardous A
22WIG, Hazardous B
23WIG, Hazardous C
24WIG, Hazardous D
30Fishing
31Towing
32Towing (large)
33Dredging or underwater ops
34Diving ops
35Military ops
36Sailing
37Pleasure craft
40HSC (High-speed craft)
41HSC, Hazardous A
42HSC, Hazardous B
43HSC, Hazardous C
44HSC, Hazardous D
49HSC, no info
50Pilot vessel
51Search and rescue
52Tug
53Port tender
54Anti-pollution
55Law enforcement
58Medical transport
59Noncombatant ship
60Passenger
61Passenger, Hazardous A
62Passenger, Hazardous B
63Passenger, Hazardous C
64Passenger, Hazardous D
69Passenger, no info
70Cargo
71Cargo, Hazardous A
72Cargo, Hazardous B
73Cargo, Hazardous C
74Cargo, Hazardous D
79Cargo, no info
80Tanker
81Tanker, Hazardous A
82Tanker, Hazardous B
83Tanker, Hazardous C
84Tanker, Hazardous D
89Tanker, no info
90Other
99Other, no info

Message type families

  • 1, 2, 3 β€” Class A position report
  • 4 β€” Base station report
  • 5 β€” Static & voyage data
  • 18, 19 β€” Class B position
  • 21 β€” Aid to Navigation
  • 24 β€” Class B static (Part A + B)

Special sentinel values

  • SOG raw 1023 β†’ not available
  • COG raw 3600 β†’ not available
  • Heading 511 β†’ not available
  • Lon > 180 / Lat > 90 β†’ not available
  • Timestamp 60..63 β†’ manual / N/A / DR / inop
  • ROT raw βˆ’128 β†’ not available
AIS Decoder β†’AIS β†’ GeoJSON β†’MMSI Decoder β†’

Was this tool useful?

Your vote is saved on this device only.

AdSense Placeholder β€” Medium Rectangle 300Γ—250

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.

AdSense Placeholder β€” Leaderboard 728Γ—90