Database password generator

Pick a length and character classes — get a strong password, plus its percent-encoded form for a connection string.

Excludes "@", ":", "/", "?", "#", "%", "$", "`", "\", """, "'", "space", "&" — characters that would otherwise need escaping in a connection URI or shell command.

Generated with crypto.getRandomValues. Never logged or sent anywhere.

Runs in your browser. Nothing you type is sent anywhere.

How this works

Do this against your live database in Tablyne.

PostgreSQL GUI →

FAQ

Why not just percent-encode any password? +

You can — the percent-encoded form is shown below the password — but a password free of special characters is one less thing to get wrong when pasting it into a shell script or .env file.

Is crypto.getRandomValues good enough for a password? +

Yes — it's the same cryptographically secure random source browsers use for keys and tokens, unlike Math.random which isn't designed for security.

Does this ever leave my browser? +

No — it's generated, shown and copied entirely client-side. Nothing is logged or sent anywhere.