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

A bunch of great iOS 17 f…

Macworld Apple had plenty of great things to show off when it unveiled iOS 17 at WWDC. We’re psyched about vastly improved autocorrect, StandBy, Live Voicemail transcriptions, custom contact posters,

Apple announces new Safar…

You can now share passwords and passkeys using iCloud Keychain through Safari. | Image: Apple Apple’s latest version of Safari was announced at WWDC as part of the newly announced

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 announces changes t…

Apple today announced changes to iOS, Safari, and the App Store impacting developers’ apps in the European Union (EU) to comply with the Digital Markets Act (DMA). The changes include

iOS 16 superguide: Everyt…

Macworld After announcing its big yearly operating system update in its WWDC keynote on June 6, 2022, and following months of beta testing, Apple made iOS 16 available to be

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 plans major changes…

Even more rumors of changes to core iPhone and iPad apps expected at WWDC25 just came out, including big tweaks to Phone, Safari and Messages. (via Cult of Mac -

Download the macOS Sonoma…

macOS Sonoma, or macOS 14, was announced at WWDC 2023 with new features for Mac users. In addition to improvements to iMessage and FaceTime, the system also brings profiles to
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.