How To: Reveal Saved Website Passwords in Chrome and Firefox with This Simple Browser Hack

Reveal Saved Website Passwords in Chrome and Firefox with This Simple Browser Hack

The number of passwords I have for different websites and emails is easily in the triple digits. And if I had to actually remember all of those individual passwords, I would be locked out of accounts on a daily basis.

That's why I use the "remember my password" feature whenever I can. Nearly all of my passwords are saved in my browser's history, so all I need to do is press enter. But sometimes I forget what's behind those little black dots.

Image via

After you clear your history and delete your cookies, those passwords are no longer saved. So, after months of never having to enter a password, you've forgotten what all of your passwords are!

So, it's important that you keep track of your passwords, otherwise you'll have to create a new one or rack your brain hoping to finally remember what it was.

You could always use a password manager like LastPass and make life easier on yourself in the future, but if you don't like that idea, here's a little trick for Google Chrome and Firefox that will reveal what your saved black-dotted password is.

Revealing Passwords with Inspect Element

In both Chrome and Firefox, you can use the Inspect Element tool to uncover saved passwords on any website.

Simply go to the site where you have a password saved and highlight those little black dots. Once those dots are highlighted, right-click and select the Inspect Element option.

When you click on Inspect Element, you will be able to see the webpage's code. This new frame should appear at the bottom of your browser window.

Since you have already highlighted the part you are interested in, the password section, it will automatically be highlighted, as you can see in the image above. If you just see the black bar in Firefox, you may have to open the Markup Panel, as seen below.

In order to unveil the saved password, you are going to have to alter some text. Locate where it says type ="password".

Select the text password and hit Delete. Now, replace it with the word text.

Now, press Enter. The second you do, the password box that was previously filled with those standard security dots will now show the complete text of whatever password was saved there.

Obviously, this could be used to reveal other people's passwords, too. Like, if your fooling around on your friend's computer, or if some bozo actually saved his/her password on a public computer. Boy, what you could do with somebody else's password!

Other Methods

Believe it or not, but this "Inspect Element" maneuver is just one of the many ways to reveal saved passwords in a browser. The basic approach would be to just ask for them in the preferences. Another trick is using a JavaScript injection, but that's a little more complicated.

Just updated your iPhone? You'll find new features for Podcasts, News, Books, and TV, as well as important security improvements and fresh wallpapers. Find out what's new and changed on your iPhone with the iOS 17.5 update.

Cover image by IBM Systems Magazine


Great One Dude! Well I know little bit about html coding and the inspect element. But I never thought of this one. Thanks...........

just to think if your friend was stupid enough to put there password in you would have it in no time just tried this on the gmail password screen and it works if you got onto a password database you could try to use this.

That's mostly useless.

It does not reveal BASIC AUTH stored passwords: those "pop ups" with fields for username and password

how would you export not-form stored passwords ?

Another way to view a saved password in Firefox is if you have Web Developer Options, right click on the page with said password scroll to Web Develop>Forms>Display Passwords.

Share Your Thoughts

  • Hot
  • Latest