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

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.



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.

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

This article, "macOS: Share a Link That Jumps to a Specific Line on a Webpage" first appeared on MacRumors.com

Discuss this article in our forums


You may also be interested in this

The Vision Pro’s biggest …

Image: Apple Apple’s developers already have the tools they need to create apps for the system. Apple used the Vision Pro’s $3,499 price tag to give the headset every advantage

F-Secure Total for Mac re…

Macworld At a GlanceExpert's Rating ProsIncludes virus protection, secure browsing, ID monitoring, a VPN, and a password vault in one packageEffective and flexible VPNConsMissing key capabilities such as a quick

Apple is forcing Vision P…

Macworld Welcome to our weekly Apple Breakfast column, which includes all the Apple news you missed last week in a handy bite-sized roundup. We call it Apple Breakfast because we

iOS 17 locks access to yo…

With iOS 16, Apple made it so that Hidden album in Photos could be automatically locked from prying eyes with Face ID. With iOS 17, that privacy is now extended

Google wants iPhone users…

Google reportedly wnats to lessen its dependence on Apple for search revenue, which currently generates about 36% of the total revenue. (via Cult of Mac - Apple news, rumors, reviews

How to make AppleInsider …

You've long been able to turn any website into an app on your Mac, but with macOS Sonoma, Apple has made it so easy that you're going to do it.

Apple explores acquiring …

Apple executives have internally considered acquiring Perplexity AI to offer an AI-powered search engine in Safari on its devices. (via Cult of Mac - Your source for the latest Apple

Craig Federighi outlines …

Along with the software and hardware announcements at WWDC, Apple executive Craig Federighi emphasized the company's ongoing commitment to privacy, exemplified by features such as "Check In," and why he
X

A whimsical homage to the days in black and white, celebrating the magic of Mac OS. Dress up your blog with retro, chunky-grade pixellated graphics to evoke some serious computer nostalgia. Supports a custom menu, custom header image, custom background, two footer widget areas, and a full-width page template. I updated Stuart Brown's 2011 masterpiece to meet the needs of the times, made it responsive , got dark mode, custom search widget and more.You can download it from tigaman.com, where you can also find more useful code snippets and plugins to get even more out of wordpress.