Hyperlink Remover

by Daniel Agafonov
5
4
3
2
1
Score: 56/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
6,157
downloads
1
forks
407
days
12
days
12
days
1
total PRs
0
open PRs
0
closed PRs
1
merged PRs
10
total issues
0
open issues
10
closed issues
27
commits

Latest Version

13 days ago

Changelog

What's Changed

  • Updated to use the latest 1.13 API. All future releases will require 1.13+ versions of Obsidian.

Full Changelog: https://github.com/AlphaHasher/obsidian-remove-links/compare/3.2.0...3.3.0

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)

Citation markup is common when pasting AI-generated search results or Wikipedia content. The entire citation is removed.

Input Output
[[1](url)] REMOVED
[[1](url), [2](url)] REMOVED
Text.[[2]](url) Text. (Wikipedia footnote, optional 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)

Citation Removal

AI-style citation links ([[1](url)], [[1](url), [2](url)]) are stripped automatically whenever hyperlink removal is active (external scope).

Wikipedia-style footnotes ([[2]](url)) are removed via the optional Remove Wikipedia Citations setting (off by default).

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 sblacklist mode to explicitly remove only links you want (opposite of whitelist).
  • 2.4.2: Upgrade all dependencies to latest versions and fix all issues reported in community page.
  • 2.5.0: Added support for stripping AI and Wikipedia citation links.
  • 2.5.1: Fix issues reported in community page.
  • 3.0.0: Added support for filtering out what types of embeds to remove (image, audio, video, pdf, etc).
  • 3.2.0: Fix cursor position and viewport jumping when using the remove link command.
  • 3.3.0: Settings tab rebuilt on Obsidian's declarative settings API, so every setting is now indexed by the global settings search. Requires Obsidian 1.13.0 or newer.

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
Auto pair chinese symbol
5 years ago by renmu123
中文符号自动补齐
AutoPause
7 days ago by ckep1
Allows only one audio track playing in Obsidian at a time, pausing the others.
Calculite
a year ago by Holo
Standard calculator plugin for Obsidian.
Callout Integrator
3 years ago by
A plugin for Obsidian to allow the integration of long blocks of text into callouts.
Capitaliser
5 months ago by Emanuel Oliveira
An Obsidian plugin that cycles text capitalisation (lowercase → UPPERCASE → Capitalise Each Word) using Shift+F3, just like Microsoft Word
Chinese Novel Assistant
23 days ago by pingo888
A set of small features designed to make writing Chinese novels more convenient.
Chorded Hotkeys
4 years ago by Trey Connor Meyers
Type multiple letters at the same time to trigger text insertion, template insertion, or command execution.
Claude Sidebar
13 days ago by derek-larson14
Run Claude Code, Codex, and other agent CLIs in Obsidian
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
Context Command Hider
2 years ago by Mara-Li
This plugin allows you to hide every command from the Obsidian's right-click context menu.
Convert url to preview (iframe)
3 months ago by fhachez
Plugin for Obsidian.md to convert a selected URL to an iframe.
Copy Path
a year ago by shumadrid
An Obsidian plugin that adds context menu actions for copying the full and vault relative path of a file/folder.
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.
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.
Cut The Fluff
a year ago by Adam Fletcher
Obsidian plugin to avoid unnecessary complexity and clutter in your writing
Cycle In Sidebar
4 years ago by Houcheng
Cycle through tabs of left/ right sidebar panel
Duplicate line
a year ago by Marcin Sztolcman
Plugin for Obsidian: duplicate current line, or selection.
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
Editor Commands Remap
5 years ago by cactus5
Obsidian plugin to map hotkeys to editor commands
Enhanced Image
2 years ago by situ2001
Enhance the experience of image in Obsidian, seamlessly.
File Explorer Reload
3 months ago by mnaoumov
Obsidian Plugin that reloads the file explorer files list
Floating Notes
9 days ago by haotiencheng
Floating popout window for instant note capture in Obsidian, inspired by Raycast Notes.
Font Size Adjuster
3 years ago by Ryota Ushio
An Obsidian.md plugin to adjust font size via commands.
Format Hotkeys
5 years ago by Ansel Santosa
Google Docs style formatting hotkeys for Obsidian
Global Hotkeys
5 years ago by Marc Jessome
Global hotkey support for Obsidian.md
HOME key
a year ago by shichishima
Obsidian Plugin to move cursor to beginning of text, considering Markdown heading characters.
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
Hotkeys Chords
4 years ago by Dario Balboni
Hotkeys for Bookmarks
6 years ago by Vinzent
Hotkeys for specific files
5 years ago by Vinzent
Hotkeys for templates
5 years ago by Vinzent
Hotkeys++
3 months ago by argenos
Adds hotkeys to toggle todos, ordered/unordered lists and blockquotes in Obsidian
Hotstrings
a year ago by wakywayne
Jump to link
6 years ago by MrJackphil
Quick jump between links using hotkeys
Keyboard Analyzer
4 years ago by cogscides
Obsidian plugin to display command hotkeys on a visible keyboard layout
Keyshots
4 years ago by KrazyManJ
🔮📝 Obsidian plugin that adds classic hotkey/shortcuts commands from popular IDEs like Visual Studio Code or JetBrains Family.
Leader Hotkeys
6 years ago by Tony Grosinger
Use a leader-key (tmux style) for hotkeys in Obsidian.md
Markdown Cleaner
3 months ago by gao-qian-long
Obsidian格式化markdown插件
Metadata Menu
4 years ago by mdelobelle
For data management enthusiasts : type and manage the metadata of your notes.
Min3ditorHotkeys
6 years ago by Davor Sauer
Obsidian plugin adding minimal editor hotkeys
Open File by Magic Date
4 years ago by simplgy
Open in Cursor
a year 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 插件。
Pixel Perfect Image
a year ago by Johan Sanneblad
Pixel perfect 100% image resizing, copy to clipboard, show image in Finder/Explorer, and much more.
Recent Tab Switcher
2 years ago by Samuel Ang
Recent Tab Switcher Plugin for Obsidian.
Root Folder Context Menu
3 years ago by mnaoumov
Obsidian Plugin that enables context menu for vault root folder
Search Everywhere
4 years ago by Mom0
Obsidian Search Everywhere Plugin
Select word
2 years ago by Connor Espino
Sequence Hotkeys
4 years ago by Ruan Moolman
Obsidian plugin to support a sequenced of keyboard shortcuts to run commands.
Shell Path Copy
a year ago by Charles Kelsoe (ckelsoe)
Obsidian plugin to copy file and folder paths with shell-friendly formatting for Linux\Mac and Windows
Symbol linking
a year 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.
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.