Skip to content

Why does Twitter limit to 140 characters?

2 pointsgcao4 comments
On HN

I wonder how they came up with that number. Is that the size of one TCP/UDP packet or what?

Comments

SMS/text message length, minus the site identifier; lets people use the service via cellphone. As for why text messages are restricted to that length, word is that the guy who developed the first system felt 160 characters was plenty for most communication needs, based on the average length of a random sample of sentences and considering the tedium of having to enter the message via the 12 buttons of a then-typical telephone keypad.

So ultimately, it's arbitrary but practical.

gcaoOP

Thank you!

It's based on SMS [0], the standard that allows telephones to receive text messages. The message size in SMS is limited to 1120 bits, which works out to 140 8-bit characters (or 160 7-bit characters.) One of twitter's design goals was to be usable from the broadest set of mobile devices possible.

[0] http://en.wikipedia.org/wiki/SMS

gcaoOP

That sounds a good reason. Thank you!

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.