
Group them, keep several open, see which are live.
Connection guideProduction
factory-line-1@broker.emqx.io:8883
edge-gateway@192.168.1.20:1883
cloud-bridge@cloud.emqx.com:8883
Testing
local-dev@127.0.0.1:1883
+ New Subscription
sensors/room1/tempQoS 1
sensors/room1/humQoS 1
sensors/+/stateQoS 1
zsh · CLI
TCP, TLS and WebSocket, two-way TLS included.
Watch two brokers side by side in separate windows.
Save once, then load with --load-options.
Sent on the right, received on the left, colored by subscription.
Each topic filter gets its own color.
Find messages by topic or payload, highlighted in place.
Publish on an interval to keep data flowing.
Every connect, publish and error, logged for debugging.
Switch formats on the fly. Gzipped messages are inflated first.
eyJ0ZW1wIjoyMy41LCJodW0iOjYxfQ=={
"temp": 23.5,
"hum": 61
}Publish and view as Plaintext, JSON, Base64, Hex, CBOR or MsgPack.
Encode and decode with your own schema.
Topic tree, charts, message rates and payload diffs, all live.
{"temp":23.5}24 msgs{"hum":61}24 msgs{"temp":24.1}24 msgs{"speed":2}10 msgsShape messages with JavaScript, in the app or the CLI.
Custom scripts
Transform payloads on publish or receive.
Built-in scenarios
mqttx simulate ships ready-made IoT data, like a Tesla fleet.
function handlePayload(value) {
const data = JSON.parse(value)
data.temp = +(data.temp * 1.8 + 32).toFixed(1)
data.unit = 'F'
return JSON.stringify(data, null, 2)
}
execute(handlePayload)Input
{"temp": 23.5, "hum": 61}Output
{"temp": 74.3, "hum": 61, "unit": "F"}Publish, subscribe, benchmark and simulate from any shell.
mqttx sub -t 'sensors/#' -h broker.emqx.iomqttx sub
mqttx sub -t 'sensors/#' -h broker.emqx.io -v✔ Connected
{"hum":62}{"temp":23.7}{"temp":24.0}{"hum":63}{"temp":24.1}mqttx pub
mqttx pub -t 'sensors/room1/temp' -m '{"temp":24.1}' -h broker.emqx.io✔ Message published
Ask in plain language. The Agent works in MQTTX and you see every step.
Connect to broker.emqx.io, subscribe to demo/# and publish a test message
MQTTX Agent wants to publish to demo/test on broker.emqx.io
{ "temp": 23.5, "unit": "C" }Use MQTTX Web online or host it with Docker.
JSON, CSV, Excel, XML or YAML.
Light, Dark and Night.
English, Chinese, Japanese, Turkish, Hungarian and Korean.