Free · No sign-up · Runs in your browser

Test MQTT brokers online in seconds

TestMQTT is a free web-based MQTT client. Connect to any broker over WebSockets, subscribe to topics, publish messages and debug your IoT data flow — without installing anything.

  • MQTT 3.1.1 & 5
  • QoS 0 / 1 / 2
  • Retained & Last Will
  • JSON inspector

MQTT broker speed test

Connect + publish/subscribe round trip, measured from your browser.

  • HiveMQ Public Brokerwss://broker.hivemq.com:8884/mqtt
    —Open
  • EMQX Public Brokerwss://broker.emqx.io:8084/mqtt
    —Open
  • Eclipse Mosquitto Test Serverwss://test.mosquitto.org:8081
    —Open
  • Eclipse Projects Brokerwss://mqtt.eclipseprojects.io:443/mqtt
    —Open
Public brokers are shared and best-effort — results vary with load.Need a dedicated broker? →
Everything you need to debug MQTT

A complete MQTT test client in a browser tab

From a first connection check to inspecting JSON telemetry, TestMQTT covers the workflow you would otherwise need a desktop tool for.

Connect to any broker

Pick a public broker or paste your own wss:// URL. Username, password, client ID, keep-alive, MQTT 5 and Last Will supported.

Publish & subscribe

Subscribe with + and # wildcards, publish with QoS 0/1/2 and the retain flag, and watch messages stream in real time.

Live topic tree

Every topic you receive is organised into a browsable tree with message counts, so you can understand a broker at a glance.

JSON-aware inspector

Payloads are detected as JSON, numbers, text or binary and pretty-printed. Numeric topics get an instant sparkline.

Clear retained messages

Remove stale retained messages with one click — the client publishes the empty retained payload for you.

Shareable test links

Deep-link a broker and topic (/client?broker=emqx&topic=…) to reproduce a test with a teammate.

How to test MQTT in three steps

  1. Connect

    Choose a broker and press Connect. A green status means the broker accepted your client.

  2. Subscribe

    Subscribe to your own topic prefix — TestMQTT suggests a unique one so you only see your data.

  3. Publish & verify

    Send a message and watch it arrive. Inspect payload, QoS, retain flag and timing.

Read the full guide to testing an MQTT broker →

Public MQTT brokers you can test right now

Connection details for the most popular free MQTT brokers, each one ready to open in the client.

From the makers of TestMQTT

Outgrown the public sandbox?

Public test brokers are shared with thousands of strangers. ConnectMQ gives you a private MQTT broker you can trust with real devices — set up in minutes.

  • Your own isolated broker — nobody else can read your topics
  • Username / password auth and per-topic access control
  • TLS and secure WebSockets, MQTT 3.1.1 and MQTT 5
  • Same client code from first test to production

Frequently asked questions

How do I test an MQTT broker online?

Open the TestMQTT client, choose a broker or enter its secure WebSocket URL, click Connect, subscribe to a topic and publish a message to the same topic. If the message comes back, the broker works.

Is TestMQTT free?

Yes. TestMQTT is free, needs no account and runs entirely in your browser. Connection settings never leave your machine except to reach the broker you choose.

Why does TestMQTT only use WebSockets?

Browsers cannot open raw TCP connections, so any web-based MQTT client has to use the broker’s WebSocket listener (ws:// or wss://). Most brokers expose one, often on ports 8083/8084, 8000/8884 or 443.

Can I connect to a broker on localhost?

Yes, if your broker has a WebSocket listener. Because this site is served over HTTPS, browsers usually require wss://. For local brokers, enable TLS on the WebSocket listener or use a tunnel.

Are public MQTT brokers safe to use?

They are fine for experiments, but everything you publish is visible to anyone. Use unique topic names and never send credentials or personal data. For real devices use a private broker with authentication.