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

Safari Changes on iOS 26 …

One of the key changes to Safari on iOS 26 is a redesigned Liquid Glass address bar, with three layouts available to choose from. Beyond that, the upcoming software update

Top Five iOS 17 Features

All of Apple's software announcements have been somewhat overshadowed by the Apple Vision Pro, but there are a number of useful changes that are coming in iOS 17. We've pulled

iOS 18.4 Shows Your Searc…

With iOS 18.4, Apple made a small tweak to Safari that could be polarizing because it puts your search history front and center. When you open up a new Safari

Is Vision Pro ready for t…

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

App Store Review Guidelin…

Apple has refined its App Store Review Guidelines and other developer-related documents, with changes taking aim against inappropriate advertising, apps that impersonate others, and Safari extensions.In an email to developers

Bookmark Multiple Tabs in…

In Safari on iPhone, it's not unusual for the number of tabs you have open to quickly get out of hand. Here's how to temporarily clean things up without losing

You can now take FaceTime…

Macworld Along with iOS 17, watchOS 10, and macOS 14 Sonoma, Apple today announced tvOS 17, which includes a few new nice-to-have features, including a redesigned Control Center and the

Apple Releases Safari Tec…

Apple today released a new update for Safari Technology Preview, the experimental browser Apple first introduced in March 2016. Apple designed the ‌Safari Technology Preview‌ to test features that may
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.