Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Pretty URLs

daundaun30 downloads

Improve display of URLs in reading view by removing https:// and www. prefixes.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates6

A plugin for Obsidian to improve display of URLs

Remove common prefixes like https:// and www. from links in reading view. Useful if you can't be bothered to use markdown links and still want your notes to look clean. The plugin only affects the display of links – the actual note content remains unchanged.

Example

Before

Watch https://www.youtube.com/watch?v=3C1Gnxhfok0
and read https://m.wikipedia.org/wiki/Corsica

After

Watch youtube.com/watch?v=3C1Gnxhfok0
and read wikipedia.org/wiki/Corsica

Features

  • Strip protocol: Remove http:// or https://
  • Strip www subdomain: Remove www.
  • Strip mobile subdomain: Remove m. and mobile.
  • Strip amp subdomain: Remove amp.
  • Custom labels: Transform visible text using regex rules

Installation

  1. Open Settings → Community plugins in Obsidian.
  2. Select Browse and search for Pretty URLs.
  3. Select Install, then Enable.

Usage

Open Settings → Pretty URLs to configure the plugin:

  • Hide protocol — https: is always stripped.
  • Hide subdomains — Toggle stripping of www., mobile., etc.
  • Format links in note properties — Apply formatting in the properties panel.
  • Custom labels — Define regex rules to replace a URL with a custom label.

Custom labels

You can define regex rules to rewrite URL-only links with a custom label.

Each rule has a pattern (a regular expression) and a replacement (a string that may contain $1, $2, … to reference capture groups). Rules are evaluated in order; the first match wins.

The plugin ships with three example rules that are disabled by default.

How matching works

  • Patterns are matched against the final pretty URL, e.g. github.com/user/repo.
  • Patterns are not implicitly anchored — use ^ and $ yourself if needed.
  • Matching is always case-insensitive.

License

MIT

94%
HealthExcellent
ReviewPassed
About
Strip common URL prefixes in reading view, removing protocols and subdomains such as http://, https://, www., m., mobile., and amp. Keep original note content and link targets unchanged while showing cleaner, shorter link text.
LinksAppearance
Details
Current version
1.3.0
Last updated
6 days ago
Created
5 months ago
Updates
6 releases
Downloads
30
Compatible with
Obsidian 1.11.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Sponsor
GitHub Sponsors
Author
daundaun
github.com/daun
GitHubdaun
  1. Community
  2. Plugins
  3. Links
  4. Pretty URLs

Related plugins

Link Favicons

See the favicon for a linked website.

Supercharged Links

Add attributes to internal links with the values of target note's frontmatter attributes.

Minimal Theme Settings

Control the colors and fonts in Minimal Theme.

Hider

Hide interface elements such as tooltips, status bar, titlebar, and more.

Smart Connections

AI link discovery copilot. See related notes as you write. Lookup using semantic (vector) search across your vault. Zero-setup local model for embeddings, no API keys, private.

Excalidraw

Visual PKM powerhouse. Create and edit Excalidraw drawings.

Style Settings

Adjust theme, plugin, and snippet CSS variables.

Advanced URI

Control everything with URI.

Lapel

Show the heading levels in the gutter of the editor.

Waypoint

Easily generate dynamic MOCs in your folder notes using waypoints. Enables folders to show up in the graph view and removes the need for messy tags!