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
|
| Detected |
Version |
Rev |
Change |
Commit |
| Oct 10, 2025 7:24pm |
|
0 |
VERSION_BUMP |
59a629cf |
| Sep 18, 2023 4:59pm |
|
0 |
VERSION_BUMP |
169a80b5 |
| Apr 17, 2023 3:10am |
|
0 |
VERSION_BUMP |
a4580711 |
| Mar 18, 2023 10:07pm |
|
0 |
NEW |
6db9e919 |
| Mar 18, 2023 10:07pm |
|
0 |
VERSION_BUMP |
69727cca |
|