Thailand is actually quite conservative with its values. When you go to Thailand, please dress neatly, don't go shirless, or in shorts, pants, or other unsuitable attire.

If you look at the Thais around you, you'll see the way they would prefer you to be dressed-which, in fact, is probably not very different from the way you'd dress in similar place back home.