CLI tool to check URLs for redirects, security threats, and more.
Check any link for redirects, HTTP status, final destination, phishing, malware, and more — right from your terminal.
🔍 Powered by Google Safe Browsing — the same protection used by Chrome, Firefox & Safari.
npm install -g drurl-cli# Check a URL
drurl google.com
drurl https://bit.ly/example
drurl "https://example.com/path?query=1"
# Help
drurl --help
# Version
drurl --version🔗 URL Redirection Report
────────────────────────────────────────────────────────────
📎 bit.ly/example
📍 Redirect Chain
↪️ https://bit.ly/example
301 Moved Permanently ⏱️ 125ms
✅ https://example.com
200 OK ⏱️ 89ms
────────────────────────────────────────────────────────────
📊 Summary
• Redirects: 1
• Total Time: 214ms
• Final Status: 200
• 🔒 HTTPS
🟢 Health: 100/100 Excellent
██████████
✅ SAFE — No threats detected
Advisory by Google Safe Browsing
────────────────────────────────────────────────────────────
📍 Scanned as Chrome 124 from 🇳🇱 Amsterdam
🌐 More details at redirectchecker.com
| Feature | Description |
|---|---|
| 🔗 Redirect Chain | See every hop from start to final destination |
| 🛡️ Security Check | Google Safe Browsing detection for malware, phishing, unwanted software |
| ⏱️ Response Times | Per-hop and total response times |
| 📊 Health Score | 0-100 score based on status codes, redirects, speed, and threats |
| 🔢 Exit Codes | 0 = safe, 1 = error, 2 = threat detected (useful for scripts) |
| Code | Meaning |
|---|---|
0 |
✅ Success, URL is safe |
1 |
❌ Error (network, invalid URL, etc.) |
2 |
🚨 Threat detected (phishing, malware, etc.) |
drurl suspicious-link.com
if [ $? -eq 2 ]; then
echo "⚠️ Threat detected!"
fiCheck links directly in Telegram: @DrURLbot
Just type @DrURLbot https://example.com in any chat to check a link inline.
Full-featured web interface at RedirectChecker.com
This CLI uses the RedirectChecker.com API.
MIT © RedirectChecker.com
- 🌐 Website: redirectchecker.com
- 🤖 Telegram Bot: @DrURLbot
- 🐛 Issues: GitHub Issues
- ⭐ Star on GitHub: github.com/haseebalam/DrURL
