Free & No Signup Required

Shrink any link
in seconds

Paste a long URL and get a clean, shareable short link instantly. Powered by onoe.in.

By using this service you agree not to shorten spam or malicious URLs.

Links Shortened
5ms
Avg. Redirect Speed
99.9%
Uptime
Free
Forever

Everything you need

Instant Shortening
Paste, click, done. Get a short link in under a second — no account needed.
📊
Click Analytics
Every link tracks clicks so you can measure reach and engagement over time.
🔌
Developer API
Integrate link shortening into your app with our simple REST API. One POST call is all it takes.
🔑
Custom Codes
Choose your own short code via the API. Make links like onoe.in/g?launch.
Expiring Links
Set a TTL on links via the API. Useful for time-limited offers or one-time use links.
🛡️
Rate Protected
Built-in rate limiting protects the service from abuse and keeps it fast for everyone.

API Reference

All API requests require an X-API-Key header or api_key body parameter. Contact admin@onoe.in to get a key.
POST https://onoe.in/api.php?action=shorten

Shorten a long URL. Optionally specify a custom code and/or expiry.

ParameterTypeRequiredDescription
urlstringrequiredThe long URL to shorten
api_keystringrequiredYour API key (or use X-API-Key header)
custom_codestringoptionalDesired short code (3–20 chars, alphanumeric)
ttl_daysintegeroptionalDays until the link expires
# Example Request
curl -X POST https://onoe.in/api.php?action=shorten \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://example.com/very/long/url/here"}'

# Response
{
  "success": true,
  "short_url": "https://onoe.in/g?JxkwE",
  "code": "JxkwE",
  "long_url": "https://example.com/very/long/url/here"
}
GET https://onoe.in/api.php?action=stats&code=CODE

Retrieve click statistics for a short link.

# Example Request
curl "https://onoe.in/api.php?action=stats&code=JxkwE" \
  -H "X-API-Key: YOUR_API_KEY"

# Response
{
  "success": true,
  "stats": {
    "code": "JxkwE",
    "short_url": "https://onoe.in/g?JxkwE",
    "long_url": "https://example.com/very/long/url/here",
    "clicks": 142,
    "created_at": "2025-01-15 10:30:00",
    "expires_at": null
  }
}
JS JavaScript / fetch() example
async function shortenUrl(longUrl, apiKey) {
  const res = await fetch('https://onoe.in/api.php?action=shorten', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
      'X-API-Key': apiKey
    },
    body: JSON.stringify({ url: longUrl })
  });
  const data = await res.json();
  if (data.success) {
    console.log('Short URL:', data.short_url);
  }
}

shortenUrl('https://your-long-url.com/path', 'YOUR_API_KEY');