How to Reveal hidden Passwords behind asterisks

HowToRevealHiddenPassword

When we browse any website in our system, we normally save the password which makes our job easy as it’s not required to enter the password again. But, since you are not typing your password anymore, eventually you forget your password after a few days. Now, here is the problem although you can log in to your website you don’t know what is your password. Since, the password field is masked in asterisks for security reasons, even though it is there you can’t see it or don’t know what it is. So, here is the workaround that lets you reveal passwords behind asterisks for the website.

1. Google Chrome:

Option One

1. Open the website in the Google Chrome browser.

2. Right-click in the password field in the browser and click on the “Inspect (Ctrl+shift+I)” option.

Inspect Element

3. The “Web Inspector” section will open up with all the HTML code behind the website.

CodeBehind

4. You need to replace “password” with “text” in the type option. The hidden password behind masked asterisks will be revealed as normal text.

TypetoText

Option two:

The other way is just using JavaScript code, which is quite easy as you need to enter the below code in the address bar and click enter.

Javascript: alert(document.getElementById(‘Passwd’).value);

A window will pop up with the password written on it.

PopUpWindow

2. Internet Explorer:

Option One

1. Open the website in the Internet Explorer browser.

2. Press F12 to bring the “developer tool” section i.e. again the HTML code behind the website. Click on the arrow icon (or Press Ctrl+B) to enable the selection of elements. Now click on the password field, and doing this code for that section will be highlighted in yellow.

3. You need to replace “password” with “text” in the type option. The hidden password behind masked asterisks will be revealed as normal text.

Option two:

The other way to reveal the hidden password behind asterisks is to just enter the JavaScript code below in the address bar and click enter.

alert(document.getElementById(‘Passwd’).value);

A window will pop up on the screen with the password written on it.

3. Mozilla Firefox:

Option One

1. Open the website in the Mozilla Firefox browser.

2. Right-click in the password field in the browser and click on the “Inspect Element” option.

3. The “Web Inspector” section will open up with all the HTML code behind the website. You need to replace “password” with “text” in the type option. The hidden password behind masked asterisks will be revealed as normal text.

Option two:

The other way is using JavaScript code, where you need to create a bookmark with the below code as the URL in it.

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(“Password is:nn”+s);else alert(“No passwords”);})();

Once, done open the site for which you need to reveal the password and click on the saved bookmark. A window will pop up with your password written on it.

Point to remember, if you can use these tricks to reveal the password, others can also use them to see your password. So, you need to be aware and keep your things safe.

You may like to read: How to remove saved passwords from your browser individually

You might also like our TUTEZONE section which contains exclusive articles on how you can improve your life using technology. Trust me, you will be glad that you paid a visit there.

Recommended For You

About the Author: Ranjit Ranjan

More than 15 years of experience in web development projects in countries such as US, UK and India. Blogger by passion and SEO expert by profession.

Leave a Reply