Is cloudy urine a UTI or kidney infection?

Possibly. Cloudy urine by itself is not likely to be an infection. If you have fever, pain above your pubic bone or along your flanks, burning when you pee, or you are going more often then it might be. See a provider if you have any of these other symptoms.