A simple Chrome extension to turn copy-pasted text into markdown: Copy Formatter

Hey all, often when I’m taking notes from a website, I just want to quickly get relevant text into my notes and have it linked to the website URL (external links).

Often I have to:

  1. Copy the text from the site
  2. Paste the text, i.e.: “Text”
  3. Copy the URL, i.e.: https://example.com/
  4. Surround the text with the external link syntax
  5. paste the URL: [Text](https://example.com/)

Do this a dozen times a day and it adds up in a week.

Moreover, I am a fan of mouseless navigation. I currently use Vimium to navigate Chrome mouselessly. Having to stop and copy/paste + format text breaks my reading flow.

So a few weeks ago I created a simple Chrome extension to simplify copy/pasting external links AND still use Vimium: Copy-Formatter.

This extension lets you define “paste templates” - how you want to format your pasted text. It works with Vimium and lets me copy/paste a text quickly and continue my reading flow uninterrupted. If you don’t use Vimium, it could still save you a few keystrokes by pasting an already-formatted markdown text.

Note: this is a quick project and it could be a bit buggy. It’s currently only available on Chrome. I’ve been using it for the past 2 weeks and so far it’s been great. Check it out and let me know what you think! (improvements, bugs, etc)

Chrome: Copy-Formatter

Source code: Github: Copy-Formatter

Quick showcases:

Flows nicely with Vimium IMO:
copy_formatter_demo_2025_06_17

2 Likes

Hi, thanks for the reply!
Can you elaborate what you mean by not publicly available on Chrome Web Store or Github?

I am able to search and find it in the Chrome Web Store (it shows up when I searched it incognito)

The Github project is public. Both should be available to public. Let me know if I miss anything.

Regarding your suggestion of Markdown Copy, are you referring to this Markdown Copy extension? When I searched for “Markdown Copy”, I see over 1 dozen extensions.

Flow is important to me. I am a heavy Vim user and I want to mimic the flow of reading and taking notes between the browser and obsidian as close as reading / editing with Vim as possible. That’s why I set the shortcut key of Copy-Formatter to " , to mimic Vim’s register key. It makes copy/pasting a text from the browser (+ Vimium) like copy/pasting from a register. I guess it makes Copy-Formatter more like an extension to Vimium itself. Meanwhile, the Markdown Copy extension’s key: Cmd + Shift + M does not go with the Vim workflow. However, this extension does offer a wealth of features.. I’ll definitely take a look at it. Thank you for the suggestion! :slight_smile:

Thank you so much for creating this extension! It’s simple and elegant, and exactly what I was looking for. After a lot of searching, I’m grateful I found your extension (and am a little shocked there doesn’t exist any other extensions like it).

If I could submit a feature request (if you have time)? — I’d love to be able to set up keyboard shortcuts. Right now, whenever I want to copy a text selection, I have to right-click and drill 2 levels deep into the context menu, and when trying to define a shortcut for the extension, it just triggers a “Configure” pop-up.

It would be awesome if instead, a keyboard shortcut could activate a panel that allows me to select a copy/paste format option. And/or — it’d be great to be able to set up a keyboard shortcut for one or more individual options (or at least select a default/preferred option that maps to a shortcut). A good example is the Chrome extension “Tab Copy” (allows for both of the above).

I think this could help streamline workflows that much more. Thank you again for your work on the extension, and for your consideration!