If the Wi-Fi router logs the websites visited and you don’t use encryption, the provider may be able to access your browsing history. However, when using a VPN, your internet traffic is encrypted, preventing the Wi-Fi provider from viewing your browsing history.