Overwhelmingly, research that’s relevant to human eating patterns shows us that E171 is safe when ingested normally through foods and drugs (1,2).
Some food products will include titanium dioxide on their nutrition label. But again, it can be hard to tell for those who don't list the ingredient.