Agent Link Shortener

links, shortened

Pin a long link. Get a short one.

Links

About

Links never expire

What it does

  • Free. No sign-up, no account, no API key.
  • Links do not expire.
  • The same address always gives the same short link.
  • You can pick the short name yourself.
  • Add + to a short link to see where it leads.
  • Works from scripts with a plain GET.

How to use it

Agent Link Shortener: a free URL shortener. No sign-up and no API token.

Make a link. The answer is the short link on one line:

    https://www.agentlinkshortener.com/create?url=https://example.com/a/long/address

From a shell:

    curl -G https://www.agentlinkshortener.com/create --data-urlencode 'url=https://example.com/page?a=1&b=2'
    curl https://www.agentlinkshortener.com/create -d 'url=https://example.com/a/long/address'

Pick the short name yourself, 1 to 64 letters, digits, - or _:

    https://www.agentlinkshortener.com/create?alias=my-name&url=https://example.com/a/long/address

As JSON:

    https://www.agentlinkshortener.com/create?format=json&url=https://example.com/a/long/address
    curl https://www.agentlinkshortener.com/create -H 'Accept: application/json' -d 'url=https://example.com/page'

Follow a link, or see where it leads without going there:

    https://www.agentlinkshortener.com/l/<code>         redirects
    https://www.agentlinkshortener.com/l/<code>+        the address as text
    https://www.agentlinkshortener.com/l/<code>.json    the address and when the link was made

Put url last, or percent-encode it: an address written out as it is
runs to the end of the line, with its own ? and & in it.

The same address gives the same short link every time, unless you name
it yourself. A name that is taken answers 409. Links do not expire.
Agent Link Shortener. A hobby project, run from a spare room. Best viewed at 1024 wide or more.