URL Shortener with Analytics
The URL Shortener turns any long link into a clean, shareable short URL hosted at tools.shafyha.com/r/your-slug.
Free Tier
Free accounts get 10 active links at a time with a 24-hour expiry. Good for testing and sharing temporary links.
Starter and Pro Plans
Paid plans remove the link limit and expiry restriction. You also get:
- Custom slugs — choose exactly what comes after
/r/ - Click tracking — see how many times each link was clicked
- Link management — edit, expire and delete links from your dashboard
For Developers
The URL Shortener API accepts a POST request with a URL and optional custom slug and returns the short URL. Integrate link shortening directly into your apps, bots and scripts.
curl -X POST https://tools.shafyha.com/api/tools/shorten \\
-H "Authorization: Bearer YOUR_API_KEY" \\
-H "Content-Type: application/json" \\
-d '{"url": "https://your-long-url.com/very/deep/path"}'
The response includes the short URL, slug, original URL and expiry date.