Database URL Builder

Build and parse connection strings for PostgreSQL, MySQL, MongoDB, Redis, SQLite, and SQL Server. Credentials are percent-encoded automatically.

Credentials are percent-encoded automatically. Leave the password empty to omit it.

Advanced query parameters

Optional key/value pairs appended to the connection string, such as sslmode, authSource, or connect_timeout.

postgresql://postgres@localhost:5432/postgres

About

  • Build connection strings for PostgreSQL, MySQL, MongoDB, Redis, SQLite, and SQL Server
  • Percent-encode usernames and passwords containing @, :, /, #, or spaces
  • Parse an existing connection string and load its components back into the builder
  • Toggle TLS presets, mongodb+srv, Redis database indexes, and custom query parameters
  • Generate a ready-to-paste .env snippet with an escaped value and configurable variable name
  • 100% client-side processing; credentials never leave the browser

FAQ

Tags: databaseurldeveloper

Related Tools