alphahasher3k downloadsEasily remove hyperlinks and wikilinks from selected text or the entire note.
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:
| 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 |
 |
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) |
You can choose which types of hyperlinks to remove:
[Page](page.md), [Section](#heading)[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 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.
Note: Use the "Remove blacklisted links" commands to activate blacklist mode. This is the only place this option is available
[text](link)