at random

[at random] {adv. phr.} With no order, plan, or purpose; in a mixed-up, or thoughtless way.

He opened the letters at random.

His clothes were scattered about the room at random.