Managed hosting for YOURLS

managed YOURLS, zero setup

A managed YOURLS you can call today.

$ curl "/api/links?format=html&url=https://example.com/launch" # same address, same short link # add + to see where a link leads # links do not expire

Use it from a script

Send the long URL as a plain GET and read the answer.

YOURLS Hosting: a free URL shortener. No sign-up and no API token.

Make a link. The answer is JSON and the short link is in "shorturl":

    https://www.yourlshosting.com/api/links?url=https://example.com/a/long/address

From a shell:

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

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

    https://www.yourlshosting.com/api/links?slug=my-name&url=https://example.com/a/long/address

As one line of text:

    https://www.yourlshosting.com/api/links?format=text&url=https://example.com/a/long/address

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

    https://www.yourlshosting.com/<code>         redirects
    https://www.yourlshosting.com/<code>+        the address as text
    https://www.yourlshosting.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.

Trusted by teams at

Everything a short link should do

And nothing you have to set up first.

Pick your own short name

Give the link a name you can read out loud, or leave the field blank.

Same address, same link

Send the same long URL twice and you get the same short link back.

Works from a plain GET

Scripts call one address with format=html and read the answer. No API key, no SDK.

Simple pricing

Free to start. Paid plans are on the way.

Free

$0 / month
  • Short names you pick
  • Links that do not expire
  • Plain GET from scripts
Start for free
Most popular

Team

$12 / month
  • Everything in Free
  • Shared with your team
  • Priority support
Join the waitlist

Business

$39 / month
  • Everything in Team
  • Your own domain
  • Invoiced billing
Join the waitlist

“Set it up in an afternoon and have not had to think about it since.”

Name Surname