Password-cracking tools like hashcat and John the Ripper
don’t only try words from a list: they can also be told to apply rules to each word — capitalize it,
add a 1 at the end, swap a for @ — to guess the variations people really use. A rule is a chain of
small steps run in order. Build one below, watch each step fire, and see how reordering, adding
or removing a step changes the result. Positions count from 0, in bytes (é is 2 bytes).
Use this only on systems you are authorized to test.
Hashcat syntaxdefaultUnambiguous and the de facto standard. Most published rule lists use it, and
John the Ripper can run it in its hashcat-compat mode, so it's portable.
John's native syntaxspecial casesOnly when hashcat can't express what you need, like pluralization or John's own character classes.
Target:
Paste a .rule file (or a John List.Rules
section) and check every line against a real parser, not a guess. Fix a broken line
inline or in the chain builder, delete what you don't want, then export the cleaned file.
Pick the syntax firstrequiredThe same letter can mean two different things in hashcat versus John's native grammar
(p, R, L,
v, +/-), so a file's
dialect can't be auto-detected. You know which engine it's for — say so below.
Blank lines and commentskeptBlank lines and # comments pass through untouched.
Syntax:
01 Word to transform
02 Rule line
The same rule written as text. It updates as you edit the steps below.Paste or type a rule here to replace the steps.
Fixing row from the rulefile validator.
03 Step chain
Steps run top to bottom, so order changes the output.Use the arrows to move a step and watch the trace change. Hover over a step to see its part of the rule line. Alt+↑/↓ move · Delete remove · Ctrl+Z undo
A reject step doesn't transform the word — it decides whether the word
survives (e.g. "reject unless length ≥ 8"); once one rejects, the chain stops.
Memory steps (M 4 6 X Q) save a copy of the word and use it
again later in the same rule. For example, M u 4 turns abc
into ABCabc. Q rejects the word if it equals the saved copy.
04 Step-by-step trace
05 Batch test
Run the same chain against a list of words, one per line.Use a row's trace button to see how that word changes.
#
Input
Output
06 Rule syntax cheat sheet
Match only the operator itself, not its example or description.
V1 Rulefile input
V2 Diagnostics
#
Rule
Status
Preview (word: )
V3 Export cleaned rulefile
Deleted lines are dropped. Everything else — fixed or untouched — keeps its original order and any comments/blank lines.