Skip to content

Supported Formats

Sonar Catalog identifies file formats using two methods:

  1. Magic bytes — Read the first few bytes of the file and match against known signatures
  2. File extension — Fall back to extension-based detection

Magic byte detection takes priority. If a file has a .xtf extension but doesn’t contain the XTF magic bytes, the extension-based detection is used as fallback.

FormatExtensionsMagic BytesOffsetDescription
XTF.xtf0x01 0x000eXtended Triton Format (sidescan, bathymetry)
JSF.jsf0x16 0x160EdgeTech sonar format
Kongsberg ALL.all0x490Kongsberg multibeam raw format
Kongsberg KMALL.kmall0x4B 0x4D0Kongsberg modern multibeam format
Reson S7K.s7kReson/Teledyne multibeam format
BAG.bagBathymetric Attributed Grid (HDF5-based)
SEG-Y.sgy, .segySeismic / sub-bottom profiler
Humminbird.dbHumminbird consumer sonar
Lowrance.sl2, .sl3Lowrance consumer sonar
Garmin.sonGarmin sonar
Raw.rawGeneric raw sonar data
GeoTIFF.tif, .tiffSidescan mosaics
Point Cloud.csv, .xyzBathymetry exports
Terminal window
sonar-catalog list-magic-bytes

Shows all built-in and custom magic byte signatures with their hex values and associated extensions.

Detection is dispatched through the plugin hook system. The detect_format hook uses firstresult mode — the first plugin to return a format name wins.

See Custom Formats for adding your own format signatures.