Reference
AIS codes, decoded
AIS packs a lot into small numbers. A two-digit ship type, a four-bit status, nine digits of identity. Every code has its own page here: what the standard says, what it really tells you, and how many vessels our shore-based receivers can hear using it right now.
Ship and cargo type · 100 codes
Ship type codes 0–99
Rows are the tens digit — the family. Columns are the units digit — in most families, the hazardous-cargo declaration. Dashed cells are reserved.
Navigational status · 16 codes
Navigational status
What the vessel says it is doing. Set by hand, so read it as testimony.
- 0Under way using engine
- 1At anchor
- 2Not under command
- 3Restricted manoeuvrability
- 4Constrained by her draught
- 5Moored
- 6Aground
- 7Engaged in fishing
- 8Under way sailing
- 9Reserved for future amendment (HSC)
- 10Reserved for future amendment (WIG)
- 11Power-driven vessel towing astern
- 12Power-driven vessel pushing ahead or towing alongside
- 13Reserved for future use
- 14AIS-SART, MOB-AIS or EPIRB-AIS active
- 15Undefined (default)
MMSI · 10 formats
MMSI identity formats
Who is transmitting: a ship, a coast station, a buoy, a life-raft.
Message types · 27 types
AIS message types 1–27
The first six bits of an AIS message. Position report, ship name, base station beacon, buoy, safety text: each is a different type. Start with position reports or browse the types below.
- 1Position report, scheduled (Class A)
- 2Position report, assigned schedule (Class A)
- 3Position report, response to interrogation (Class A)
- 4Base station report
- 5Static and voyage related data (Class A)
- 6Binary addressed message
- 7Binary acknowledge
- 8Binary broadcast message
- 9Standard SAR aircraft position report
- 10UTC and date inquiry
- 11UTC and date response
- 12Addressed safety related message
- 13Safety related acknowledgement
- 14Safety related broadcast message
- 15Interrogation
- 16Assignment mode command
- 17DGNSS broadcast binary message
- 18Standard Class B equipment position report
- 19Extended Class B equipment position report
- 20Data link management message
- 21Aid-to-navigation report
- 22Channel management
- 23Group assignment command
- 24Static data report (Class B)
- 25Single slot binary message
- 26Multiple slot binary message with communications state
- 27Long-range AIS broadcast message
Country digits · 292 MIDs
MMSI country codes (MID)
The first three digits of a ship's MMSI say which administration issued it. Look up any of the292 allocations, from 201 to 775.
Tool
MMSI decoder
Paste nine digits. Get the station type, where the country digits sit, the registry they point to, and whether the number makes sense at all.
Tool
IMO number checker
Check a seven-digit IMO ship number against its check digit, with the arithmetic shown. Catches typos and numbers that were never IMO numbers.
Tool
AIS sentence decoder
Paste a raw !AIVDM line. Get the message type, sender, position, speed, course, name and destination, with “not available” values labelled and the checksum verified.
Background
Reference guides
How AIS works, why ships go dark, and what coverage from shore-based receivers can and cannot show.
Amazon affiliate picks
Hardware that sends and receives these messages
These codes ride inside AIS messages. A transponder sends them, a receiver decodes them, and a software-defined radio lets you watch them arrive.
- em-trak

Transmit + receive · 5 W SOTDMA
B951 AIS transceiver
A compact Class B unit with 5 W SOTDMA, internal GPS, NMEA 0183 and NMEA 2000.
Requires correct MMSI programming and a suitable VHF antenna or active splitter.
View on Amazon — em-trak B951 Class B AIS transceiverCheck current price & availability
- Garmin

Fixed mount · AIS receiver
Garmin VHF 215 AIS
A fixed-mount VHF radio with a built-in AIS receiver for nearby traffic.
Receive-only AIS does not make your own boat visible to others. Check the display or plotter you plan to use.
View on Amazon — Garmin VHF 215 AIS fixed-mount marine radioCheck current price & availability
- RTL-SDR Blog

USB SDR · receive-only
RTL-SDR Blog V3 kit
A USB software-defined radio with a dipole antenna kit; with free decoding software it can pick up AIS broadcasts from vessels within VHF range of where you set it up.
A hobby receiver, not marine equipment. A dipole kit is not a marine-grade antenna, and coverage depends heavily on location. Never use it for navigation.
View on Amazon — RTL-SDR Blog V3 software-defined radio with dipole antenna kitCheck current price & availability
As an Amazon Associate, MarineActivity earns from qualifying purchases. Amazon is the seller; we do not set prices, hold stock or fulfil orders. Prices and availability can change. Affiliate disclosure
Explore marine gear →