What it does
Paste a connection string and the tool works out which provider it belongs to, splits it into fields, explains each keyword and flags settings that cause trouble. You can also pick a provider and build a connection string from scratch in the form.
Supported: SQL Server (Microsoft.Data.SqlClient), PostgreSQL (Npgsql), MySQL / MariaDB (MySqlConnector), SQLite (Microsoft.Data.Sqlite), Redis (StackExchange.Redis configuration strings), RabbitMQ (amqp:// / amqps:// URIs) and MongoDB (mongodb:// and mongodb+srv://).
Notable features
- Synonyms resolved:
Server,AddressandData Sourceare the same keyword, as areDatabaseandInitial Catalog. Unknown keywords are flagged, with a “did you mean” suggestion. - ADO.NET quoting rules: values containing
;or quotes are quoted the wayDbConnectionStringBuilderexpects, and parse errors give a line and column. - Lint:
TrustServerCertificate=trueagainst a remote server,Encrypt=false, a missingApplication Name,User IDalongsideIntegrated Security, theguestRabbitMQ user on a remote host,abortConnectleft at its default, unencoded@in a MongoDB password, and more. - URL conversion:
postgresql://,mysql://andredis://URLs (as given by many cloud hosts) become the keyword form the .NET drivers expect. - Outputs: normalized string,
appsettings.jsonsnippet, environment variables (ConnectionStrings__Name), and C# code usingSqlConnectionStringBuilder,NpgsqlConnectionStringBuilder,ConfigurationOptions,ConnectionFactoryorMongoClientSettings.
How to use it
Paste the string (or press Example), read the warnings, then edit fields in Edit & build; the input updates as you type. Choose an output tab and copy or download it. Tick Replace password with placeholder before sharing the output.
Privacy
Everything runs in your browser. Passwords are masked on screen until you press Show passwords, and the connection string you paste is never saved to local storage or sent anywhere.