A friend visits with a new phone, or you buy a smart speaker and suddenly need your router password—which you typed into your Ubuntu laptop six months ago and promptly forgot. Most online Linux guides tell you to open a Terminal window and dig around inside hidden root files, even though Ubuntu already lets you view saved passwords cleanly in its regular Settings menu.
In fact, newer releases of Ubuntu even display a handy Wi-Fi QR code right next to the password so guests can point their iPhone or Android camera at your laptop screen and join in two seconds without typing a single character.
Reveal Your Current Wi-Fi Password Using Ubuntu Settings
Checking the password for the network your Ubuntu computer is currently using takes just four clicks.
- Click the System Menu in the top-right corner of the Ubuntu top bar and open Settings.
- Click Wi-Fi in the left-hand sidebar.
- Click the small Settings gear icon next to the green connected Wi-Fi network name.
- Click the Security tab along the top of the pop-up window.
- Tick the small Show password box (or click the eye icon) to reveal your plain Wi-Fi passphrase straight on screen.
Share Your Wi-Fi Instantly With a QR Code (Ubuntu 24.04+)
Typing a 20-character random router code onto a phone keypad is error-prone. On modern Ubuntu desktops using GNOME, your laptop can show guests a scannable QR card instead:
- Open Settings → Wi-Fi as before.
- Look beside your connected Wi-Fi network name (or click the QR code button inside the Wi-Fi header/share area) to open the Share Wi-Fi window.
- Ask your friend to open the regular Camera app on their iPhone or Android phone and point it at the QR square on your laptop screen.
- They simply tap the pop-up banner to connect immediately without reading out letters or numbers.
Check Passwords for Older Wi-Fi Networks You Are Not Connected To
Need the password for your parents’ router, hotel room, or office Wi-Fi saved last month while you are currently connected somewhere else? Ubuntu stores every previously joined network in the same panel.
- In Settings → Wi-Fi, click the three-dot menu button in the top-right corner of the Wi-Fi window (or scroll down to Saved Networks / Known Wi-Fi Networks on recent Ubuntu versions).
- Select Known Wi-Fi Networks from the menu.
- Find the old network name, click its Settings gear icon, open the Security tab, and tick Show password.
Notice that Ubuntu may prompt for your regular laptop login password before revealing saved credentials on shared accounts, keeping your network passphrases protected while remaining completely effortless when you actually need them.