u4

Short links.

Paste a long link, get a short one. No account needed.

FastRedirects from Cloudflare's edge
QR codesEvery link gets one
FreeAnonymous links don't expire
How it works

Redirects run on the edge

Each short link is stored in Cloudflare KV at every location. A click hits the nearest one and gets a 302 back. There's no server in the middle.

Click stats

Clicks per day, country, referrer, phone or desktop. Counting happens after the redirect is sent, so it doesn't slow anyone down.

An API, if you want one

Make a token and create links from curl, a script, or Zapier. Bulk create, stats and CSV export are in there too.

For LLMs and agents

Point your agent at llms.txt

One page with every endpoint, the error codes and the slug rules. There's an OpenAPI spec too. Paste this to get going:

llms.txt →

Read https://u4.nz/llms.txt, then create a short link
and reply with just the short URL, using these parameters:

api: u4_…
url: https://example.com/some/long/page

Developer API

Works with curl

Make a token in your dashboard. Send form data or JSON, get JSON back.

API docs →

$ curl -X POST https://u4.nz/api/links \
    -H "Authorization: Bearer $U4_TOKEN" \
    -d url=https://example.com/launch -d slug=launch

{
  "slug":  "launch",
  "short": "https://u4.nz/launch",
  "qr":    "https://u4.nz/launch.qr.svg"
}