Before we proceed: You must have a rooted device for this method.
I know most of the Android device users cannot share the Wi-Fi passwords with their friends. It is so much annoying. This is because of the privacy and I think it is necessary in some cases. Nowadays smartphone users are stuck in the limited internet data plans. It is hard to download anything with those plans. But in some case, Wi-Fi can solve his problem. There are many cases where when you ask your friend for the Wi-Fi password and he/she takes a mobile phone and enters by his/her self. You cannot even think about the password because you have no hints. So you cannot share that network with the other mobile phones.
But definitely, there is one application that will surely help you to get rid of this problem. The name of this application is “[OREO] Wifi QR Code Creator” which allows you to share the Wi-Fi password just by converting it into the QR code. I have attached download link below. So you do not have to do the efforts to find it out.
[appbox xda tk.superl2.xwifi]
To run this application on your Android device your device must be rooted. If it is not, I suggest you to first root your device properly and then come back again to proceed further. Most of the applications nowadays deliver even more features in the rooted device.
All you have to do is just download this application from the Play Store and install it. Once you will open, you will see all of the Wi-Fi networks which are saved on your device as well as the network to which you are connected. All you have to do is just tap on the Wi-Fi name that you want to share with your friends. The application itself will make a QR code of that Wi-Fi network. Now anyone can scan this and connect to that Wi-Fi network.
The process is super easy to follow. There is nothing to worry about if you make any mistake.