Android - How to retrieve saved password in Google Chrome for Android?
In Windows, if you open Manage password in Chrome, then it asks for a master password (i.e. Windows Admin password) to view and manage your passwords. But that's not the case in Android. So for security purposes, Chrome for Android doesn't reveal the password.
From Greenbot: Saving your passwords to your device presents some obvious security issues. Although Chrome won’t show your password, all bets are off If someone gets ahold of your phone—they’ll be able to log into any account that Chrome remembers. If you choose to have Chrome remember your passwords, you’ll also want to set a passcode on your phone—or better yet, encrypt your device—to reduce the risk of your Internet accounts falling onto the wrong hands.
Based on this help link, to manage you password in Chrome browser for Android,
- Open the Chrome app.
- Touch Chrome menu Menu.
- Touch Settings > Save passwords.
- Touch the link for Manage saved passwords in your Google Account.
However, following the above steps only reveals the username and the website URL and you can delete the password but not view it. In order to manage/view your passwords from any device/browser, visit https://passwords.google.com and re-enter you Google account password to login and to view all your saved passwords (except your currently signed in Google account password won't be displayed) if,
- you’ve signed in to Chrome and saved passwords or
- you’re using Google Smart Lock for Passwords on Android
Click on the specific website and select the eye symbol to reveal the password for that particular site.
Update:
If you are having a rooted device, you can try Firelord's answer too.
Note: This method requires root access.
The credentials of the websites that you allowed Chrome to save are stored in the file Login data
which is located inside the data directory of Chrome i.e. /data/data/com.android.chrome/app_chrome/Default/
. Certainly, no app or even ADB can access that location and neither Chrome has any provision through GUI to access them, so non-rooted devices are at quite a loss. Lucky's solution should help in that case.
Anyhow, for a rooted device, simply pull that file (an SQLite database) into PC and open it in an SQLite viewer like DB Browser for SQLite. You may also open that file in a text viewer (know that the formatting wouldn't be pleasing if you do that and a bit incomprehensible too) or in an SQLite viewer app like SQLite Editor or aSQLiteManager or the command-line sqlite3.
The table logins
has the credentials.
Another way to do this (e.g. if you use a sync password and passwords.google.com is not an option) is by turning debug mode on, inspecting the tab, and printing the value of the field at the console (e.g. document.getElementById('passwordFieldID').value;)
Link for remote debugging: https://developer.chrome.com/devtools/docs/remote-debugging