Report

Help us improve this tool

MQTT Topic Matcher

Test MQTT topic filters with + and # wildcards against sample publish topics.

O M T

Test MQTT topic filters against publish topics

MQTT brokers match client subscriptions using topic filters. The single-level wildcard + matches exactly one topic level, and the multi-level wildcard # must appear as the final token and matches zero or more trailing levels. This matcher helps you validate IoT routing rules before deploying firmware or rule-engine jobs.

Wildcard rules (MQTT 3.1.1 / 5.0)

  • +, matches one level only; use between slashes (e.g. sensors/+/temp).
  • #, matches the rest of the topic tree; must be last (e.g. home/#).
  • Topic names are case-sensitive and use / as the level separator.

When designing async APIs, also inspect AsyncAPI documents or debug HTTP payloads with the HTTP Request Replay Sanitizer.

Frequently Asked Questions

Does this connect to my broker?

No. It is an offline pattern checker for filter strings versus sample topic names.

Can I test many topics at once?

Paste one topic per line. Each line is evaluated independently against the same filter.

What about shared subscriptions?

Shared subscription prefixes such as $share/group/ are treated as literal topic text, include them in both filter and topic if your broker uses them.