Recover Hidden Password in Browser

Sometimes we might forget our password, but it is stored in our browser. The password is hidden as “dots” so we cannot get its value directly. Even the trick "copy and paste to a text file" doesn’t help here.

Password Hidden by Dots

To recover our password, we need to do a little bit HTML hacking here. Let’s use Chrome as example.

First, right click and select Inspect Element. (Click on the image for details.)

Right Click and Inspect Element

Find out the section which describe the password input block. (Click on the image for details.)

Password Input Block

Change the value of the type from password to text. (Click on the image for details.)

type="text"

Welcome home, password!!

Password Shown as Text