← All Tools

AMQP / RabbitMQ URI Parser & Builder

Decode amqp:// and amqps:// connection strings into scheme, credentials, host, port, virtual host, and query params — or build one from a form. Flags common mistakes like the missing leading / on the vhost, unencoded slashes, or a port that doesn't match the scheme. 100% client-side.

Parsed components

Query params

    Rebuild URI

    amqp://localhost

    Click the URI to copy.

    About AMQP URIs

    Grammar (RabbitMQ URI Spec):

    amqp[s]://[user[:password]@]host[:port][/vhost][?params]

    The virtual host is everything after the first / that follows the host, percent-decoded — including further slashes. To use the default / vhost explicitly, encode it as %2F (writing amqp://host/ means empty vhost, which most clients then map back to /). Default ports are 5672 for amqp and 5671 for amqps. Common query params: heartbeat (seconds), connection_timeout (ms), channel_max, frame_max, auth_mechanism, verify, server_name_indication.

    Copied!