
This program is the advanced or you can say GUI version of “See connected wifi passwords using Python“. So if you want to understand the logic of how to see wifi password using Python then we suggest you go to the “See connected wifi passwords using Python”. Where we have explained all about how can we see the previously connected wifi passwords.
So, this is the program where you can see the previously connected wifi passwords just by clicking the buttons, and also you can copy them to clipboard as well.

We are using tkinter
for GUI and pyperclip
to copy the extracted passwords to the clipboard.
Code
from tkinter import * import pyperclip root = Tk() root.geometry("400x400") pass_details = StringVar() myList = [] def see_wifi_pass(): import subprocess global myList data = subprocess.check_output(['netsh', 'wlan', 'show', 'profiles']).decode('utf-8').split('\n') profiles = [i.split(":")[1][1:-1] for i in data if "All User Profile" in i] for i in profiles: results = subprocess.check_output(['netsh', 'wlan', 'show', 'profile', i, 'key=clear']).decode('utf-8').split( '\n') results = [b.split(":")[1][1:-1] for b in results if "Key Content" in b] try: myList.append(i) myList.append("--") myList.append(results[0]) myList.append("|") except IndexError: myList.append(i) myList.append("--") myList.append("") def show_wifi_pass(): pass_details.set(myList) def copytoclipboard(): password = pass_details.get() pyperclip.copy(password) Label(root, text="Gui Wifi Password Checker", font="calibri 20 bold").pack() Button(root, text="Initiate Process Now", command=see_wifi_pass).pack(pady=10) Button(root, text="Show wifi pass details", command=show_wifi_pass).pack(pady=10) Entry(root, textvariable=pass_details, width=50).pack(pady=10) Button(root, text="Copy to clipbord", command=copytoclipboard).pack(pady=10) root.mainloop()
You can copy our code if you are facing any issues while running your code, and below is the output of our code GUI Application To See wifi password in Python:-
Updated Version:
from tkinter import * import pyperclip root = Tk() root.geometry("900x900") pass_details = StringVar() myList = [] def see_wifi_pass(): import subprocess global myList data = subprocess.check_output(['netsh', 'wlan', 'show', 'profiles']).decode('utf-8').split('\n') profiles = [i.split(":")[1][1:-1] for i in data if "All User Profile" in i] myList.append("------------------------") for i in profiles: results = subprocess.check_output(['netsh', 'wlan', 'show', 'profile', i, 'key=clear']).decode('utf-8').split('\n') results = [b.split(":")[1][1:-1] for b in results if "Key Content" in b] try: myList.append("Wifi-->" + i) # myList.append("--") myList.append("Password-->" +results[0]) myList.append("------------------------") except IndexError: myList.append("Wifi-->" +i) # myList.append("--") myList.append("") def show_wifi_pass(): def listToString(s): # initialize an empty string myStr = "" # traverse in the string for ele in s: myStr = myStr + ele + "\n" # return string return myStr myStr = listToString(myList) pass_details.set(myStr) def copytoclipboard(): password = pass_details.get() pyperclip.copy(password) Label(root, text="Gui Wifi Password Checker", font="calibri 20 bold").place(x = 60,y = 50) Button(root, text="Initiate Process Now", command=see_wifi_pass).place(x = 60, y = 90) Button(root, text="Show wifi pass details", command=show_wifi_pass).place(x = 60, y = 130) Entry(root, textvariable=pass_details).place(width=800, height=50, x = 60, y = 160) Button(root, text="Copy to clipbord", command=copytoclipboard).place(x = 60, y = 220) root.mainloop()
Also read:
- Viral Moment: China’s AgiBot X2 Makes History With World’s First Webster BackflipThe news AgiBot’s humanoid X2 just stuck what the company calls the world’s first seamless Webster backflip by a robot, a tightly executed acrobatic front-flip variation more common in parkour than in labs, according to posts circulating on X and robotics channels this week. The clip shows the X2 gathering momentum, swinging through, and cleanly…
- Terminator Rising: Albania Hands Power to AI, Echoing a Nightmare of Human ExtinctionImagine a world where your smart home assistant doesn’t just turn on the lights—it decides you’re a threat and locks you in. That’s the chilling reality Albania just cracked open by appointing Diella, an AI “minister,” to control government decisions. This isn’t some distant sci-fi plot; it’s happening now, in 2025, and it echoes the…
- What Is Albania’s World-First AI-Generated Minister and How Does It Work?Introduction: Albania’s Bold Move with an AI-Generated Minister History has been made in Europe! Albania has just sworn in the world’s first AI-generated minister — and the internet can’t stop talking about it. Meet Diella, a digital “politician” designed by Prime Minister Edi Rama to fight corruption and manage public tenders with zero human bias….
- Does ChatGPT believe in God? ChatGPT’s Personal OpinionIntroduction Since the launch of ChatGPT, users have asked it all kinds of interesting, funny, and even thought-provoking questions. Recently, one user asked ChatGPT to share its personal opinion on the existence of God — without relying on references from religious texts like the Gita, Quran, or Bible. Instead, the request was for a purely…
- ChatGPT vs Human: The Breath-Holding Chat That Ends in “System Failure”People experiment with ChatGPT in countless ways every day. While many rely on ChatGPT and other AI tools for productivity and work, others turn to it purely for fun. Almost daily, new entertaining and funny conversations with ChatGPT surface online, and one such chat is currently going viral on social media. This particular exchange is…