How to reveal (Asterisks) passwords hidden by browser

All browsers have the capability of hiding your password behind asterisks (******) or bullets to prevent your password from stealing and gesturing by someone else. But, sometimes those website who does not have the functionality of show password there we want to ensure that the entered password is correct or not before submitting. There you might want to reveal your password.

In this article, I’ll show you the best two way of revealing passwords without any third party requirement.

Method 1: Using Inspect Element

Inspect element tool allows users to edit all web pages temporarily. With a simple edit in the code of the page, you can reveal any password field on the page. This can be really useful when you occasionally need to view a password. Here’s what you need to do:

  1. Right-click on the password field and select Inspect element from the menu.Reveal hidden password
  2. Change the input field type password to text and hit enter.Reveal hidden password
  3. Then you will see original password in password field.Reveal hidden password

Method 2: Using JavaScript

Another method is using JavaScript, it is complex but faster than previous. You just copy paste the following code in browser address bar.

javascript:(function(){var s,F,j,f,i; s = ""; F = document.forms; for(j=0; j<F.length; ++j) { f = F[j]; for (i=0; i<f.length; ++i) { if (f[i].type.toLowerCase() == "password") s += f[i].value + "\n"; } } if (s) alert("Passwords is:\n\n" + s); else alert("There are no passwords in forms on this page.");})();

The browser will remove javascript: starting part of this script, you have to type it manually.

Reveal hidden passwords

When you will hit enter, password will be shown in a pop-up window.

Reveal hidden passwords

Comments

Be the first to comment