Link to text generator

Send someone to the exact sentence, not the top of the page. Paste a page address and the words to highlight, and copy the link.

How it works

Ten words or fewer go into the link whole. For a longer passage the link holds the first five and the last five words, and the browser highlights everything between them, so links stay short.

Let your readers do this in one click

Quote Share shows a small bar when a visitor selects text on your site, with Copy link, X, LinkedIn and WhatsApp. Every shared link opens your page at that sentence.

npm install @fluritheme/quote-share

Frequently asked questions

Something else? Send us a message.

What is a link to text?

A normal link opens the top of a page. A link to text adds #:~:text= and a few words to the address, and the browser scrolls to those words and highlights them. The official name is a text fragment.

Which browsers support it?

Chrome, Edge, Safari and Firefox all support text fragments in their current versions. In a browser that doesn’t, the link simply opens the page as usual.

Does the page need any code for this to work?

No. Text fragments are a browser feature, so they work on pages you don’t own, as long as the words appear on the page exactly as you typed them.

Why does my link not highlight anything?

The words must match the page exactly, including punctuation, and must be visible text (not inside an image or a closed menu). Try a shorter, more distinctive phrase.