PostgreSQL Password

生成适合 PostgreSQL 的随机密码;SCRAM 友好模式避开空格、引号等易冲突字符,便于 scram-sha-256 认证。

What Is the PostgreSQL Password Generator?

The PostgreSQL password generator creates random passwords in batches for PostgreSQL users, with modes such as alphanumeric, alphanumeric with symbols, SCRAM-friendly, hexadecimal, and Base64URL, and lengths from 8 to 64. The SCRAM-friendly mode skips characters like spaces and quotes that can conflict, making the output ready for scram-sha-256 authentication.

Key Features

  • Five modes: alnum, alnum_sym, SCRAM-friendly, hex, and Base64URL
  • Lengths of 8 / 12 / 16 / 24 / 32 / 64 characters
  • Generate 1 to 50 passwords at once for batch user creation
  • SCRAM mode excludes spaces and single/double quotes that may conflict
  • Cryptographically secure random generation

Use Cases / Notes

Ideal for setting strong passwords for PostgreSQL database users, especially with scram-sha-256 authentication. Passwords are generated locally in your browser and never uploaded.

How to Use

  1. Choose a length and mode, then set how many passwords to generate
  2. Click Generate to get the random password list
  3. Click Copy and use the results in CREATE ROLE / ALTER ROLE statements