To block certain websites on an iPhone, use the built-in Screen Time feature as follows:
- Open the Settings app.
- Tap Screen Time.
- Tap Content & Privacy Restrictions.
- Enable Content & Privacy Restrictions by toggling the switch on.
- Tap Content Restrictions.
- Tap Web Content.
- Choose Limit Adult Websites to block adult sites automatically, and add specific URLs under Never Allow to block particular websites.
Alternatively, select Allowed Websites Only to permit access only to a curated list of websites, blocking all others.
These restrictions apply to all browsers on the iPhone, including Safari, Chrome, and Firefox, and offer control over web content for both adults and children. Additionally, setting a Screen Time passcode can prevent unauthorized changes to these restrictions.