cpyurl is a Chrome extension that makes copying URLs super easy and flexible. Instead of manually selecting and copying URLs from the address bar, you can:
- Press a keyboard shortcut to instantly copy
- Choose different formats (Plain, Markdown, HTML)
- Get visual feedback when copying
- Customize your preferences
How it works:
- Press
Alt+C(Windows/Linux) orMacCtrl+C(macOS) - Current tab URL is instantly copied to clipboard
- Uses your default format setting
Use case: You're browsing documentation and want to quickly share the link in Slack → Press Alt+C → Paste in Slack. Done!
How it works:
- Click the extension icon in Chrome toolbar
- See the current URL displayed
- Choose which format to copy
What you see:
┌─────────────────────────────────┐
│ cpyurl │
│ Copy URL to clipboard │
├─────────────────────────────────┤
│ Current URL: │
│ https://github.com/... │
│ │
│ [📋 Copy Plain] │
│ [📝 Copy Markdown] │
│ [🔗 Copy HTML] │
│ │
│ Settings │
│ Default Format: [Plain ▼] │
│ ☐ Auto-close popup after copy │
└─────────────────────────────────┘
https://github.com/DavidNiessen/cpyurl
Best for: Sharing raw URLs, pasting in address bar
[cpyurl](https://github.com/DavidNiessen/cpyurl)
Best for: GitHub README, Notion, Obsidian, Markdown documents
<a href="https://github.com/DavidNiessen/cpyurl">cpyurl</a>Best for: HTML emails, web development, blog posts
- Appear in bottom-right corner
- Show success/error messages
- Auto-dismiss after 3 seconds
Examples:
- ✅ "URL copied to clipboard!"
⚠️ "Cannot copy URL from restricted pages..."- ❌ "Failed to copy URL. Please try again."
- Shows ✓ (green) on success
- Shows ✗ (red) on error
- Disappears after 2 seconds
Choose which format is used when you press the keyboard shortcut:
- Plain (default)
- Markdown
- HTML
When enabled, popup automatically closes after copying (useful for quick workflows)
Settings are saved to Chrome sync storage, so they work across all your devices!
Chrome doesn't allow extensions to access certain pages:
chrome://pages (extensions, settings, etc.)edge://pagesabout:pagesview-source:pages
What happens:
- Warning notification appears
- Red X badge shows on icon
- No crash or silent failure
If somehow there's no active tab:
- Error notification: "No active tab found"
- Graceful handling, no crash
Scenario: Sharing code documentation
1. Find useful docs page
2. Press Alt+C
3. Paste in team chat
Format: Markdown for GitHub/Slack
Scenario: Adding references to blog post
1. Research articles
2. Click extension → Copy HTML
3. Paste directly into HTML editor
Format: HTML with proper anchor tags
Scenario: Building bibliography
1. Find research paper
2. Copy as Markdown
3. Add to Notion/Obsidian notes
Format: Markdown for note-taking apps
Scenario: Sharing funny article with friend
1. Press Alt+C while reading
2. Paste in WhatsApp/Email
Format: Plain URL
- Fast: Keyboard shortcut for instant copying
- Flexible: Multiple formats for different use cases
- Friendly: Clear feedback, no confusion
- Safe: Handles errors gracefully
- Simple: No complex configuration needed
- tabs: To get current tab URL
- activeTab: To access active tab info
- scripting: To execute clipboard copy
- clipboardWrite: To write to clipboard
- notifications: To show toast messages
- storage: To save your settings
- ❌ No tracking
- ❌ No analytics
- ❌ No data collection
- ❌ No external servers
- ❌ No URL history stored
Everything happens locally in your browser!