About this tool
Build amqp:// and amqps:// connection URIs with vhost, heartbeat and connection timeout parameters, encoded per the RabbitMQ URI spec.
This tool assembles a RabbitMQ connection URI of the form amqp[s]://username:password@host:port/vhost?heartbeat=... following the official RabbitMQ URI specification, which profiles RFC 3986. It is for developers wiring services, workers or CI pipelines to a RabbitMQ broker who need credentials and the vhost percent-encoded correctly, with heartbeat, connection_timeout and channel_max query parameters attached.
Open RabbitMQ AMQP URI Builder on AltFTool — it loads instantly in your browser.
Paste your code or data sample into the workspace.
Pick the format, conversion, or analysis you need.
Copy the polished result straight back into your project.
Userinfo and vhost are percent-encoded per the RabbitMQ URI spec, so the default vhost "/" becomes %2F.
Picks 5672 for amqp and 5671 for amqps automatically, matching the IANA-assigned AMQP ports.
Adds heartbeat, connection_timeout and channel_max as query parameters recognised by the major client libraries.
Because the default RabbitMQ virtual host is literally named "/", and a raw slash in a URI path would read as a segment separator. The RabbitMQ URI spec requires every character outside the RFC 3986 unreserved set to be percent-encoded in the vhost segment, so "/" becomes %2F, as in amqp://localhost:5672/%2F.
amqp uses port 5672 and amqps (AMQP over TLS) uses port 5671; both are IANA-assigned. If a URI omits the port, RabbitMQ client libraries fall back to the default for the scheme, not to a shared default.
It requests the heartbeat interval, in seconds, that client and broker negotiate to detect dead TCP connections. RabbitMQ's server default is 60 seconds; lower values such as heartbeat=30 detect failures faster, and heartbeat=0 disables heartbeats entirely, which is discouraged behind load balancers.
Milliseconds. connection_timeout=10000 tells the client library to abandon the initial TCP connection attempt after 10 seconds. This is distinct from heartbeat, which is expressed in seconds and applies after the connection is established.