Which browsers support text fragments?
Chrome, Edge, Safari and Firefox support them in current versions. In an unsupported browser the link still opens the page, but it does not highlight the text.
Build a link that opens a page and highlights an exact phrase, with optional text before and after to pick the right match.
Runs in your browser — nothing is uploaded
A text fragment, written as #:~:text= in the URL, makes a browser scroll to a phrase and highlight it. It is a clean way to point someone to a quote, a clause or a paragraph without adding anchors to the page.
Enter the page address and the exact text to highlight. Add a few words before or after the phrase if it appears more than once. The generator encodes everything so the link works when shared.
Chrome, Edge, Safari and Firefox support them in current versions. In an unsupported browser the link still opens the page, but it does not highlight the text.
Yes, apart from minor differences in case and whitespace. Copy the text carefully, because punctuation and wording must match the page.
Use them when the same phrase appears several times. A prefix is the words just before it, followed by a hyphen, and a suffix is the words just after, preceded by a hyphen.
No. Text fragments work on any page without edits. If the wording changes later, the link may stop highlighting the text.
The link is a normal address with a fragment at the end. Browsers do not send the fragment to the server, so the text highlight stays between you and the reader.
No. The link is built in your browser and nothing is saved.