Fast & Free URL Shortener

Shorten. Track. Analyze.

Create short links with custom slugs, password protection, expiry dates, and detailed click analytics — all from a clean dashboard.

Everything you need

A complete URL shortener with powerful features built in.

Custom Slugs

Choose your own short URL slug or let us generate one. Simple, memorable, and shareable.

Click Analytics

Track every click with detailed analytics — referrer sources, geographic data, device info, and time trends.

Password Protection

Protect sensitive links with a password. Set expiry dates and maximum click limits for extra control.

API Access

Integrate with your workflow using our REST API. Create and manage short links programmatically.

API Reference

Create short links programmatically with a simple REST API.

Create a short link

curl -X POST https://link.penhu.xyz/api/links \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "url": "https://example.com/very-long-path",
    "slug": "my-link",
    "title": "My Custom Link"
  }'

List all links

curl https://link.penhu.xyz/api/links \
  -H "Authorization: Bearer YOUR_API_KEY"

Get link analytics

curl https://link.penhu.xyz/api/analytics/LINK_ID \
  -H "Authorization: Bearer YOUR_API_KEY"