How do people know their tap water is safe?

If bottled water companies have succeeded in making us doubt the tap water in our houses, how can a normal person actually check whether their own tap water is safe? If I can't measure my water, I will likely follow the advice of the bottled water companies and by bottled water to be safe.