About ngrok
ngrok is a commercial service that creates secure public endpoints for software running on a laptop, server or private network. Developers commonly use it to share a local web app, test webhooks locally, or expose a service to teammates without opening firewall ports.
The product has expanded into a gateway for delivering and securing traffic. Listed uses include sharing localhost, testing webhooks, connecting local MCP servers, routing traffic to self-hosted AI models, running preview and CI workloads, delivering and securing APIs, reaching customer networks and on-premises databases, connecting device fleets, and opening SSH and RDP sessions. There is also an AI Gateway for working with AI models.
ngrok is delivered as a hosted, proprietary service with a downloadable agent, docs, an API and a pricing page. It suits developers, DevOps teams and companies that need quick, secure tunnels and traffic management without building their own ingress infrastructure.
Key features
- Public URLs for local applications
- Local webhook testing
- Traffic gateway for APIs
- AI Gateway for model traffic
- Private connectivity to on-premises systems
- SSH and RDP access through tunnels
- Downloadable agent and API
Good fit for
- →Sharing a local app with teammates
- →Testing webhooks during development
- →Exposing on-premises services securely
- Tags
- tunneling
- localhost
- webhooks
- api-gateway
- developer-tools
- networking
ngrok: questions and answers
- What is ngrok used for?
- ngrok is developer infrastructure that exposes local apps and APIs to the internet and routes and secures traffic to services wherever they run. It is a good fit for sharing a local app with teammates, testing webhooks during development and exposing on-premises services securely.
- Is ngrok free?
- Yes. ngrok has a free plan, and paid plans start at $10 per month. A free trial is also available.
- Is ngrok open source?
- No. ngrok is proprietary (closed-source) software and can't be self-hosted. Open-source alternatives to ngrok include Zrok, Rathole and frp.
- What are some alternatives to ngrok?
- ngrok competes with Cloudflare Tunnel, Tailscale and Hookdeck. For open-source options, see Enlisted's ranked list of open-source ngrok alternatives.
Open-source alternatives to ngrok
See all
Zrok
Networking & VPN
Secure internet sharing made simple.
Apache-2.0vs ngrok★ 4.7k
Rathole
Networking & VPN
A lightweight and high-performance reverse proxy for NAT traversal, written in Rust. An al
Apache-2.0vs ngrok★ 14kfrp
Networking & VPN
A fast reverse proxy to help you expose a local server behind a NAT or firewall to the int
Apache-2.0vs ngrok★ 110k
OpenZiti
Networking & VPN
The parent project for OpenZiti. Here you will find the executables for a fully zero-trust
Apache-2.0vs Twingate★ 4.4k
Octelium
Networking & VPN
A next-gen FOSS self-hosted unified zero trust secure access platform that can operate as
AGPL-3.0vs Tailscale★ 4.1k
Pangolin
Networking & VPN
Open-source SASE platform providing secure access and connectivity to apps, infrastructure
OSSvs Cloudflare Tunnel★ 23k
SaaS alternatives to ngrok
See all
Cloudflare Tunnel
Networking & VPN
Cloudflare Tunnel securely connects web services and private networks to Cloudflare without opening inbound ports on the origin server.
SaaS
Tailscale
Networking & VPN
Mesh VPN and zero trust network that connects devices without manual configuration
SaaS
Hookdeck
API Tools
Webhook and event gateway for receiving, queuing and retrying webhooks
SaaS
Webhook.site
API Tools
Gives temporary URLs for inspecting and testing incoming webhook requests
SaaS
NordLayer
Networking & VPN
Business VPN and network access security for remote and hybrid teams
SaaS
Twingate
Networking & VPN
Zero trust remote access service positioned as a replacement for business VPNs
SaaS

