Format Link icon

Format Link

by hnakamur · Tools
Manifest V3 Free
View in Chrome Web Store Data as of 16 Oct 2026

Format a link and copy it to the clipboard.

Users
1,000
0 in 30 days
Rating
4.6 / 5
+0.03 in 30 days
Ratings
14
+1 in 30 days
Store rank
#25K
#21K among extensions
Version
5.2.1
updated 5 Apr 2026

Users

monthly, 3 years
3006501,000Aug 2023Apr 2025Oct 2026
Latest, 16 Oct 2026: 1,000 usersMove the mouse over the chart for any month

Ratings count

monthly, 3 years
3814Aug 2023Apr 2025Oct 2026
Latest, 16 Oct 2026: 14 ratingsMove the mouse over the chart for any month

The Chrome Web Store rounds user counts down to the leading digit, so the user line moves in steps. The ratings count is exact and is the better signal of real adoption.

About Format Link

## Why do I need it? To format the link of the active tab instantly to use in Markdown, reST, HTML, Text, Textile or other formats. ## How to use You can use keyboard shortcuts, context menus, or the toolbar button of Format Link extension to copy a link in the specified format. Before doing that, you can optionally select some text which may or may not contain a link. ### keyboard shortcut The keyboard shortcut for "Copy a link in the default format" is shortcut for clicking the toolbar button. The link is copied in the default format and the popup is shown under the toolbar button. Also there are shortcuts for copying in the link in the corresponding format regardless of the default format. You can change shortcuts at chrome://extensions/shortcuts ### context menu Open the context menu and select the "Format Link as XXX" menu item. "XXX" in the menu item label changes as you change the default format by clicking the "Set as default" button in the popup page for the toolbar button. If you check the "Create submenus" in the options page and save the options, submenus for each format are created under the "Format Link" context menu group. ### toolbar button When you press the toolbar button of "Format Link", the link is copied in the default format, the popup page becomes open, and the formatted text is shown in the text area. If you want to copy the link in different format, you can press one of the radio buttons. Also if you want to change the default format, you can press the "Set as default" button. ## Flexible settings You can modify formats in [Tools] -> [Extensions] -> Clik "Options" link in "Format Link" Extension. In format settings, you can use the mini template language. * {{variable}} * variable = title / url / pageUrl / text * The value of variable `title` is the HTML page title. * The value of variable `text` is the selected text if some text is selected, the link text if you open the context menu over a link (see KNOWN LIMITATION below for link text), or the page URL if no text is selected and you open the context menu not over a link. * The value of variable `selectedText` is * the selected text if some text is selected, * empty string if no text is selected. * The value of the variable `url` is the link if you open the context menu over a link, the first link if selection contains a link, or the HTML page URL otherwise. * The value of the variable `pageUrl` is always the page URL. * No spaces are allowed between variable name and braces. * {{variable.s("foo","bar")}} * Which means `variable.replace(new RegExp("foo", 'g'), "bar")` * You can use escape character \ in strings. * You must escape the first argument for string and regexp. For example, `.s("\\[","\\[")` means replacing `\[` with `\\[` * You can chain multiple .s("foo","bar") * {{variable.urlencode()}} * Which means `encodeURIComponent(variable)` * You can use the escape character \ in strings. For example, you need to escape `\` with `\` like `\\`, and also you need to escape `{` with `\` like `\{`. See the LaTeX example below. * Other characters are treated as literal strings. Here are examples: * Markdown ``` [{{text.s("\\[","\\[").s("\\]","\\]")}}]({{url.s("\\(","%28").s("\\)","%29")}}) ``` * reST ``` {{text}} <{{url}}>`_ ``` * HTML ``` <a href="{{url.s("\"","&quot;")}}">{{text.s("<","&lt;")}}</a> ``` * HTML with selected text ``` <a href="{{page_url.s("\"","&quot;")}}#:~:text={{selected_text.urlencode()}}">{{title.s("<","&lt;")}}</a> ``` * Text ``` {{text}}\n{{url}} ``` * Redmine Texitile ``` "{{title.s("\"","&quot;").s("\\[","&#91;")}}":{{url}} ``` * LaTeX ``` \\href\{{{url}}\}\{{{text}}\} ``` ## Permissions required by this extension * To use this extension, the following two permissions are required: * "Read and change all your data on all websites" * This permission is needed for this extension to run the ["content script"](https://developer.chrome.com/docs/extensions/develop/concepts/content-scripts?hl=en) into the content of pages you visit in order to get the page title, the selected text, the page URL, or the link URL. * "Modify data you copy and paste" * This permission is needed to copy a URL and a text to the clipboard. For technical details, see the following pages: * [Declare permissions](https://developer.chrome.com/docs/extensions/develop/concepts/declare-permissions?hl=en) * ["content_scripts.matches"](https://developer.chrome.com/docs/extensions/develop/concepts/match-patterns?hl=en) * This extension uses `"<all_urls>"`. * [Permissions](https://developer.chrome.com/docs/extensions/reference/permissions-list?hl=en) * This extension requires the following permissions: * "activeTab" * "clipboardWrite" * "contextMenus" * "storage" ## License MIT License. Source codes are hosted at [Github](https://github.com/hnakamur/FormatLink-Chrome) ## KNOWN LIMITATIONS * Due to security reason, you cannot copy the URL on some pages like the Chrome Extension Gallary. * Chrome allow each extension to have at most 4 keyboard shortcuts. One shortcut is used for copying a link with the default format, and the rest of three are used for copying a link with the corresponding format 1 to format 3. So format 4 to format 9 does not have keyboard shortcut.

Growth

WindowUsersChangeRatingsRating
7 days0+0.0%00.00
30 days0+0.0%+1+0.03
6 months0+0.0%+2+0.07
1 year0+0.0%+2+0.07

Chrome Web Store search rankings

Where Format Link appears when people search the store, with the 30 day change
Search phrasePosition30 days
format#4+1
string#77−7
contain#81−43

Version history

8 versions recorded
5.2.15 Apr 2026
5.0.319 Aug 2025
5.1.019 Aug 2025
5.0.217 Aug 2024
5.0.116 Aug 2024
5.0.013 Aug 2024
4.1.129 Mar 2022
4.0.030 May 2020

Details

Category
Tools
First seen
30 May 2020
Size
52 KB
Languages
en
Pricing
Free
Support
github.com
Extension ID
pocemhmkmchpgamlnocemnbhlcjcbjgg

Permissions and risk

Moderate riskimpact 3, likelihood 2
Permissions
activeTabclipboardWritecontextMenusstorage

Alternatives to Format Link

Extensions that rank for the same store searches or share the Tools category, ordered by users