Smart copy-paste Chrome extension with multiple format options.
Screenshot placeholder — install the extension and try it out!
CopyBetter enhances your copy-paste experience on the web. Select any text, press Ctrl+C / Cmd+C, and an elegant popup appears with 4 format options:
| Format | Description |
|---|---|
| Plain Text | Clean, stripped plain text |
| Markdown | Auto-converted Markdown with links, lists, headings, code blocks, bold, italic, tables |
| HTML | Clean source HTML code |
| With Source | Text + page URL + date attribution |
- Contextual popup — appears right next to your text selection
- Smart Markdown conversion — handles
<a>,<ul>/<ol>,<h1>–<h6>,<strong>/<b>,<em>/<i>,<code>/<pre>,<img>,<table> - Source attribution — automatically adds page title, URL, and date
- Default format — set a preferred format to skip the popup entirely
- Enable/disable toggle — turn CopyBetter on or off from the extension popup
- Copy counter — tracks how many times you've used CopyBetter
- Elegant design — minimal white popup with purple accents, smooth animations
- Keyboard friendly — press
Escapeto dismiss the popup
- Download or clone this repository:
git clone https://github.com/snzeeee/CopyBetter.git
- Open Chrome and navigate to
chrome://extensions/ - Enable Developer mode (top right toggle)
- Click Load unpacked
- Select the
CopyBetterfolder - The CopyBetter icon appears in your toolbar — you're ready to go!
- Select text on any webpage
- Press
Ctrl+C(orCmd+Con Mac) - The CopyBetter popup appears next to your selection
- Click a format — the text is copied and the popup disappears
Click the CopyBetter icon in the toolbar to:
- Toggle CopyBetter on/off
- Set a default copy format (skips the popup)
- View your copy count
- Manifest V3 — latest Chrome extension standard
- Vanilla JavaScript — zero dependencies, fast and lightweight
- CSS animations — smooth fadeIn + scale transitions
- Chrome Storage API — persistent settings and statistics
- Clipboard API — modern clipboard access with fallback
CopyBetter/
├── manifest.json Manifest V3 configuration
├── content.js Content script (copy detection + popup)
├── content.css Contextual popup styles
├── popup.html Extension settings panel
├── popup.js Settings logic
├── popup.css Settings panel styles
├── background.js Service worker
├── icons/ Extension icons (16, 48, 128px)
└── README.md
MIT