How To View A Password Behind The Asterisks In a Browser

by Mahesh Makvana

When you’re on a website whose login details are saved in your browser, the browser automatically fills-in both the username and password fields for you. You may have noticed this behavior while visiting a website where you hold an account. While the username is clearly visible, the password is hidden behind asterisks.

It’s common for browsers not to reveal your passwords, otherwise the person sitting next to you will find out what the password is. However, if you’ve made sure no one’s around you and you want to see the password behind the asterisks, here are several ways to do it in your browser.

Table of Contents

    Reveal Passwords Behind Asterisks Using Inspect Element

    Whether you’re a beginner in HTML coding, an expert at web development, or you know zip about HTML, you can still use the inspect element tool to reveal your passwords.

    The tool helps reveal the source code of the selected elements in your browser so you can make changes to the code. Any changes made to the code will reflect on the site in real-time.

    Thanks to this real-time change feature, you can use inspect element to find out what’s hiding behind the asterisks. Here’s how you do it.

    This should work in all the popular browsers including Chrome and Firefox.

    Use JavaScript To View The Passwords Behind Asterisks

    If you don’t want to make changes to a code each time you want to reveal a password, you can use JavaScript that’ll do the job for you in a single-click.

    Although the JavaScript to reveal passwords can be run manually from the address bar, you may want to add it to the bookmarks bar so it’s then just a matter of a single-click to execute 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("Here are your passwords:\n\n" + s); else alert("No passwords were found on the page.");})();

    Since it’s JavaScript, it should work in all browsers that support Java.

    Use Browser Extensions To View Passwords

    There are extensions as well that let you view the passwords behind asterisks in your browsers. These are easier to use than any other methods and all you need to do is install them in your browser.

    Chrome users can use the Show Password extension to reveal the passwords. Opera users have the Show Password extension available for them. Mozilla Firefox has Show/hide passwords extension to quickly show and hide your passwords.

    View Saved Passwords In Chrome And Firefox

    As you may already know, what you’ve got behind the asterisks are the passwords saved in your browsers. If you could reveal these passwords in the browser itself, you won’t have to use any methods to turn asterisks into passwords.

    Here’s how you view your saved passwords in Chrome and Firefox:

    Access Saved Passwords In Chrome

    View Saved Passwords In Firefox

    You can also remove specific or all the passwords from your browser using this panel.

    Exit mobile version