Sparkplug B & UNS Topic Builder

Build, validate and bulk-generate Sparkplug B topics and ISA-95-based Unified Namespace paths.

Runs in your browser, sends no data · MQTT · Sparkplug B · ISA-95

Generated topic

    QoS
    0
    Retain
    false

    Subscribe filters

    • everything in the group
    • all messages of the node
    • spBv1.0/#all Sparkplug traffic
    Sparkplug B message types
    TypeScopeMeaningQoSRetain
    NBIRTHnodeNode birth: announces all metrics and metadata0false
    NDEATHnodeNode death: published as the Last Will when the connection drops1false
    NDATAnodeNode data: changed metrics0false
    NCMDnodeCommand to a node0false
    DBIRTHdeviceDevice birth: announces the device’s metrics0false
    DDEATHdeviceDevice death: when the device becomes unreachable0false
    DDATAdeviceDevice data: changed metrics0false
    DCMDdeviceCommand to a device0false
    STATEhostOnline/offline state of the host application (spBv1.0/STATE/{host_id})1true

    Values follow the Eclipse Sparkplug 3.0 specification; verify against the specification and your product documentation before going to production.

    How does the Sparkplug B topic structure work?

    Sparkplug brings an industrial convention to MQTT’s flexible topic structure. A topic has four parts: the namespace version (spBv1.0), the group_id (logical grouping such as a site or line), the message type and the edge_node_id. Device messages append a device_id.

    “Birth” messages announce every metric a node or device provides; “Death” messages are published when the connection drops. Subscribing applications therefore know whether data is current or stale.

    For the concepts, see our glossary: Sparkplug B, MQTT, Unified Namespace, ISA-95.

    Frequently asked questions

    What does a Sparkplug B topic look like?

    It follows spBv1.0/{group_id}/{message_type}/{edge_node_id}[/{device_id}]. Node messages (NBIRTH, NDEATH, NDATA, NCMD) have no device_id; device messages (DBIRTH, DDEATH, DDATA, DCMD) do. Host application state uses spBv1.0/STATE/{host_id}.

    Are Sparkplug and UNS the same thing?

    No. A UNS is an architectural approach (one meaningful namespace); Sparkplug is a specification defining topic structure, payload format and state management on MQTT. A UNS can be built with Sparkplug or with plain MQTT.

    Is the data I enter sent anywhere?

    No. The tool runs entirely in your browser; the names you enter are not transmitted to a server.

    Want to build a UNS in a real project?

    Let’s design a Unified Namespace implementation together with the embedded MQTT broker and Sparkplug support of HighByte Intelligence Hub.