HomeDeveloper toolsDatabase Connection String Builder

Database Connection String Builder

Build a URL for PostgreSQL, MySQL, or MongoDB with encoded credentials.

Processing stays in your browser. The URL may contain a password; keep copied output private. TLS, replica sets, sockets, and driver-specific parameters are not configured here. Update the port when changing databases.

How to use the database connection string builder

Build a URL for PostgreSQL, MySQL, or MongoDB with encoded credentials. Complete the database, host, port, database name, username, password (optional) fields above. Choose Run tool, review the output, then copy or download the result.

Example

An @ sign in a password is encoded as %40.

Good to know

The URL may contain a password; keep copied output private. TLS, replica sets, sockets, and driver-specific parameters are not configured here. Update the port when changing databases.