Whatever the reason for needing to know how to share your Wi-Fi password, being able to just share it instead of reading out a long string of capitalized and non-capitalized letters and numbers over and over again to multiple people is a much better, not to mention quicker, option.
Important Note: For this to work, make sure you have completed the following steps:
All devices involved must be updated to the latest version of iOS, iPadOS, or macOS.
Wi-Fi is turned on.
Bluetooth is turned on.
All parties are signed into iCloud with their Apple ID.
All parties’ email addresses connected to their iCloud accounts are saved in all parties’ Contacts.
All parties’ devices are nearby, within Bluetooth and Wi-Fi range.