BANGKOK—Thailand's armed forces declared martial law early Tuesday, saying the move was intended to curb the country's sometimes violent political conflict and wasn't a coup d'état.

Army chief Gen. Prayuth Chan-ocha issued a pair of statements at 3 a.m. and later appeared on television to say that martial law was necessary across the country to address the worsening security situation. The army later said it would censor media it...