MainspringGuides › Spot Phishing
macOS Guide

Show the Full URL in Safari to Spot Phishing

Updated August 2026 · 3 min read

By default Safari shows only a site's name in the address bar — "apple.com" — and hides everything else. That's tidy, but it's exactly the wrong behaviour when you're checking whether a link is a fake. Turn on the full website address and Safari shows the whole URL, so you can read the real domain and catch a phishing page before you type a single character.

Turn on the full address (the reliable way)

Do this inside Safari — it's the route that always works and takes effect immediately:

  1. In Safari, open the menu bar and choose Safari → Settings (or press Cmd+,).
  2. Click the Advanced tab.
  3. Tick Show full website address.

The address bar switches from the short site name to the complete URL — scheme, domain, path, and query string. There's nothing to restart; the change is live. This checkbox exists in the same place on macOS 13 Ventura, 14 Sonoma, and 15 Sequoia.

How to read a URL for fakes

Seeing the full address only helps if you know where to look. Phishing pages count on people misreading it, so learn the one rule that matters:

With the full URL visible, the habit is simple: before entering a password or card number, glance at the address bar and confirm the domain before the first slash is really the company you expect.

Prefer the Terminal? Read this first

The same setting has a preference key, ShowFullURLInSmartSearchField, but on modern macOS Safari's preferences are protected — a plain defaults write won't stick unless Terminal has Full Disk Access (System Settings → Privacy & Security → Full Disk Access) and Safari is fully quit first. Because of that, the Settings checkbox above is the route to use. If you've already granted Full Disk Access and quit Safari, the command is:

# Quit Safari first; Terminal needs Full Disk Access
defaults write com.apple.Safari ShowFullURLInSmartSearchField -bool true

# Undo
defaults write com.apple.Safari ShowFullURLInSmartSearchField -bool false

For almost everyone, the Advanced checkbox is faster and avoids granting Terminal that much access in the first place.

Skip the Terminal and the risk

Mainspring flips "Show full URLs in Safari" as a labelled toggle — no Full Disk Access, no quitting Safari, and reversible in a click. It's one of 90+ hidden macOS settings it makes safe to change.

Try Mainspring free →

Signed & notarized by Apple · 1-day free trial · $29 once

Let Safari flag the obvious fakes too

Reading URLs yourself is the last line; Safari has a first line. Make sure Safari's fraudulent website warning is on so known phishing pages are blocked before you even see them.