Safari

On this page 7

Safari is the built-in web browser of macOS, developed by Apple on the WebKit rendering engine and the JavaScriptCore JavaScript engine, and integrated with system services such as iCloud, the Passwords app, Handoff and Apple Pay. Among macOS apps & services, it is the default way to browse the web on a Mac and the reference environment for how websites behave across Apple devices.

Safari’s distinctive design priorities are privacy protection, energy efficiency and tight integration with the Apple ecosystem. It shares its engine with Safari on iPhone and iPad, which means that a site tested in Safari on a Mac usually renders in the same way on other Apple devices.

How Safari is built

Safari is a multi-process browser. The user interface runs in one process, while web content runs in separate sandboxed web content processes, and networking and graphics have their own processes. A crashed or misbehaving tab therefore rarely affects the rest of the browser.

ComponentFunctionPractical effect
WebKitParses HTML and CSS and lays out pagesDetermines how sites look
JavaScriptCoreRuns JavaScript with tiered compilationAffects web app speed
Web content processSandboxed rendering of a siteLimits damage from malicious pages
Network processHandles connections, cookies and cacheApplies privacy rules centrally
Web InspectorDeveloper tools for debuggingInspect, profile and debug pages
Main components of Safari

Because Safari is part of the operating system, updates arrive with macOS updates. Apple also ships Safari updates for the previous macOS releases for a time, and offers Safari Technology Preview as a separate app for testing upcoming web features.

Privacy and security features

Safari has been a leader in default privacy protections. Its most important mechanism, Intelligent Tracking Prevention, uses on-device classification to limit cross-site tracking by restricting third-party cookies and other storage used to follow users between sites.

FeatureWhat it doesRequirement
Intelligent Tracking PreventionBlocks third-party cookies and limits tracker storageOn by default
Fingerprinting protectionPresents a simplified system configuration to trackersDefault in Private Browsing
Locked Private BrowsingRequires authentication to reopen private windowsRecent macOS versions
Link tracking protectionRemoves known tracking parameters from linksPrivate Browsing and selected cases
iCloud Private RelayHides IP address and encrypts DNS trafficiCloud+ subscription
Passkeys and passwordsAutofill from the Passwords app and keychainiCloud Keychain optional
Key Safari privacy and security features

Safari also shows a Privacy Report with the trackers it prevented from profiling the user. Security features include fraudulent website warnings, automatic HTTPS upgrades where available, and sandboxing that relies on macOS protections such as SIP and the Hardened Runtime.

Productivity and ecosystem features

Safari connects browsing across devices through iCloud and Continuity. Tabs, bookmarks, reading list items and tab groups sync between Mac, iPhone and iPad, and Handoff lets a user continue a page on another device.

  • Profiles separate history, cookies, extensions and tab groups, for example for work and personal browsing.
  • Tab groups save sets of tabs by project and can be shared with other people.
  • Web apps can be added to the Dock, opening a site in its own window with its own settings.
  • Reader removes clutter from articles, and Highlights surface key information on a page.
  • Safari extensions use the WebExtensions model and are distributed through the App Store.

Safari is also known for battery efficiency on Mac laptops. Apple optimizes video playback, background tab behavior and rendering for its own hardware, which usually gives Safari longer battery life than other browsers in comparable use, although the difference depends on the workload.

Safari compared with other Mac browsers

On the Mac, users can freely choose another browser, and many do so for extension catalogs or cross-platform sync. The engine is the main technical difference, because it decides how websites render and which web features are available.

BrowserEngineStrengthTrade-off
SafariWebKitPrivacy, efficiency, Apple integrationSmaller extension catalog
ChromeBlinkLarge extension catalog, Google syncHigher resource use
FirefoxGeckoIndependent engine, customizationLess Apple integration
EdgeBlinkMicrosoft account syncTies to Microsoft services
Safari and common alternatives on macOS

Web developers treat Safari as an essential test target, because WebKit sometimes implements features at a different pace than Blink or Gecko. A site that works only in Chromium-based browsers usually relies on a feature that is missing or behaves differently in WebKit.

The role of WebKit differs by platform. On the Mac, other browsers ship their own engines, so choosing Chrome or Firefox really changes how pages render. On iPhone and iPad, alternative browsers have long been required to use WebKit, with exceptions now allowed in the European Union. For this reason, Safari compatibility is effectively compatibility with most Apple users, regardless of the browser icon they tap.

Settings, troubleshooting and common mistakes

Most Safari problems come from website data, extensions or outdated system versions. The browser’s settings window offers per-site controls for camera, microphone, location, pop-ups and automatic playback.

SymptomLikely causeFix
Site loads incorrectlyStale cache or site dataRemove data for that site in privacy settings
Sudden slowdownsFaulty or heavy extensionDisable extensions one by one
Login loops on a siteBlocked third-party cookiesUse the site’s direct login or check its support
Developer tools missingDevelop menu hiddenEnable web developer features in advanced settings
Missing new featuresOld macOS or Safari versionUpdate macOS through Software Update
Typical Safari problems and fixes

A common mistake is disabling tracking prevention to fix a single broken site. That weakens privacy everywhere; a per-site data reset or a separate profile solves the problem with far less impact.

In simple terms

Safari is the app every Mac uses to open websites. It comes with the system and is updated together with macOS. It works closely with your iPhone and iPad, so open pages and saved passwords follow you.

Its main focus is protecting your privacy. It quietly stops many advertising trackers from following you from site to site. It also saves battery on a laptop compared with many other browsers.

A practical example

A freelance designer uses one MacBook for client work and personal browsing. She creates two Safari profiles: a work profile with project tab groups, client logins and a time-tracking extension, and a personal profile with shopping and streaming sites. Each profile keeps its own cookies and history, so client dashboards never mix with personal accounts.

She also adds the client’s project-management site to the Dock as a web app, which opens in its own window. When a client reports a layout problem on iPhone, she reproduces it in Safari on the Mac and debugs it with Web Inspector, because both use the same WebKit engine. The fix is ready the same afternoon.