← back to flaviocopes.com

Connection string builder

← All tools

Paste a connection URL to split it into editable fields — or fill the fields and copy a built string. Postgres, MySQL, and SQLite.

Privacy — Connection strings often contain passwords. Everything runs in your browser; your data never leaves this page. Do not share screenshots with credentials visible.
~~~

Presets

~~~

Connection fields

Built connection string

Parses standard URI formats (postgres://, mysql://, sqlite:). Some ORM drivers use keyword=value strings — convert those manually or paste the URI form your host provides.

~~~

About this tool

Connection strings are easy to get wrong — wrong port, missing SSL mode, encoded special characters in passwords. Build from fields when setting up a new app, or paste an existing URL to see the parts broken out.

Presets cover common local Postgres, Docker, Supabase/Neon-style hosted Postgres with sslmode=require, SQLite file paths, and local MySQL. Always rotate credentials you pasted into a browser tab, even on a trusted site.

~~~

Read more