Take the 2-minute tour ×
Stack Apps is a question and answer site for apps, scripts, and development with the Stack Exchange API. It's 100% free, no registration required.

Does this exist? Or it is again just the "suggested size" with no hard limits? Im trying to figure out how to best store them in a database.

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

Tags on the sites are, at most, 25 characters.

Permitted characters are a-z 0-9 + # - .

However, this is not part of the API contract insofar as if the site definition of a tag changes so will the API's. It is advisable, for correctness, to have a code path to handle tags > 25 characters in length. Simplest would be to truncate them.

All that being said, there are no plans to change tag lengths at this time.

share|improve this answer
add comment

You must log in to answer this question.

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