Hyperlink Remover

by Daniel Agafonov
5
4
3
2
1
Score: 52/100

Description

The Hyperlink Removal plugin simplifies cleaning up markdown files by removing hyperlinks from selected text or entire notes. It adds context menu options for quick access and supports command palette actions that can be assigned to hotkeys. Advanced logic ensures robust handling of various link formats and edge cases, making it useful for users who frequently migrate or clean imported content.

Reviews

No reviews yet.

Stats

5
stars
3,161
downloads
1
forks
309
days
80
days
268
days
1
total PRs
0
open PRs
0
closed PRs
1
merged PRs
7
total issues
0
open issues
7
closed issues
0
commits

README file from

Github

Simple and lightweight plugin for Obsidian to remove hyperlinks and wikilinks from either selections or the entire file.

If you like this plugin, feel free to support the development by buying a coffee:

Right in the Context Menu!

Input Output
[Google](www.google.com) Google
[text with [brackets]](https://example.com) text with [brackets]
[text with \[escaped\] brackets](https://example.com) text with \[escaped\] brackets
[OK go song](https://en.m.wikipedia.org/wiki/I_Won%27t_Let_You_Down_(OK_Go_song)) OK go song
![](https://raw.githubusercontent.com/AlphaHasher/obsidian-remove-hyperlinks/HEAD/image.png) REMOVED
Input Output
[[example.md]] example.md
[[example.md|alias]] alias OR REMOVED (depending on setting)
![[example.png]] REMOVED
![[example.png|300]] REMOVED
[[text with \\[escaped\\] brackets]] text with \\[escaped\\] brackets
[[text with \\[escaped\\] brackets|alias]] alias OR REMOVED (depending on setting)

Easy Command and Hotkey Assignment

Advanced Features

You can choose which types of hyperlinks to remove:

  • Both Internal and External : Removes all hyperlinks
  • Internal Links Only: Only removes internal links like [Page](page.md), [Section](#heading)
  • External Links Only: Only removes external links like [Site](https://example.com)

You can whitelist specific domains or URLs that should never be removed.

Note: Whitelist matching is case-insensitive and uses partial matching.

You can whitelist specific wikilink paths that should never be removed.

Note: Wikilink whitelist uses exact matching (case-insensitive). The entire wikilink path must match the whitelist entry.

Blacklist Mode

Blacklist mode is the opposite of whitelist mode - it only removes links that match your specified blacklist, leaving all other links intact. This is useful when you want to remove specific unwanted links while preserving everything else.

  • You can specify seperate lists for both hyperlink and wikilink blacklist

Note: Use the "Remove blacklisted links" commands to activate blacklist mode. This is the only place this option is available

Release Notes

  • 1.0.0: Initial release.
  • 1.1.0: Add Notice's for hyperlink removal logic and added context menu options.
  • 1.2.0: Added unit testing (for developers) and updated hyperlink removal logic to handle more edge cases.
  • 1.2.1: Improved plugin structure, this does not affect functionality but makes it easier to maintain and extend in the future.
  • 1.3.0: Added hyperlink removal from image attachment case
  • 2.0.0: Added WikiLinks support with option to keep or remove alias
  • 2.1.0: Added optional setting to keep or remove hyperlink text in [text](link)
  • 2.1.1: Added hyperlink whitelist feature to preserve specified domains/URLs
  • 2.2.0: Added hyperlink type filtering (internal/external/both) and hyperlink/wikilink whitelist feature
  • 2.3.0: Added explicit commands to remove links from either internal or extrnal origin
  • 2.4.0: Added blacklist mode to explicitly remove only links you want (opposite of whitelist)

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
Metadata Menu
4 years ago by mdelobelle
For data management enthusiasts : type and manage the metadata of your notes.
Hotkeys++
6 years ago by Argentina Ortega Sainz
Adds hotkeys to toggle todos, ordered/unordered lists and blockquotes in Obsidian
Hotkey Helper
5 years ago by PJ Eby
Easily see and access any Obsidian plugin's options pane or hotkey assignments (including conflicts) from the Community Plugins tab
Code Editor Shortcuts
5 years ago by Tim Hor
Obsidian plugin to add keyboard shortcuts commonly found in code editors such as Visual Studio Code (vscode) or Sublime Text
Jump to link
6 years ago by MrJackphil
Quick jump between links using hotkeys
Hotkeys for specific files
5 years ago by Vinzent
Hotkeys for templates
5 years ago by Vinzent
Keyboard Analyzer
4 years ago by cogscides
Obsidian plugin to display command hotkeys on a visible keyboard layout
Pixel Perfect Image
a year ago by Johan Sanneblad
Pixel perfect 100% image resizing, copy to clipboard, show image in Finder/Explorer, edit image in external editor, and much more.
Keyshots
3 years ago by KrazyManJ
🔮📝 Obsidian plugin that adds classic hotkey/shortcuts commands from popular IDEs like Visual Studio Code or JetBrains Family.
Leader Hotkeys
5 years ago by Tony Grosinger
Use a leader-key (tmux style) for hotkeys in Obsidian.md
Global Hotkeys
4 years ago by Marc Jessome
Global hotkey support for Obsidian.md
Font Size Adjuster
2 years ago by Ryota Ushio
An Obsidian.md plugin to adjust font size via commands.
Callout Integrator
3 years ago by
A plugin for Obsidian to allow the integration of long blocks of text into callouts.
Auto pair chinese symbol
5 years ago by renmu123
中文符号自动补齐
Hotkeys for Bookmarks
5 years ago by Vinzent
Format Hotkeys
5 years ago by Ansel Santosa
Google Docs style formatting hotkeys for Obsidian
Search Everywhere
4 years ago by Mom0
Obsidian Search Everywhere Plugin
Sequence Hotkeys
4 years ago by Ruan Moolman
Obsidian plugin to support a sequenced of keyboard shortcuts to run commands.
Cycle In Sidebar
3 years ago by Houcheng
Cycle through tabs of left/ right sidebar panel
ObsidianTweaks
4 years ago by Jeppe Klitgaard
A plugin that implements a number of tweaks that should've been native to Obsidian.
Custom list character
3 years ago by Lilian POULIQUEN
Custom list character is a simple plugin allowing you to choose which character to use when making bullet lists in Obsidian.
Chorded Hotkeys
3 years ago by Trey Connor Meyers
Type multiple letters at the same time to trigger text insertion, template insertion, or command execution.
Min3ditorHotkeys
5 years ago by Davor Sauer
Obsidian plugin adding minimal editor hotkeys
Root Folder Context Menu
2 years ago by mnaoumov
Obsidian Plugin that enables context menu for vault root folder
Editor Commands Remap
5 years ago by cactus5
Obsidian plugin to map hotkeys to editor commands
Copy Path
10 months ago by shumadrid
An Obsidian plugin that adds context menu actions for copying the full and vault relative path of a file/folder.
Julian Date
5 years ago by thek3nger
Plugin for Obsidian to add the current Julian Date for astronomical observations
Hotkeys Chords
4 years ago by Dario Balboni
Open File by Magic Date
4 years ago by simplgy
Symbol linking
10 months ago by Evan Bonsignori ; Mara-Li
Adds ability to link with any trigger in Obsidian. Each trigger can limit linking to specific folders or file.
Context Command Hider
a year ago by Mara-Li
This plugin allows you to hide every command from the Obsidian's right-click context menu.
Calculite
10 months ago by Holo
Standard calculator plugin for Obsidian.
Shell Path Copy
8 months ago by Charles Kelsoe (ckelsoe)
Obsidian plugin to copy file and folder paths with shell-friendly formatting for Linux\Mac and Windows
Custom Commands
a year ago by Staaaaaaaaaan
Create custom commands to be executed in the command palette, and by hotkey. Currently supports opening specific notes, creating notes, inserting snippets, and executing sequences of commands.
Duplicate line
a year ago by Marcin Sztolcman
Plugin for Obsidian: duplicate current line, or selection.
Enhanced Image
2 years ago by situ2001
Enhance the experience of image in Obsidian, seamlessly.
Hotstrings
a year ago by wakywayne
Recent Tab Switcher
2 years ago by Samuel Ang
Recent Tab Switcher Plugin for Obsidian.
Open in Cursor
8 months ago by awaken233
An Obsidian plugin to open files in Cursor IDE or other VSCode-based editors (VSCode, Kiro, etc.) with automatic cursor position jumping. 一个可以在 Cursor IDE 或其他类 VSCode 编辑器中打开文件并自动跳转光标位置的 Obsidian 插件。
Cut The Fluff
a year ago by Adam Fletcher
Obsidian plugin to avoid unnecessary complexity and clutter in your writing
Editing Mode Hotkey
2 years ago by Signynt
Obsidian plugin to change the default editing mode (between Live Preview and Source) using a command or hotkey
Select word
2 years ago by Connor Espino
Vim Marker Sharpener
a year ago by Artem Dvoryadkin
Text formatting commands in Vim mode. Supports applying styles (bold, italic, etc.). Works correctly in visual mode with selected text.
Capitaliser
2 months ago by Emanuel Oliveira
Cycle text capitalisation (lowercase, Capitalise Each Word, UPPERCASE).
HOME key
8 months ago by shichishima
Obsidian Plugin to move cursor to beginning of text, considering Markdown heading characters.
Lskypro Upload V2
2 months ago by 3kk0
Auto upload local images to LskyPro.