Connection String Builder & Parser

Paste any connection string: see every field, catch risky settings, rebuild it cleanly.

Runs locally · nothing uploaded
Connection string
    Fields
    KeywordValueMeaning
    Edit & build

    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, Address and Data Source are the same keyword, as are Database and Initial Catalog. Unknown keywords are flagged, with a “did you mean” suggestion.
    • ADO.NET quoting rules: values containing ; or quotes are quoted the way DbConnectionStringBuilder expects, and parse errors give a line and column.
    • Lint: TrustServerCertificate=true against a remote server, Encrypt=false, a missing Application Name, User ID alongside Integrated Security, the guest RabbitMQ user on a remote host, abortConnect left at its default, unencoded @ in a MongoDB password, and more.
    • URL conversion: postgresql://, mysql:// and redis:// URLs (as given by many cloud hosts) become the keyword form the .NET drivers expect.
    • Outputs: normalized string, appsettings.json snippet, environment variables (ConnectionStrings__Name), and C# code using SqlConnectionStringBuilder, NpgsqlConnectionStringBuilder, ConfigurationOptions, ConnectionFactory or MongoClientSettings.

    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.