How-to guide

How to generate a strong random password

Press ⌘K with TabCmdr (Ctrl+K on Windows and Linux) and type :pwd for a random 16-character password, or :pwd 24 for 24 characters. Enter copies it.

Quick answer

Copy a new password in three steps

  1. ⌘K

    Step 1

    Open the palette

    Ctrl+K on Windows and Linux. Works on any page.

  2. :pwd 24

    Step 2

    Type :pwd

    Add a length, or leave it at 16.

  3. ↵

    Step 3

    Press Enter

    The password is copied.

Chrome's way

Let Chrome suggest a password

When you create an account, Chrome can fill in a strong password for you and save it to your Google Account.

  1. Sign in to Chrome.
  2. On the site’s sign-up page, select the password box and choose Use strong password. If you don’t see it, right-click the box and choose Generate password.
  3. Check the password and choose Use suggested password.

Source: Google’s Manage passwords in Chrome help page, checked in October 2026.

TabCmdr's way

Make a password with TabCmdr

TabCmdr is a keyboard launcher that lives in your browser. Its :pwd command makes a random password on any page, for anything that needs one: a sign-up form, an API secret or a Wi-Fi network.

Before you start: add TabCmdr from the Chrome Web Store. It has a 7-day free trial and needs no account.

Step 1: Open the palette

Press ⌘+K on a Mac or Ctrl+K on Windows and Linux.

Step 2: Type :pwd

A new 16-character password shows under Password, made from letters, digits and symbols. The left side of the row shows the length it used.

TabCmdr palette with :pwd typed, showing a 16-character password row labelled :pwd 16 with a Copy hint
:pwd on its own gives 16 characters.

Add a length and a letter to change it:

You typeYou get
:pwd16 letters, digits and symbols
:pwd 2424 letters, digits and symbols
:pwd 20 a20 letters and digits
:pwd 12 c12 letters
:pwd 6 n6 digits
:password 2020 letters, digits and symbols

:password is a longer name for :pwd and takes the same length and letter. The row still shows :pwd.

TabCmdr palette with :pwd 24 a typed, showing a password of letters and digits
:pwd 24 a gives 24 letters and digits, with no symbols.

Step 3: Press Enter

TabCmdr copies the password, closes the palette and shows Password copied at the bottom of the page. Paste it with ⌘+V or Ctrl+V. TabCmdr doesn’t keep a copy, so save it in your password manager before you move on.

Try it on your own tabs

Works in Chrome, Edge, Brave, Arc, Vivaldi and Opera.

Install for Chrome

FAQ

Questions about generating passwords

More in the documentation.

How long can the password be?

From 1 to 128 characters. A bigger number, such as :pwd 500, gives 128 characters. With no number you get 16.

Can I leave out symbols?

Yes. Add a after the length for letters and digits only, such as :pwd 20 a. Use c for letters only and n for digits only.

How random is it?

TabCmdr uses the browser’s crypto.getRandomValues(), which gives cryptographically strong random values, to pick each character.

Does TabCmdr save the password?

No. The password is made in your browser and only goes to your clipboard when you press Enter. Save it in your password manager.

Can I type :password instead of :pwd?

Yes. :password works the same way, with the same length and letters, such as :password 20 a.

Which symbols can it use?

These: ! @ # $ % ^ & * ( ) - _ = + [ ] { } | ; : , . < > ?

One shortcut for your whole browser. Stop hunting for tabs.

Free for 7 days Then $3.99 / y No account