Developer · DEV-13Submit an issue

Database connection string builder

Build properly encoded PostgreSQL, MySQL, MongoDB and Redis URLs.

PostgreSQL / MySQL / MongoDB / Redis
Input
Database type
Output
Usage guide and examples

Work with configuration and network data

Choose PostgreSQL, MySQL, MongoDB or Redis and fill host, port, credentials and database to generate a URI. Special credential characters are encoded. Verify TLS parameters against your driver; this tool does not test a connection.

Check the input format and options with this example before using your own data. Random values, file sizes and presentation vary with the input and settings.

Example input and settings

PostgreSQL · localhost · 5432
user · demo · app

What to check in the result

postgresql://user:demo@localhost:5432/app