Initializing, please wait a moment

Generate example passwords that follow the common PCFG base structures - letters, digits, and symbols in the orders real people actually use - and see the structure notation (like L6D2S1) for each one. Pick a specific structure or sample them by real-world frequency, with a strong uniform-random mode included for real use. Everything runs in your browser.

PCFG Password Pattern Generator


This tool builds example passwords that follow the base structures a PCFG password-guessing model learns from real leaked password sets. Pick a structure like L6D2S1 - six letters, two digits, one symbol - or let the tool sample structures by how often they appear, then read the structure label printed beside each generated string.

A PCFG (probabilistic context-free grammar) treats every password as a sequence of character-class segments: L for a run of letters, D for digits, S for symbols. Guessing tools rank these structures by frequency and try the common ones first, which is why "monkey99!" (L6D2S1) falls far faster than its eight-character length suggests. Seeing your own habits written in the L/D/S notation is the quickest way to understand why a longer, patternless password wins.

Eight common base structures

The generator's reference table mirrors widely published analyses of leaked password corpora (rounded, illustrative shares - this tool does not measure a live dataset):

StructureWhat it meansExampleShare
LLetters onlysunshine~34%
LDLetters then digitsletmein123~24%
DDigits only12345678~16%
LDSLetters, digits, then symbolmonkey99!~7%
LSLetters then symboldragon!~5%
DLDigits then letters1qwerty~4%
LDLWord, digits, wordred7car~3%
SLDSSymbol-wrapped word!tiger9#~2%

Three ways to generate

  • Sample common patterns by frequency - the tool picks a base structure weighted by its real-world share, so the mix of examples you see matches how guessing tools prioritize their attempts.
  • Generate from one specific base structure - pick a row from the table above (say LDS) and see several examples that all follow that exact letters-digits-symbol shape, filled with the common digit/symbol choices real people use (1, 123, 2024-2026, !, @).
  • Strong uniform-random password - every character is picked independently from a full letter/digit/symbol pool (ambiguous characters like l/o/0/1 removed), with an entropy-in-bits figure next to the result, for a password meant for real use.

Everything stays on your device

The generator runs entirely in your browser. Every character comes from the Web Crypto secure random generator, nothing is uploaded or logged, and no password is ever sent to a server or checked against any database. For a password you will actually use, switch to the strong uniform-random mode and store the result in a password manager.

← Back to Developer Tools

Related tools:

  • MD5 converter - Text to MD5 + MD5 to text cached lookup.
  • Convert PDF to TEXT online - Extract text from PDF online for copying and editing.
  • Text To HTML Editor - Text to HTML editor online - write in a WYSIWYG view and watch the generated HTML update live, with
  • CSS Gradient Animator Generator - CSS gradient generator - build animated linear gradients with live preview; copy ready-to-paste CSS
  • CSS Minifier - Minify CSS online for faster page loads.
  • CSS UnMinifier - CSS unminifier online - beautify minified CSS with proper indentation, line breaks, and readable
  • JavaScript Minifier - JavaScript minifier online free - paste your JS, click Minify, and copy the compressed code.
  • JSON Parser By Tree View - Paste JSON to validate, format, and view it in a tree.
  • JavaScript UnMinifier - JavaScript unminifier online - reformat minified JS with indentation and line breaks for
  • Keyboard Test - Press each key - the on-screen layout highlights it.
  • Text Diff - Compare code, text, or HTML online, side by side.
  • Developer Tools - Developer tools to parse JSON, minify or unminify CSS/JS, compare text, and generate MD5 hashes.

Tags: #developer

Related guides:

Loading reviews...

Frequently Asked Questions

What is a PCFG base structure?

It is the shape of a password written as character-class segments: L for a run of letters, D for digits, S for symbols, with the number giving each segment's length. For example "monkey99!" is L6D2S1. A password-guessing model learns which structures are most common and tries those first.

Are the example passwords safe to use for my accounts?

No. The pattern examples deliberately follow common, guessable human structures so you can see how quickly a cracking model would reach them. For a real account, switch to the strong uniform-random mode, use at least 16 characters, and store the result in a password manager.

Does anything I generate leave my browser?

No. Every string is created locally with the Web Crypto secure random generator. Nothing is uploaded, logged, sent to a server, or checked against any breach database, so you can run it offline.