URL Formatter

approved

by Thomas Snoeck

Automatically formats specific URLs pasted into your notes into clean Markdown links.

6 stars874 downloadsUpdated 3mo agoMIT
View on GitHub

🔗 URL Formatter for Obsidian

Automatically transforms messy URLs into clean, readable Markdown links when you paste them into Obsidian.

📖 Overview

URL Formatter helps you maintain clean and organized notes by automatically converting long, complex URLs into concise Markdown links based on customizable patterns.

💡 The Problem

Constantly pasting long URLs like this into your daily notes:

https://your-company.atlassian.net/browse/PROJ-12345

✨ The Solution

This plugin automatically formats them into clean links:

[PROJ-12345](https://your-company.atlassian.net/browse/PROJ-12345)

Or even:

[Jira: PROJ-12345 (your-company)](https://your-company.atlassian.net/browse/PROJ-12345)

[!TIP] Perfect for anyone who frequently pastes URLs containing meaningful identifiers (like Jira tickets, blog posts, documentation pages) into their vault!

🎯 Usage Examples

Here are practical examples showing how to configure patterns and their outputs:

Example 1: Jira Ticket Formatting

SettingValue
Pattern NameMy Jira Tickets
Regular Expressionhttps:\/\/yourcompany\.atlassian\.net\/browse\/([A-Z0-9-]+)
Output Format$1

Input:

https://yourcompany.atlassian.net/browse/PROJ-4567

Output:

[PROJ-4567](https://yourcompany.atlassian.net/browse/PROJ-4567)

Example 2: Blog Posts with Year & Slug

SettingValue
Pattern NameMy Blog Posts
Regular Expressionhttps:\/\/www\.example\.com\/blog\/(\d{4})\/([a-zA-Z0-9_-]+)
Output FormatBlog ($1): $2

Input:

https://www.example.com/blog/2023/my-awesome-article

Output:

[Blog (2023): my-awesome-article](https://www.example.com/blog/2023/my-awesome-article)

Example 3: Documentation Pages

SettingValue
Pattern NameSpecific Docs Page
Regular Expressionhttps:\/\/docs\.mycompany\.com\/pages\/([a-z0-9-]+)
Output FormatDocs: $1

Input:

https://docs.mycompany.com/pages/getting-started

Output:

[Docs: getting-started](https://docs.mycompany.com/pages/getting-started)

☕ Support

Coffee is life and it sure helps me keep going!

Buy Me A Coffee

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.

URL Formatter | SimilarPlugins