The simplest, fastest, and most reliable free URL shortening API.
No API key • No rate limits • No signup required
Just append your long URL after ?url= — that's it!
{
"success": true,
"short_url": "https://sshortly.sbs/abc123xy",
"long_url": "https://example.com/very/long/url",
"created_at": "2025-11-30T12:34:56Z"
}
Error example:
{
"success": false,
"error": "Invalid URL. Please include http:// or https://"
}
| Parameter | Required | Description |
|---|---|---|
url |
Yes | Your full long URL (must include http:// or https://) |
fetch("https://sshortly.sbs/api.php?url=" + encodeURIComponent("https://google.com"))
.then(r => r.json())
.then(data => console.log(data.short_url));
import requests
url = requests.get("https://sshortly.sbs/api.php?url=https://github.com").json()
print(url["short_url"])
curl "https://sshortly.sbs/api.php?url=https://youtube.com/watch?v=dQw4w9WgXcQ"
$short = file_get_contents("https://sshortly.sbs/api.php?url=https://laravel.com");
echo json_decode($short)->short_url;
<a href="https://sshortly.sbs/api.php?url=https://example.com">Shorten This</a>
=IMPORTXML("https://sshortly.sbs/api.php?url=https://example.com", "//short_url")
Just call it. No signup. No headers.
Global CDN + multiple redundant servers
All requests and redirects are encrypted
Links never expire or break
We do not enforce any hard rate limits. However, please be reasonable:
Need higher volume? Email us at api@sshortly.sbs — we’ll whitelist you instantly.