"iOS 7.1.1 or later:
1. Go to Settings > Safari > Passwords & Autofill > Saved Passwords.
2. Tap the website whose password you want to view.
3. Enter your device passcode.
OS X Mavericks v10.9 or later:
1. Choose Safari > Preferences, then click Passwords.
2. Select the website whose password you want to view.
3. Select the Show passwords for selected websites.
4. Enter your system password."