Securely expose a web server on localhost to the internet, even from behind a NAT or firewall, with secure tunnels.
Stop context switching and turn “how do I trigger that webhook again?” into a single click to replay.
The ngrok agent on your local machine creates a secure outbound tunnel to ngrok's cloud service.
Give your local app a public URL to work with collaborators directly from your dev machine, then protect it with auth.
Send webhooks to your local machine to inspect, debug, and iterate. We'll even verify signatures with your signing key.
Let cloud LLMs pull data from your local machine. Debug MCPs with exact request payloads and hit replay to iterate quickly.
Configure your app to use the ngrok URL that points at your local backend—it won’t change between home, work, or a coffee shop.
ngrok is a standalone executable with zero runtime dependencies that works on every OS.
That’s it! You didn’t need to open ports, provision a TLS certificate, or run your own reverse proxy.
Instead of sharing localhost with the whole internet, lock it down to just the people or requests you authorize.
Developing on databases, Kafka, gRPC, WebSockets, WebRTC, SSH? If it speaks TCP, you can go online in one line.
The ngrok agent also comes as Docker container, Docker Desktop extension, and Kubernetes Ingress + Gateway controller. Or embed ngrok in your app with native SDKs.
Create a DNS CNAME record to use your own domain name for your endpoint URL.
Does your app have multiple subdomains? No problem, handle traffic for all of them with a single command.
Automate your dev environment by importing ngrok into your scripts to control it programmatically. See our SDK docs.
Add headers, rewrite URLs, redirect paths and replace body text. All without changing your code.
Get a public URL for localhost in less time than it took you to read this page. Just like 15.3 million other devs .
ngrok is so effing amazing
Spent 3 hours looking for a good ngrok alternative. Let me save you some time: there isn’t a better ngrok alternative.
OMG life changer. I can’t imagine how I lived without ngrok.
ngrok is so useful that I actually enjoy paying for it.
Holy smokes, ngrok is incredible. This is going to change my workflow forever.
ngrok is genius, replaying requests makes webhooks 1M times easier to handle.
No need to “upgrade” to a hodgepodge of ELBs, NLBs, firewall rules, DNS updates, nginx configs, and Cloudflare.