Generate a random password in RunMacro
RunMacro RunnerRunMacro 3.5+
The Random Password command generates a random password of a set length, optionally with letters (guaranteed upper and lower), digits, and special characters.
Dialog & quick setup

- Add a Random › Random Password command.
- Set the length and choose components: letters / digits / special.
- (Optional) enter a result variable. Save.
Options reference
Modes & when to use
RunMacro Runner
Best for
- Create a strong password when signing up.
- Generate a different password per account.
- Combine with saving to a file to record sign-up info.
Use an alternative when
- Do not use it as a secrets manager or before checking the destination password policy.
Before you run
- Add Random Password to the macro.
- Prepare the data or target that Random Password will use.
Example workflow
Example: a 12-char mixed password
- Random Password, length 12, letters + digits + special on.
- Variable
pwd. - Fill
{pwd}in the password field and record it if needed.
Expected result: After execution, Random Password completes the described action and makes its result available to the next step.
Tips & limitations
Save username + password to a file with Save Ref to TXT so you keep the sign-up info.
- Output is placed on the clipboard; short lengths may not satisfy every character class and there is no secure store.
Applies to RunMacro 3.5+ · RunMacro Runner · Windows 10/11
