bookmarklet.one

Convert Links to Hrefs Bookmarklet

Free bookmarklet that shows the URL of every link right next to its anchor text, color-coded by type, with one-click copy of all links. Toggle on and off.

Convert Links to Hrefs
← Drag this button to your bookmarks bar.Click it here to try it on this page first.

On a phone? Use Copy code, then save it as a bookmark's URL — step-by-step guide.

SEO Web DevUpdated 2026-11-27Free · No extension · Runs locally

Hovering over links one by one to see where they go is slow. This bookmarklet prints the destination URL of every link on the page in a small label right after its anchor text, so you can read the anchor text and target together, take a screenshot for a report, or spot a mismatch at a glance.

Labels are color-coded: yellow for internal links, blue for external, grey for mailto, tel and JavaScript links, and nofollow, sponsored or UGC links get a red tag with their rel value. Click any label to copy that URL. Internal URLs can be shortened to their path to reduce clutter.

A small panel counts the links by type and exports them all as tab-separated anchor text and URL, plain URL lists, or Markdown. It is useful for link audits, outreach checks ("is my link still there and still followed?"), and reviewing affiliate or navigation links before publishing.

What it does

  • Adds a label with the resolved URL after every link on the page
  • Color-codes internal, external and non-web links, and tags nofollow, sponsored and UGC
  • Click a label to copy its URL
  • Option to shorten internal URLs to the path
  • Counts links by type and copies all links as TSV, plain URLs or Markdown
  • Removes every label when you click the bookmarklet again

How to install the Convert Links to Hrefs bookmarklet

  1. Show your bookmarks bar. Press Ctrl+Shift+B on Windows/Linux or Cmd+Shift+B on a Mac (Chrome, Edge, Brave, Firefox). In Safari choose View › Show Favorites Bar.
  2. Drag the blue button above onto the bar. That's it — the bookmark now holds the code.
  3. Open any website and click the bookmark to run it on that page. Click it again to close it.

Can't drag (phone, tablet, locked-down browser)? Copy the code below, create any bookmark, then edit it and paste the code as its URL. See how to add a bookmarklet in every browser.

How to use it

  1. Open the page and click the bookmarklet. URLs appear next to every link.
  2. Tick Short internal URLs if the labels make the page too busy.
  3. Click any label to copy that one URL, or use the Copy buttons for the full list.
  4. Click the bookmarklet again to remove the labels.

Good to know

The labels show the resolved absolute URL, which is what a crawler follows, not the raw href attribute. A relative link like ../pricing is displayed as the full address it points to. Links that only exist inside closed menus get labels too, but you will only see them when the menu opens.

Labels can push layouts around on dense navigation menus. That is expected; it is temporary and disappears when you toggle off. For a color overlay without changing the layout, use the Highlight Links bookmarklet instead.

Bookmarklet code

This is the exact code inside the button above (8,503 characters). It runs only in your browser and sends nothing to us. Paste it into the Bookmarklet Decoder to read it formatted.

Frequently asked questions

Does it change the links?

No. Links keep working exactly as before. The bookmarklet only inserts labels after them and removes the labels when toggled off.

Why does the URL differ from the href in the source?

The label shows the resolved absolute URL. Relative paths are expanded the same way a browser or crawler resolves them.

Can I export the links?

Yes. Copy TSV gives anchor text and URL per line for spreadsheets, Copy URLs gives a plain list, and Copy Markdown gives [text](url) lines.

Related bookmarklets

Free nofollow link highlighter: color-codes every link as followed, nofollow, sponsored or UGC, with a legend, counts and…

Free broken link checker bookmarklet: tests every same-site link on the page, flags 404s and redirects, checks #anchors…

Free SEO meta tag checker bookmarklet: title, meta description, H1, canonical, robots, hreflang, viewport and Open Graph…

Free heading structure checker bookmarklet: shows the page's H1–H6 outline as an indented tree, flags skipped levels and…