YOURLS Host

this host runs YOURLS

Default page for this host, plus one thing that works.

Welcome to your new hosting account

If you are the owner of this account, you can replace this page by uploading your own index.html file to the public_html folder. Until then, this page is shown to everyone.

Account created: 03 Nov 2006

Make a short link

Long address:
Short name (optional):

Usage

YOURLS Host: 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.yourlshost.com/api.php?url=https://example.com/a/long/address

From a shell:

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

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

    https://www.yourlshost.com/api.php?alias=my-name&url=https://example.com/a/long/address

As JSON:

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

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

    https://www.yourlshost.com/<code>         redirects
    https://www.yourlshost.com/<code>+        the address as text
    https://www.yourlshost.com/<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.
Need help? The usage notes are in the help section, and the same text is on the usage page. Links do not expire.

Replace this text with your own content. Edit index.html to change this page.