Safari for Mac: Use AutoFill for credit cards, contacts, and passwords in Safari
With AutoFill, Safari can automatically fill in your credit card information, contact information, passwords, and more. It can automatically fill in information from any contact in Contacts. It can also generate a secure password when you need to create one. Safari highlights autofilled fields in yellow.
Tip: If you set up iCloud Keychain on your Mac and other devices, Safari automatically fills in saved user names, passwords, and credit card info on any of them.
Fill in your credit card info
You can choose from a list of your stored credit cards, or you can add or remove stored credit cards. Safari can autofill your account name, account number, and expiration date. For security, Safari doesn’t store the credit card security code. You must enter it manually each time you use the card on a website.
Fill in info from Contacts
Start typing any name from your Contacts to autofill their details. If a contact has more than one address, email, phone, or other contact info, you can choose from the home, work, or custom address you’ve already entered in their contact card. If you don’t want Safari to autofill information, just keep typing.
Fill in your user name and password
If you previously stored your user name and password for the website, Safari automatically provides the information. Click in the user name field, then choose your user name.
If there’s no stored information for the website, do either of the following:
If another website uses the same user name and password, you can use its stored information. Click in the password field, click the AutoFill Key , then choose Other Passwords. Select the website with the user name and password you want to use, then click Fill.
If the website’s user name and password are unique, store the information so Safari can automatically provide it next time. Enter the user name and password, or generate a password (described below), then click Save Password when asked.
Generate a secure password
When you start to create a new website password, and you have iCloud Keychain set up on your Mac, Safari automatically suggests a unique, hard-to-guess password. If you don’t have iCloud Keychain set up, click in the password field, click the AutoFill Key , then choose Suggest New Password.
Change AutoFill settings
Choose Safari > Preferences, then click AutoFill.
To turn AutoFill off or on, select the information you want to include in AutoFill, deselect the rest.
To change or delete AutoFill information, click Edit next to the information you want to change or delete.
Important: Safari autofills your information for anyone who uses your Mac with your user login. It also autofills your information for anyone who uses your other devices, if those devices and your Mac have iCloud Keychain set up.
For security, set up your Mac to display the login window when it starts up and to require a passcode after sleep or a screen saver begins. Set up your iOS devices to require a passcode to unlock the screen.
User names, passwords, and credit card information are encrypted in your macOS keychain. They’re also encrypted in your iCloud Keychain if it’s set up on your Mac.
If you remove credit card information or user names and passwords in Safari, they’re deleted from your macOS keychain. They’re also removed from your other devices if your Mac and other devices are set up for iCloud Keychain.