About this tool
Build redis:// and rediss:// URLs with database index, ACL username, password and TLS — plus the matching redis-cli command.
This builder assembles a Redis connection URL in the standard redis:// / rediss:// scheme — redis://username:password@host:6379/db — with the logical database index as the path, Redis 6 ACL usernames or legacy password-only AUTH in the userinfo, and rediss:// for TLS. It also emits the matching redis-cli -u command for a quick connectivity test. Passwords are percent-encoded and everything is generated locally in the browser.
Open Redis Connection URL 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.
Handles both Redis 6 username:password URLs and the older :password@ AUTH-only form correctly.
Warns when the index is 16 or higher, which only works if the server raises the default databases 16 setting.
Copies a ready redis-cli -u command so you can verify the URL before wiring it into an app.
redis://[username][:password]@host:port/db — for example redis://:mypass@localhost:6379/0. The default port is 6379, the trailing number is the logical database index (0 if omitted), and rediss:// is the same scheme over TLS. This is the format redis-cli -u and clients like node-redis, ioredis and redis-py accept.
Append it as the path: redis://localhost:6379/2 selects logical database 2. Redis ships with 16 logical databases (indexes 0–15) by default, configurable via the databases directive in redis.conf; note that Redis Cluster only supports database 0.
The extra s means TLS: rediss:// encrypts the connection, exactly like https versus http. Most managed Redis providers only accept TLS connections, so their URLs start with rediss://; plain redis:// sends the password in cleartext and belongs only on trusted private networks.
Put the ACL username before the colon: redis://myuser:mypass@host:6379. Usernames arrived with the ACL system in Redis 6; before that, AUTH took only a password, which the URL form expresses by leaving the username empty — redis://:mypass@host. Connecting as the user named default is equivalent to the legacy form.