macOS: Share a Link That Jumps to a Specific Line on a Webpage - MacRumors
Skip to Content

macOS: Share a Link That Jumps to a Specific Line on a Webpage

by

Sometimes when you share a webpage link with someone, you just want to bring their attention to a specific passage or sentence to make your point, rather than have them read through the entire article.

safari icon blue banner
In 2020, Google added a function to its Chrome browser called Scroll to Text Fragment (STTF) that helps you achieve this. It allows URLs to link directly to any visible text on a page. You may have seen it work in Google Search, where clicking on a link in your returned results takes you to a highlighted passage of text further down the page.

Google later added the feature to the Chromium codebase, so most other popular Chromium browsers like Edge, Opera, Brave, and Vivaldi also support it. Here's how it works.

Copy Link With Highlight in Safari

Apple added full support for text fragment links in Safari 18, and the feature is available in Safari on macOS Sequoia and later. To use the feature, visit a web page and simply highlight the text you want to create a link to, then right-click (Ctrl-click) and choose Copy Link with Highlight from the dropdown menu.

safari

The "Copy Link to Highlight" option

This will generate a special URL that includes a hash (#) symbol and "text" element, followed by a few words that bookend the selected text. All you need to do is share the link with someone, and when they click it they will be sent directly to that part of the webpage with the specific passage highlighted, as shown below.

highlighted text shared safari

The shared link as the recipient sees it

That's all there is to it. The Copy Link to Highlight option is also available in Safari on iPhone and iPad, though we have found it to be buggy and inconsistent in iOS 26.3. Hopefully Apple can fix it soon. At least on Mac, it makes it easier for you to direct the recipient of the link to the content you actually want them to focus on.

Bear in mind that the look of highlighted text can differ depending on whether the page author has styled it to look a certain way. Also, text fragment linking does not work in PDFs. Since July 2025, Copy Link to Highlight has also been introduced in Firefox.

Tag: Safari

Top Rated Comments

NightFox Avatar
10 months ago
I will mentally add this to my 'useful things that I won't be able to remember how to do when I eventually want to do them' list
Score: 9 Votes (Like | Disagree)
GtrDude Avatar
10 months ago
This was available on Microsoft IE since about when the internet was invented.
Glad to know though that we're only 6 years behind Google.
Score: 6 Votes (Like | Disagree)
DrwMDvs Avatar
10 months ago
How do we remove the highlighted text once we visit the link? It can be pretty jarring when you're trying to read through it.
Score: 5 Votes (Like | Disagree)
TuffLuffJimmy Avatar
10 months ago

This was available on Microsoft IE since about when the internet was invented.
Glad to know though that we're only 6 years behind Google.
Not the way it’s implemented here. It was possible to #link specific sections of an html document as long as the page was created with that in mind. This, however, allows one to link to a specific line even if the page was not written with this in mind.
Score: 4 Votes (Like | Disagree)
10 months ago

This was available on Microsoft IE since about when the internet was invented.
Glad to know though that we're only 6 years behind Google.
I can't find any reference to this in old IE docs, and I don't remember ever seeing it (other than by using standard HTML anchor links, which didn't highlight anything, and which all browsers did and do support). But I'll take your word for it.

Until it's a W3C standard it's a bit of a risk adding it at all, and I'm kind of surprised they have. I guess they figured it's been in the CSS4 draft spec for long enough at this point.
Score: 4 Votes (Like | Disagree)
10 months ago
I’m annoyed by this as often as I’m helped by it. Half the links from Google that I copy have this text when I don’t want it, and Apple always thinks the last part of the link is a word to check the spelling on, so it takes 5-10 taps just to remove the part of the link I don’t want.
Score: 3 Votes (Like | Disagree)

Popular Stories

Switch to Safari

Apple Explains Why Chrome Users Should 'Switch to Safari'

Tuesday October 13, 2026 5:29 am PDT by
Apple has launched a new "Switch to Safari" marketing campaign that encourages Chrome users to switch to Safari as their web browser of choice on the Mac. "Safari is a more powerful and private browser than Chrome," says Apple. Apple has a new "Switch to Safari" page on its website that outlines more than 10 reasons that Chrome users should switch to Safari, including faster performance...
safari iphone duo webkit

Apple Wants to Fix Safari's Cramped Layout on iPhone Duo

Saturday October 24, 2026 9:58 pm PDT by
Apple is considering changes to Safari on the iPhone Duo that would give websites access to more of the outer display, although the company has yet to settle on an approach. The challenge is allowing pages to occupy the area beneath Safari's side-mounted controls without making parts of a website inaccessible. In an Friday, October 23 WebKit post, Apple's Jen Simmons explained that an...
Switch to Safari

Apple Addresses Web Security Threat, Working on macOS Update With Additional Fix

Sunday October 25, 2026 4:07 pm PDT by
Earlier this month, a security researcher discovered that private cryptographic keys associated with eight of Indian company eMudhra's intermediate certificate authority (CA) certificates were weak. The compromised keys could have allowed attackers to impersonate legitimate websites, potentially putting users' sensitive information at risk. However, there is currently no evidence that the keys...
Latest Stories
Apple Releases Safari Technology Preview 256 With Bug Fixes and Performance Improvements
Apple Releases Safari Technology Preview 256 With Bug Fixes and Performance Improvements
49 minutes ago
Apps Can Now Try to Stop You From Canceling Subscriptions
Apps Can Now Try to Stop You From Canceling Subscriptions
1 hour ago
'Super Mario Odyssey' Can Now Run on Apple TV Thanks to AI
'Super Mario Odyssey' Can Now Run on Apple TV Thanks to AI
2 hours ago
How 'Resident Evil' Director Zach Cregger Uses His iPhone to Make Movies
How 'Resident Evil' Director Zach Cregger Uses His iPhone to Make Movies
3 hours ago
HomePod Mini 2's Amount of RAM Confirmed
HomePod Mini 2's Amount of RAM Confirmed
3 hours ago
Apple TV's '12 Days of Snoopy' Special Arrives November 13
Apple TV's '12 Days of Snoopy' Special Arrives November 13
4 hours ago
Apple is Putting Employees on an AI Budget
Apple is Putting Employees on an AI Budget
5 hours ago
Apple Releases Xcode 27.3 Beta With Three New Features
Apple Releases Xcode 27.3 Beta With Three New Features
6 hours ago
Apple Will Check Public iCloud Links for Harmful Content Starting in iOS 27.3
Apple Will Check Public iCloud Links for Harmful Content Starting in iOS 27.3
6 hours ago
macOS 27.3 Brings Live Activities to Macs Without Dynamic Island
macOS 27.3 Brings Live Activities to Macs Without Dynamic Island
8 hours ago
Apple TV Reportedly Planning 'Silo' Spinoff
Apple TV Reportedly Planning 'Silo' Spinoff
8 hours ago
Is It Worth Buying a Titanium Apple Watch?
Is It Worth Buying a Titanium Apple Watch?
9 hours ago
macOS 27.3 Includes an Important Security Fix
macOS 27.3 Includes an Important Security Fix
9 hours ago
Massive Sale Hits Apple Watch Ultra 3 With Record Low $250 Discounts
Massive Sale Hits Apple Watch Ultra 3 With Record Low $250 Discounts
10 hours ago
Does HomePod Mini 2 Have Improved Sound? Here's What Reviews Say
Does HomePod Mini 2 Have Improved Sound? Here's What Reviews Say
10 hours ago
macOS 27.3 Makes Markdown Files Easier to Read
macOS 27.3 Makes Markdown Files Easier to Read
11 hours ago
HomeView Pre-Order Returns to $289.99 on Amazon
HomeView Pre-Order Returns to $289.99 on Amazon
11 hours ago
Apple May Phase Out Non-Touch High-End MacBook Pros
Apple May Phase Out Non-Touch High-End MacBook Pros
12 hours ago
Apple's Insider Trading Policy Now Covers Prediction Markets
Apple's Insider Trading Policy Now Covers Prediction Markets
12 hours ago
'Stick' Season 2 Premieres Today on Apple TV
'Stick' Season 2 Premieres Today on Apple TV
13 hours ago
iPhone 18e Rumored to Focus on Chip Upgrade With Few Major Changes
iPhone 18e Rumored to Focus on Chip Upgrade With Few Major Changes
13 hours ago
Google Maps Updated to Fully Support iPhone Duo Displays
Google Maps Updated to Fully Support iPhone Duo Displays
13 hours ago
Everything New in the iOS 27.3 Beta
Everything New in the iOS 27.3 Beta
1 day ago
Apple Music's New Selfie Sing Feature Lets You Record Karaoke Videos
Apple Music's New Selfie Sing Feature Lets You Record Karaoke Videos
1 day ago
iPhone Jailbreak Gets Past Lockdown Mode and Survives an Update
iPhone Jailbreak Gets Past Lockdown Mode and Survives an Update
1 day ago
iPadOS 27.3 Expands Siri Mode to Camera App
iPadOS 27.3 Expands Siri Mode to Camera App
1 day ago
Veterans Day Apple Watch Activity Challenge Launches November 11
Veterans Day Apple Watch Activity Challenge Launches November 11
1 day ago
Best Early Black Friday Mac Deals: Save Hundreds on MacBook Air, Mac Mini, and More
Best Early Black Friday Mac Deals: Save Hundreds on MacBook Air, Mac Mini, and More
1 day ago
Apple Fitness+ Gets Gym Strength Plans in iOS 27.3
Apple Fitness+ Gets Gym Strength Plans in iOS 27.3
1 day ago
iOS 27.3 Adding New StandBy Mode Features to iPhone 11 and Newer
iOS 27.3 Adding New StandBy Mode Features to iPhone 11 and Newer
1 day ago