Web Tools
Connection String Parser
Parse database and service connection strings into their individual components. Supports PostgreSQL, MongoDB, MySQL, Redis, AMQP, and any URI-style connection string. Extracts protocol, username, password, host, port, database name, and query parameters. Runs entirely in your browser — your data never leaves your machine.
database connection url parser postgresql mongodb redis mysql
Published May 31, 2026
All interactive tools run entirely in your browser. Your data never leaves your device.
How It Works
Paste a connection string (e.g., postgresql://user:pass@host:5432/db?sslmode=require) and the parser breaks it into individual components: protocol, username, password, host, port, database, and query parameters. Supports any URI-style connection string format.
Features
- Multi-protocol support: PostgreSQL, MongoDB, MySQL, Redis, AMQP, and any protocol://… format
- Component extraction: protocol, username, password, host, port, database, query params
- Percent-decoding: correctly decodes URL-encoded characters in credentials
- IPv6 support: handles bracketed IPv6 addresses
- Password toggle: show/hide password for security
- Query parameter table: displays all connection options in a clean table
- 5 preset examples: PostgreSQL, MongoDB, Redis, MySQL, AMQP
- Private: all parsing runs in your browser — no data transmitted
Use Cases
- Debugging database connection issues by inspecting connection string components
- Verifying credentials and host/port configuration before deployment
- Converting between connection string formats for different database drivers
- Documentation and onboarding — understanding what each part of a connection string means
- Security auditing — checking what credentials and options are embedded in connection strings