Overview
MQTT Explorer provides powerful tools to inspect and analyze MQTT messages in detail. Whether you’re debugging IoT devices, monitoring data flows, or analyzing message patterns, the message inspection features give you complete visibility into your MQTT data.Message Details Panel
When you select a topic in the tree, the Details tab displays comprehensive information about the current message: Message Metadata- Topic path with breadcrumb navigation
- Message payload (current value)
- Timestamp of when the message was received
- Message ID (if available)
- QoS (Quality of Service) level
- Retained message indicator
- Payload size in bytes
The breadcrumb navigation at the top shows the full topic hierarchy and allows you to click through to parent topics.
Payload Rendering
MQTT Explorer intelligently formats message payloads based on content type:Automatic Format Detection
JSON
Automatically detects and formats JSON with syntax highlighting and indentation
Plain Text
Displays readable text with proper line breaks and whitespace
SparkplugB
Decodes SparkplugB protocol messages with proper structure
Base64 Binary
Shows binary data in readable base64 encoding
Syntax Highlighting
The code editor provides:- Color-coded JSON: Keys, values, strings, numbers, booleans
- Line numbers: Easy reference for large payloads
- Collapsible sections: Fold/unfold JSON objects and arrays
- Theme aware: Automatically adjusts to light/dark mode
Message History
Every topic maintains a complete history of messages: History Features- Unlimited history: Stores all messages received during the session
- Chronological order: Most recent message first
- Quick navigation: Click any historical message to view it
- Timestamp display: See exactly when each message arrived
- Payload preview: Truncated preview in the history list
Diff Comparison Mode
Compare messages to track changes over time:Side-by-Side Comparison
The diff viewer shows:- Side-by-side layout: Current and previous messages side by side
- Change highlighting: Added, removed, and modified lines
- Line numbers: Corresponding line numbers for both versions
- JSON-aware diffing: Intelligent comparison of JSON structures
Comparison Options
Compare with Previous Message
Compare with Previous Message
Automatically compares the current message with the immediately previous message in the history. This is useful for tracking incremental changes.
Compare with Selected Message
Compare with Selected Message
Choose any message from the history to compare with the current message. Perfect for comparing states across a longer time period.
Raw Mode vs Diff Mode
Raw Mode vs Diff Mode
Toggle between:
- Diff Mode: Shows differences between two messages
- Raw Mode: Shows both messages in full without highlighting differences
Diff comparison is most effective with JSON payloads, where structural changes are clearly highlighted.
Copy & Save Actions
Extract message data for external use:Copy Features
- Copy payload: Copy the raw message payload to clipboard
- Copy topic path: Copy the full topic string
- Copy timestamp: Copy the message timestamp
- Copy as JSON: Export message metadata and payload as JSON
Save to File
Value Rendering Display Modes
Customize how messages are displayed:Display Mode Options
Diff Mode (Default)- Highlights changes between current and previous messages
- Shows added/removed content in different colors
- Best for tracking state changes
- Shows complete message payload without comparison
- Displays both current and selected messages separately
- Ideal for reviewing full message content
- Visualizes numeric message values over time
- See Data Visualization for details
Format Detection & Decoding
Automatic Decoding
MQTT Explorer automatically detects and decodes: JSON Payloads- Validates JSON syntax
- Pretty-prints with proper indentation
- Shows parsing errors if invalid
- Decodes SparkplugB metric messages
- Displays metrics in readable format
- Shows metric names, values, and types
- Indicates decoding with “Decoded SparkplugB” label
- Displays as base64-encoded string
- Shows byte count
- Indicates non-text content
What is SparkplugB?
What is SparkplugB?
SparkplugB is an MQTT topic and payload specification for Industrial IoT. MQTT Explorer can automatically decode SparkplugB messages to show the embedded metrics and metadata in a readable format.
Topic Type Indicators
Understand what kind of data each topic contains:- JSON Object:
{...}icon - JSON Array:
[...]icon - String:
"abc"icon - Number:
123icon - Boolean:
true/falseindicator - Binary: Binary data indicator
The topic type is automatically detected from the message payload and displayed in the topic panel.
Delete Messages
Remove topics from your local tree view: Delete Options- Single Topic: Delete just the selected topic
- Recursive Delete: Delete topic and all its children
- Confirmation Dialog: Prevents accidental deletion
Best Practices
Use History for Debugging
Review message history to identify when values changed or errors occurred
Compare States
Use diff mode to track configuration changes or state transitions
Export Important Messages
Save critical messages for documentation or troubleshooting
Monitor Payload Sizes
Check message sizes to optimize bandwidth and storage
Related Features
- Topic Visualization - Navigate the topic tree
- Publishing - Send messages to topics
- Data Visualization - Chart numeric message values
- AI Assistant - Get help understanding message content