There is a link to refer to a Stack Overflow question, but does SO provide a shortened URL?

migrated from stackoverflow.com Jan 18 '13 at 18:58

This question came from our site for professional and enthusiast programmers.

  • 1
    http://stackoverflow.com/q/14405584 What is "SF" though? – user159834 Jan 18 '13 at 18:52
  • @WesleyMurch Server Fault? – Bart Jan 18 '13 at 18:59
  • 1
    Funny I just noticed today Amazon has a short url. Like amzn.com/B0028BDM72 It would be COOL if the share button on StackOverFlow sites could emit something like stkovrflw.com/q/2574 This makes is easy to consume these urls into mobile devices – Mr. Young Jan 18 '13 at 23:43

You can remove the whole part after the question ID (in the case of this question, the /is-there-a-way-to-shorten-the-stack-overflow-urls).

The longer, more manual way:

The formula for shortening a question is sitename + .com/q/ + question id

This question's full URL is http://meta.stackexchange.com/questions/164194/is-there-a-way-to-shorten-the-stack-overflow-urls

The shortened version is http://meta.stackexchange.com/q/164194.

Similarly, you can do this with any other site in the SE network:




The fewer-things-to-delete way:

Use the "share" link underneath any question or answer. The URL you see in the pop-up follows the formula above, but it appends your user ID to the end (so that you can get badges like Announcer). You can copy & paste the whole URL in the "share" box, or strip your user ID from the end. Either way, it's short.

enter image description here

  • And if you're not logged in the "share" link doesn't even have a user ID to delete. – Servy Jan 18 '13 at 19:36

Some StackExchange general and community pages can be reached by STK's own URL shortener, http://s.tk/. (see What shortened URLs are available through s.tk?)

For questions, however, this seems not to work.


You could always use http://tinyurl.com/ if you want to shorten a URL for sharing.

If you want to name your url w/ Markdown you can always use brackets: [Linking in StackOverflow] (https://stackoverflow.com/editing-help#links)

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .