Skip to content

Guides

How to Highlight Text on a Web Page

You can highlight text on a web page without installing anything, and you can make that highlight travel inside a link so the next reader sees it too. This guide covers the four ways that work in 2026, from the quickest to the most permanent.

A page of text with one passage highlighted
A closed laptop and a phone lying face down beside a printed page with one passage marked in yellow highlighter

A web page is not paper. When you drag a marker across a screen nothing happens, and when you select text the blue selection disappears the moment you click elsewhere. So "highlighting" on the web really means one of four different things: marking text for yourself while you read, saving a highlight so you can find it later, sharing a highlight with someone else, or teaching a page to open already highlighted. Pick the goal first and the method follows.

Method 1: select the text and share a link (nothing to install)

Every current browser understands a special kind of link called a text fragment. It looks like a normal address with #:~:text= and a few words added to the end. When someone opens it, the browser scrolls to those words and paints them yellow or purple. This is the closest thing the web has to a built-in highlighter, and it works on pages you do not own.

  1. Select the passage

    Drag across the sentence you want to point at. Keep it under about 300 characters; long selections are more likely to fail if the page changes.

  2. Copy a link to it

    In Chrome and Edge, right-click the selection and choose Copy link to highlight. In other browsers, paste the page address and the sentence into the highlight link generator and copy the result.

  3. Send the link

    Paste it into a message, a document or a lesson plan. The recipient's browser scrolls to the passage and highlights it. If their browser does not support text fragments, the link still opens the page at the top.

The highlight lives in the link, not on a server. Nobody stored a copy of the page, nobody can see who opened it, and the link keeps working as long as the page keeps the same words. That is the trade: no account and no stored copy, but if the author edits the sentence the highlight stops matching and the browser simply shows the page.

Method 2: use a highlighter bookmarklet

A bookmarklet is a bookmark that runs a small script on the page you are looking at instead of opening a new page. The Awesome Highlighter bookmarklet paints your current selection yellow, builds the text-fragment link for it, and offers the link to copy. It runs entirely inside your browser, works in every desktop browser, and needs no permissions. Drag it to your bookmarks bar once; after that highlighting any page is one click.

Bookmarklets are a good fit if you switch between many browsers or work on computers where you cannot install extensions, such as school and library machines. Their limit is memory: the yellow disappears when you reload, because nothing is saved. Keep the link instead.

Method 3: install a highlighter extension

If you want highlights that survive a reload, appear again when you return to a page a month later, and collect in one place, you need a browser extension or a web annotation service. These store your highlights, usually in an account, and re-apply them when the page loads. Some also sync to a phone app, export to note-taking tools, or let a class annotate the same article together.

The cost is trust and time. An extension that re-applies highlights must be able to read every page you visit, so pick one with a clear privacy policy and a business model you understand. Our comparison of highlighter extensions explains what to look for and names the ones that pass.

Method 4: use the reader mode built into your browser

Safari, Edge and Firefox each have a reading view that strips a page down to its text. Safari on iPhone, iPad and Mac lets you select in that view and use the share sheet; Edge's Immersive Reader has a highlight tool with four colours that works while the page is open; Firefox Reader View keeps your selection stable while you copy. None of these save highlights permanently on their own, but they make selecting on a cluttered page far easier, and they pair well with methods 1 and 2.

Choosing a method1Point at onesentence: share a link2Mark while reading:bookmarklet3Keep for later:extension4Cluttered page: readermode
Which method fits which goal.

Which method should you use?

Match the method to what the highlight is for.
GoalBest methodNeeds an accountSurvives reload
Send someone to one sentenceText fragment linkNoYes (as a link)
Mark up a page while you read itBookmarkletNoNo
Build a library of highlightsExtension or annotation appUsuallyYes
Read a busy page comfortably firstReader modeNoNo
Highlight a PDFPDF viewer toolsNoYes (in the file)

Tips that make highlights hold up

  • Highlight complete sentences or clauses. Fragments that start mid-word confuse readers and break more often in links.
  • Prefer one highlight per idea. A page that is half yellow says nothing.
  • For sharing, copy the page's canonical address (the one in the address bar after the page finishes loading), not a tracking link from a newsletter.
  • On very long pages, the browser may take a second to scroll to the fragment. That is normal.
  • If a site loads its text after the page appears (comment threads, some news apps), text fragments may miss. Use the bookmarklet from inside the loaded page instead.

This overview is the front door to our highlighting guides for every device. When the text you need is in a document rather than a page, marking up a PDF file works differently; on a small screen, see highlighting on iPhone and Android; and if your selections keep starting a character early, selecting text precisely with the keyboard fixes it.

Common questions

Can I highlight text on a website without an extension?

Yes. Select the text and either use your browser's built-in "Copy link to highlight" command or paste the address and the sentence into the highlight link generator. The result is a link that opens the page with the passage highlighted.

Does the person I send the link to need anything installed?

No. Text fragment links are understood by Chrome, Edge, Safari 16.1 and later, and Firefox 131 and later. Older browsers simply open the page at the top.

Why did my highlight disappear when I reloaded the page?

Highlights made with a bookmarklet or the selection tool live only in that browser tab. To keep them, save the link the tool gives you or use an extension that stores highlights.

Can I highlight in a colour other than yellow?

Browsers choose the colour for text fragments (yellow in most, purple in some versions of Chrome). Extensions usually offer several colours; the bookmarklet uses the classic yellow.

Is it legal to highlight and share someone else's article?

Sharing a link that points at a passage is like sharing a page number; you are not copying the article. Quoting the passage in your own text follows the normal rules for quotation in your country.

Can I highlight text inside a PDF the same way?

Text fragments work on HTML pages, not inside PDF files. For PDFs, use the highlight tool in your PDF viewer; see the guide on highlighting text in a PDF.

Sources

  • WICG URL Fragment Text Directives specification (the text fragment standard)
  • Browser release notes: Chrome 80 (2020), Safari 16.1 (2022), Firefox 131 (2024)
  • Edge Immersive Reader documentation, Microsoft Learn