ConnectMQ
Managed MQTT broker with private, authenticated instances — built for teams moving from testing to production.
Free public MQTT 5 broker operated by EMQ, reachable over TCP, TLS and WebSockets.
| Transport | URL | Copy |
|---|---|---|
| MQTT (TCP) | mqtt://broker.emqx.io:1883 | |
| MQTT over TLS | mqtts://broker.emqx.io:8883 | |
| WebSocket | ws://broker.emqx.io:8083/mqtt | |
| Secure WebSocket | wss://broker.emqx.io:8084/mqtt |
broker.emqx.io is a free public MQTT broker run by EMQ, the company behind EMQX. It supports MQTT 3.1, 3.1.1 and MQTT 5 and exposes TCP, TLS, WebSocket and secure WebSocket listeners.
Like every public sandbox it is shared by many users at once, so treat any topic as visible to the world.
mosquitto_sub -h broker.emqx.io -p 1883 -t 'testmqtt/emqx/#' -vimport mqtt from 'mqtt';
const client = mqtt.connect('wss://broker.emqx.io:8084/mqtt');
client.on('connect', () => {
client.subscribe('testmqtt/emqx/#');
client.publish('testmqtt/emqx/hello', 'Hello from MQTT.js');
});
client.on('message', (topic, payload) => {
console.log(topic, payload.toString());
});Having trouble? See common MQTT connection errors or learn how to test an MQTT broker step by step.
Managed MQTT broker with private, authenticated instances — built for teams moving from testing to production.
One of the most widely used public MQTT sandboxes. Open to everyone, no authentication.
The classic Mosquitto test server, maintained by the Mosquitto project. Great for interoperability tests.
Public sandbox from the Eclipse IoT working group, with WebSockets on standard web ports.