Item logo image for Copy Relative URL

Copy Relative URL

ExtensionDeveloper Tools2 users
Item media 1 (screenshot) for Copy Relative URL

Overview

Right-click any link to copy just its path, query string, and anchor — no protocol or domain. By PSM Marketing.

Copy Relative URL adds a "Copy Relative URL" option to Chrome's right-click menu whenever you right-click a link. Instead of copying the full URL (https://staging.example.com/services/family-law/), it copies just the path (/services/family-law/) — no protocol, no domain. Why you need it: When building internal links on staging or development sites, hard-coding the staging domain into a link means it breaks (or points to the wrong environment) once the site goes live. Root-relative URLs avoid that entirely — they work identically on staging, dev, and production. What it preserves: Query strings and anchors carry through automatically. https://staging.example.com/attorneys/?location=minnesota#results becomes /attorneys/?location=minnesota#results. How it works: Right-click any link on any page Click "Copy Relative URL" Paste anywhere — you get the path, query string, and anchor, nothing else The popup also includes a manual converter: paste any full URL and convert it without needing a live link to right-click. Who it's for: web developers, content implementers, and agencies building or migrating sites across staging/production environments. Privacy: Copy Relative URL runs entirely in your browser. It reads only the specific link URL you interact with, converts it locally, and places the result on your clipboard. Nothing is stored, tracked, or sent to any server. Built by PSM Marketing (psm-marketing.com).

Details

  • Version
    1.0.0
  • Updated
    August 13, 2026
  • Size
    17.45KiB
  • Languages
    English
  • Developer
    Website
    Email
    aditya@psm-marketing.com
  • Non-trader
    This developer has not identified itself as a trader. For consumers in the European Union, please note that consumer rights do not apply to contracts between you and this developer.

Privacy

Manage extensions and learn how they're being used in your organization

Copy Relative URL has disclosed the following information regarding the collection and usage of your data. More detailed information can be found in the developer's privacy policy.

Copy Relative URL handles the following:

Website content

This developer declares that your data is

  • Not being sold to third parties, outside of the approved use cases
  • Not being used or transferred for purposes that are unrelated to the item's core functionality
  • Not being used or transferred to determine creditworthiness or for lending purposes

Support

For help with questions, suggestions, or problems, please open this page on your desktop browser

Google apps