Text size: A A A
Crest of the Eastfield Community Network

Public URL Shortener

a public service for shorter addresses

Provided free of charge for the public.
You are here: Home > Online services > Public URL Shortener

In this section

Public URL Shortener - a public service for shorter addresses

Welcome to Public URL Shortener, a public service for shorter addresses. Enter the web address you want to shorten below.

Make a short address



Using the service

The guide below is the same as the one on the full guide page. Programs and people can both read it.

Public URL 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.publicurlshortener.com/new?url=https://example.com/a/long/address

From a shell:

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

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

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

As JSON:

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

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

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

What the service does

Did you know?

The same long address always gives the same short link, so you never need to keep a record of the ones you have made.