Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Take a recent question:


Instead of having an integer, if we base 36 encode the question ID we get 3uvtn, cutting the length of the integer by 2:


The benefits seem a lot more worthwhile on smaller numbers:




This is more of a theoretical/curiosity question than one I'm seriously considering implementing. Thoughts?

share|improve this question
Reddit already uses this type of encoding. – Kevin Reid Jul 22 '11 at 18:48
up vote 4 down vote accepted

Shorter URLs don't have any benefit in achieving rankings in Google - if the URL is under 1024 characters you'll be fine - but it can have a big impact on the click-through rate from Google SERPs to your site. Especially now that URLs are shown directly below the page title in Google's search snippet.

So yes anything you can do to make your URL a wee bit shorter, but maintaining its human-readability, is a good thing.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.