$devtoolkit.sh/tools/db-connection-string-parser

DB Connection String Parser

Parse database connection strings into individual fields: host, port, database, username, and options.

Supports: postgres://, mysql://, mongodb://, sqlserver://

Related Tools

FAQ

Which database connection string formats are supported?
PostgreSQL (postgres:// and postgresql://), MongoDB (mongodb:// and mongodb+srv://), MySQL (mysql://), and SQL Server (sqlserver:// and mssql://) are all supported.
Is the password shown in plain text?
Yes — this tool runs entirely in your browser with no server calls. The password is displayed locally so you can copy individual fields, but nothing is ever transmitted.
What are query options?
Many connection strings include parameters after a ? such as sslmode=require or authSource=admin. These are parsed and listed as key-value pairs alongside the other fields.

Paste a database connection string for PostgreSQL, MongoDB, MySQL, or SQL Server and see every component broken out: protocol, username, password, host, port, database name, and query options. Each field is displayed with a copy button for easy use.

/tools/db-connection-string-parserv1.0.0