Quick verdict
- Pick ngrok if: Devs who want a one-command public HTTPS URL with a built-in webhook request inspector.
- Pick Cloudflare Tunnel if: Self-hosters exposing homelab services on custom domains with free TLS and Zero Trust access policies, no open router ports.
What actually differs
| Deciding row | ngrok | Cloudflare Tunnel |
|---|---|---|
| Open source | No | Yes |
| License | Proprietary | Apache-2.0 (cloudflared client) |
| Pricing | Free limited tier; Personal from $8/mo | Free (with Cloudflare DNS) |
| Platforms | macOS, Windows, Linux, Docker | Linux, macOS, Windows, Docker |
| Stack / footprint | Go agent + managed edge | Go (`cloudflared`) + Cloudflare edge |
The catches
- Skip ngrok if: You hit bandwidth/interstitial limits on the free tier or want to self-host tunnels on your own VPS.
- Skip Cloudflare Tunnel if: You don't want Cloudflare terminating TLS on your traffic or hosting your DNS.