xurls
« Back to VersTracker
Description:
Extract urls from text
Type: Formula  |  Latest Version: 2.6.0@0  |  Tracked Since: Oct 10, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: cli url extraction text-processing go
Install: brew install xurls
About:
xurls is a command-line utility that extracts URLs from plain text input. It scans text from standard input or files and identifies both strict patterns like https://example.com and relaxed patterns like example.com. The tool is particularly useful for processing logs, documents, or any text where URLs need to be isolated automatically.
Key Features:
  • Supports both strict (scheme-required) and relaxed (scheme-optional) matching modes
  • Efficient Go-based implementation for fast processing of large text volumes
  • Handles common URL formats including HTTP, HTTPS, FTP, and mailto links
  • Simple CLI interface that pipes seamlessly with other Unix tools
  • Zero dependencies for easy installation and deployment
Use Cases:
  • Extracting all links from server logs or application output for analysis
  • Harvesting URLs from documents or web pages for bookmarking or archiving
  • Parsing text-based data files to isolate web references for ETL pipelines
  • Quickly finding URLs in terminal output during debugging or security audits
Alternatives:
  • grep – Uses regex patterns but requires manual expression crafting and lacks URL-specific parsing
  • urlview – Interactive link selector for terminal, focuses on UI selection rather than batch extraction
Version History
Detected Version Rev Change Commit
Oct 10, 2025 7:24pm 0 VERSION_BUMP 59a629cf