YOURLS version 1.7.1 is available. Please update!
No, anyone can shorten URLs anonymously. However, to see the access statistics of your short URLs, an account is required. You can sign up for free here.
If you register, you will have access to a convenient user interface. It allows to shorten URLs, of course, and also to list the short URLs for all URLs you ever shortened. You can share short URLs on here.
Yes, this is possible: simply stay logged in while using the bookmarklets. You can close the browser's tab after logging in. The state of being logged in is stored in a cookie. Only when you log out again, this cookie is removed immediately.
"rncht"! Is that normal?
Indeed. It's intented since Base 36 is used (see above). Letters that don't belong to the character set, eg
ABC, are removed.
The crnch.it shortener comes with handy bookmarklets for easier link shortening and sharing. You will find them on the start page (just click the 'Bookmarklets' button).
https://, as this does not work.
If you select text on the page you're viewing before clicking on the bookmarklet link of the
you can share the marked text as a description along with the link you're shortening.
You need to send parameters to
/yourls-api.php either via
POST (remember to URL encode parameters if via GET). These parameters are:
passwordpair, or your
"shorturl"(get short URL for a link),
"expand"(get long URL of a shorturl),
"url-stats"(get stats about one short URL).
titlefor custom short URLs
shorturlto expand (can be either
shorturlfor which to get stats (can be either
actionwithout giving a
passwordcombination, or your
token. In this case, the generated short URL will not get attached to any account.
passwordcombination, or to your
token, an error code will be returned.
<?xml version="1.0" encoding="iso-8859-1"?> <result> <url> <keyword>shorter</keyword> <url>http://longurlyouneedtoshrink.com/</url> <title>The Page Title</title> <date>2009-06-23 18:08:07</date> <ip>127.0.0.1</ip> </url> <status>success</status> <message>http://longurlyouneedtoshrink.com/ (ID: shorter) added to database</message> <title>The Page Title</title> <shorturl>http://yoursite.com/shorter</shorturl> <statusCode>200</statusCode> </result>