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

Test a public MQTT broker

Pick a broker and connect to it in the browser client — no install.

  • HiveMQ Public Brokerwss://broker.hivemq.com:8884/mqtt
    Test
  • EMQX Public Brokerwss://broker.emqx.io:8084/mqtt
    Test
  • Eclipse Mosquitto Test Serverwss://test.mosquitto.org:8081
    Test
  • Eclipse Projects Brokerwss://mqtt.eclipseprojects.io:443/mqtt
    Test
Public brokers are shared and best-effort — don’t send real data.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.

All free MQTT brokers · Compare MQTT brokers side by side →

From the makers of TestMQTT

Outgrown the public sandbox?

Public test brokers are shared with thousands of strangers. ConnectMQ gives you a managed, 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

Learn MQTT

Practical guides for developers working with MQTT and IoT messaging.

All MQTT guides →

YouTube

Popular MQTT videos

Short, hands-on walkthroughs from the TestMQTT YouTube channel — each one ends with a live broker test.

How to Test an MQTT Broker in Your Browser (Free Online MQTT Client)

4:02 · Read the guide

ConnectMQ Public MQTT Broker Test: Connect, Subscribe & Publish in Your Browser

2:10 · Read the guide

Zigbee2MQTT Setup: Connect Zigbee Devices to Any MQTT Broker (Live Test)

2:55 · Read the guide

Home Assistant MQTT Setup: Mosquitto Broker, Integration & Discovery (Live Test)

2:59 · Read the guide

All videos · Subscribe on YouTube

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 in your browser. Your MQTT username, password and message contents are never stored. We log page views and playground activity (such as which broker you connect to) — see our privacy policy.

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.