You can extract all the wifi that you already connected to via python, just for Windows OS
I did that by applying some commands to take the clear password.
You can extract the password with Wifi name into a table in HTML and Excel file
You need to download Pandas
you can do that by opening your terminal type:
pip install pandas
pip install openpyxl
Or just by requirements.txt file:
pip install -r requirements.txt
Python 3.8.5