Extension Icon

URL Editor Pro

Parses any URL—including custom schemes—into its components, lets you edit each part. Easily copy the modified URL, save to history or generate a QR code for quick sharing.
AvatarCoyote
97 Installs
Overview

URL Editor Pro

A productivity-focused Raycast extension for parsing, editing, and managing URLs with advanced features like query parameter editing, QR code generation, clipboard integration, URL template variants, and custom aliases for easy recall.

Features

  • URL Parsing & Editing
    Instantly parse and edit any URL. Modify protocol, host, path, hash, and query parameters in a user-friendly form.

    • Shortcut: Enter to parse and edit the current input URL.
  • Query Parameter Management
    Add, edit, or remove query parameters with ease.

    • Shortcut: Cmd + Shift + A to add a new query parameter.
  • URL Template Variants ⭐ New
    Generate multiple URL variants from a single URL using customizable templates. Perfect for quickly navigating to parent paths, removing query parameters, or creating shortened URLs.

    • Shortcut: Cmd + Shift + V to generate URL variants.
    • Shortcut: Ctrl + Shift + T to manage template groups.
  • Alias Support
    Assign a memorable alias to any URL for quick recall and search in your history.

    • Field: Alias can be set in the edit form.
  • History with Search
    All parsed URLs are saved in a searchable history. Search by URL or alias.

    • Shortcut: Cmd + Backspace to clear all history.
    • Shortcut: Cmd + Delete to delete a single history item.
  • Clipboard Integration
    Detects URLs in your clipboard and prompts you to parse and edit them with a single keystroke.

    • Shortcut: Cmd + Enter to fill and parse the detected clipboard URL.
  • QR Code Generation
    Generate and save QR codes for any URL.

    • Shortcut: Cmd + Shift + C to copy the URL.
    • Shortcut: Cmd + Shift + P to save/pin to history.

Setup

No API keys or external configuration required. Just install and use!

Usage

  1. Paste or type a URL in the search bar.
  2. Press Enter to parse and edit the current input URL.
  3. Edit any part of the URL, including query parameters.
  4. Press Cmd + Shift + A to add a new query parameter.
  5. Add an alias (optional) to make the URL easy to find later.
  6. Press Cmd + Shift + P to save/pin to history.
  7. Search your history by URL or alias.
  8. You can clear all history, or delete a single item.
  9. Generate a QR code for any URL and save it to your computer.
  10. Clipboard detection: If a URL is detected in your clipboard, you'll be prompted to parse and edit it. Press Cmd + Enter to fill and parse.

Extension Guidelines

  • All user data (URLs, aliases) is stored locally and never shared.
  • No external services or credentials are required.
  • The extension is designed for productivity and respects Raycast's community guidelines.

Template Variables

Templates use Mustache-style {{variable}} syntax to generate URL variants.

Basic Variables

VariableDescriptionExample Output
{{url}}Full original URLhttps://github.com/raycast/extensions?tab=readme
{{protocol}}Protocolhttps
{{host}}Hostnamegithub.com
{{hostname}}Hostname (alias)github.com
{{port}}Port number8080 (empty if none)
{{path}}Full path/raycast/extensions
{{query}}Query string (with ?)?tab=readme
{{hash}}Hash/anchor (with #)#installation

Path Level Selection

Use {{path:N}} to select path segments. Supports both positive and negative indices (Python-style):

Original path: /raycast/extensions/pull/aabbcc (4 segments)

Positive indices (from start):
{{path:1}}  → /raycast
{{path:2}}  → /raycast/extensions
{{path:3}}  → /raycast/extensions/pull
{{path:4}}  → /raycast/extensions/pull/aabbcc

Negative indices (from end):
{{path:-1}} → /raycast/extensions/pull/aabbcc (full path)
{{path:-2}} → /raycast/extensions/pull        (remove last 1)
{{path:-3}} → /raycast/extensions             (remove last 2)
{{path:-4}} → /raycast                        (remove last 3)

Path Hierarchy Expansion ⭐

Use {{path:*}} to automatically expand into multiple URLs, from the first segment to the full path:

Template:

{{protocol}}://{{host}}{{path:*}}

Input: https://github.com/raycast/extensions/pull/aabbcc

Output (4 URLs):

https://github.com/raycast
https://github.com/raycast/extensions
https://github.com/raycast/extensions/pull
https://github.com/raycast/extensions/pull/aabbcc

Template Examples

TemplateEffect
{{protocol}}://{{host}}Domain only
{{protocol}}://{{host}}{{path}}Remove query and hash
{{protocol}}://{{host}}{{path:2}}Truncate to first 2 path segments
{{protocol}}://{{host}}{{path:*}}Generate all path hierarchy variants
{{protocol}}://another.host{{path:*}}Replace any part in your URL

Contributing

Contributions and feature requests are welcome! Please open an issue or pull request.