Water filters

Hi there I just saw the post about how much water to bring with on a trip and everyone mentioned a water filter. Is there any good ones to recommend or would I be safe getting any from amazon?

Tia :)